This is the online edition of the Macro Express News email newsletter. You can have future editions delivered directly to your email inbox. Visit the Macro Express News page to subscribe or to view past issues.
Macro Express Pro v 184.108.40.206 is now available from www.macros.com/download. This release of Macro Express Pro contains many enhancements and bug fixes including:
A complete list of changes is available on the Revision History page.
Recently a customer requested “In the Script Editor consider providing a keyboard shortcut to move to the Search for Command field.” We were happy to explain that Macro Express Pro already has a keyboard shortcut for this.
To move to the Command Search type Alt + Down Arrow. Similarly, to move to the List of Commands type Alt + Left Arrow and to move back to the macro edit box type Alt + Right Arrow. These shortcuts are very helpful when creating or editing macros.
View a list of keyboard shortcuts in Macro Express and Macro Express Pro here or in this knowledge base article. The HotKeys for Pause Macro and Abort Macro can be changed via the preferences. HotKeys for the System Macros can be changed via the Macro Properties.
Many programs support special accelerator keys or shortcuts to perform actions. You are probably aware of these that you type every day. For example, <Alt> + F + O * opens a file in Notepad and Word. Using these shortcuts in your macros is more reliable than using mouse movements and clicks. The reason for this is that components often are in different locations depending on the size of an application’s window and its location on the screen. To determine which shortcut keys are available look for underlined characters in menus and on buttons and use those shortcuts in your macros.
When creating a Multiple Choice menu placing an ampersand (&) in front of a character will cause that character to be underlined and, like menus in other programs, will allow you to type <Alt> and the character to choose that menu item. Similarly, depending on the style chosen, popup and floating menu macros will display underlined characters allowing quick access to those options.
“But wait!” you might say, “I don’t see any underlined characters.” This is because, by default, Windows hides the shortcut characters. To display them press and release the <Alt> key.
You can adjust Windows to always display underlined shortcut keys if you do a search for Easy Access Key in Windows and click on “Turn on Easy Access Keys”.
* Note: While accelerator keys or shortcuts are usually documented using uppercase letters (<Alt> + F + O), when using shortcuts in macros, you should use lowercase letters (<Alt>fo). When a macro text types uppercase letters it actually sends something like this: <Alt><Shift Down>fo<Shift Up>. The extra <Shift Down> and <Shift Up> can cause many programs to not correctly recognize the shortcut key sequence.
A user asked “How can we show progress while a long running macro is working?” The answer is to use the Text Box Display command.
The Text Box Display command pops up a box on the screen with text you specify. Macro Express Pro allows you to select the font, size and color of the text displayed. The Update Text Box command allows you to change the content of the text box while a macro is running. The “Show Macro Progress” macro in Macro Express Pro’s samples.mex collection of sample macros demonstrates how this works.
In Macro Express 3 you can also use the Text Box Display command to indicate a macro’s progress. Macro Express 3 does not, however, have the Update Text Box command. To display progress your macro will need to close a text box and open a new one with updated text. Care must be taken to ensure that this does not affect how the macro interacts with the application being automated.
One of the easiest ways to create a macro is to record or capture your actions. We frequently are asked questions about capturing a macro. Here are a few basic tips to consider.
Review the default settings used when Capturing. For Macro Express 3 click Options, Preferences, Capture. For Macro Express Pro click Options, Preferences, General and click on the Capture tab.
Keep these tips in mind while you are capturing a macro:
For more hints about capturing a macro we suggest you read the Capture a Macro topics in the help.