Category: Automation

Automating Google

October 3, 2013 by Marcus Tettmar in Automation, Scripting

This has come up a few times lately so I thought I’d post it here. One or two people have been asking about writing a Macro Scheduler script that performs a Google search and pulls back the resulting URLs. They have discovered that trying to automate Google can be awkward because of the dynamic nature […]

Read more »

Macro Scheduler in the Winter Olympics

September 26, 2013 by Marcus Tettmar in Announcements, Automation, Macro Recorder

Macro Scheduler on Skis? No, not exactly. But your favourite automation software and macro recorder will apparently be helping behind the scenes at the Winter Olympics next year in Sochi. I received this message from Stefano Frattini, DT Manager at Olympic Broadcasting Services SL, yesterday: You’ll be happy to know that a small Macro Scheduler […]

Read more »

50% Off Software Test Automation eCourses

September 20, 2013 by Marcus Tettmar in Announcements, Automation, Testing

Just a heads up that our friend Randy Rice is currently offering 50% off his most popular Software Test Automation eLearning courses. So if you’re interested in learning about software test automation you can grab yourself a bargain until Midnight Tuesday. Randy’s got the info here.

Read more »

From the Archives: How to Start Writing an Automation Script

July 3, 2013 by Marcus Tettmar in Automation

I’ve decided to go through the blog archives and find posts which are still useful today but might be a bit hidden away. So to get started here’s a post from 2006 which offers some tips on getting started with writing your first automation script: http://www.mjtnet.com/blog/2006/01/17/how-to-start-writing-an-automation-script/

Read more »

Paste Into Object Without Using Keystrokes

April 17, 2013 by Marcus Tettmar in Automation, Scripting

Someone asked today how it might be possible to paste what is in the clipboard into an object using Macro Scheduler without having to use keystrokes. It can be done by sending the WM_PASTE message using the SendMessage API function. Here’s an example: //Sending WM_PASTE to an object causes a clipboard paste, like sending CTRL-V […]

Read more »

Getting Data From Excel Without Office Installed

March 27, 2013 by Marcus Tettmar in Automation, Scripting

In this post from 2008 I demonstrated how to get data from Excel worksheets using Macro Scheduler’s database functions. This works fine if Office is already installed on the PC.   But what if you want to get data from an Excel sheet and the PC you are running on doesn’t have Office installed? Well […]

Read more »

How to tell if the current session is a Remote Desktop session

January 24, 2013 by Marcus Tettmar in Automation, Scripting

Here’s a small piece of code which will tell you whether the current session is a Remote Desktop/Terminal Services session or not: Let>SM_REMOTESESSION=4096 LibFunc>User32,GetSystemMetrics,isRemote,SM_REMOTESESSION If>isRemote>0 MessageModal>Current Session is RDP/Terminal Services Session Else MessageModal>Current Session is Local Session Endif

Read more »

Custom Event Triggers

December 7, 2012 by Marcus Tettmar in Automation, Scripting

Did you know you can make just about any kind of schedule or trigger using Custom Event Triggers? You’ll find the custom trigger option under Macro Properties in the Trigger tab. Parsnipnose3000 has just posted a tip on Custom Event Triggers to the forums, showing how you can have a macro fire based on an […]

Read more »