Archive: September 2010

Making a Dialog or Window Stay On Top

September 16, 2010 by Marcus Tettmar in Automation, Scripting

Edit: 23 March 2011. In Version 12 it is possible to make a dialog stay on top simply by setting the dialog’s FormStyle property to fsStayOnTop. The method outlined in this post is not necessary for v12 dialogs but will remain as it can be used for older versions and the same approach can be […]

Read more »

Macro Scheduler 12.0.8 Update Available

September 15, 2010 by Marcus Tettmar in Announcements

Macro Scheduler 12.0.8 is now available with the following fixes since my last update announcement: Fixed: SCRIPT_FILE / SCRIPT_DIR returning exename/dir when queried in macro called by compiled macro Fixed: Variable Breakpoints not being recognised inside dialog event handler subroutines Fixed: LDblClick / RDblClick not independent of left hand/right hand mouse settings (LDblCLick should always […]

Read more »

Trigger Scripts

September 8, 2010 by Marcus Tettmar in Automation, Scripting

Macro Scheduler has a number of scheduling features to allow you to specify when a macro should fire. One of these mechanisms is called a Trigger. There are several trigger types: Window Event File Event Folder Event Custom Event A Window Event can be set to fire when a specified window appears or disappears. Similarly […]

Read more »

Don’t Overwhelm your Target!

August 24, 2010 by Marcus Tettmar in Automation, Scripting

When sending keystrokes to other applications remember that Macro Scheduler works much faster than a human being can type. Many applications do form field verification or background processing on the fly as the text is received. And most applications were designed on the assumption that a human being would be operating them. It may not […]

Read more »

Macro Scheduler 12.0.6 Update Available

August 6, 2010 by Marcus Tettmar in Announcements

Macro Scheduler 12.0.6 is now available with the following fixes: Added: SetDialogObjectFont can now ADD a style to the font (subsequent calls with a different style value will apply that value to whatever the existing style is (e.g. Bold, then Italic) Added: WIN_SLEEP option can be set to 1 to cause WaitWindowOpen/Closed or OnEvent WINDOW_OPEN/NOTOPEN […]

Read more »

Launching URLs in Default Browser (and a small bug!)

July 14, 2010 by Marcus Tettmar in Automation, Scripting

A quick and easy way to launch a URL in the default web browser is just to use the ExecuteFile command: ExecuteFile>http://www.mjtnet.com/ However, I have recently discovered that ExecuteFile is currently limited to a command line length of MAX_PATH (260 chars) and that if more than 260 chars are passed it will cause Macro Scheduler […]

Read more »