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 22.214.171.124 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.
While macros that perform many complex steps can save a great deal of time and improve productivity, often simple, frequently used macros, can save just as much or more. Here are three examples of simple, useful macros submitted by Macro Express users that you might find yourself using many times per day.
Anthony Muller shares a macro to type a date/time stamp. He says “The simplicity of this Macro belies its usefulness. It types the time in the format yyyy-mm-dd hh.mm.ss in a chronologically and lexicographically consistent format. It is handy for stamping a time reference on notes or document edits, or for naming files or logs. When used consistently as either a prefix or a suffix to a filename, the resultant files will remain in chronological order even when you sort by filename.”
Download the macro Type the Time here.
David Taylor has shared two macros. He says “Long-time fan of Macro Express, and have been using Pro for quite a while. I have around 130 active macros that I’ve made to automate just about everything I do, and rave about it to anyone who asks, every chance I get!
“I figured it was about time to share a couple of my macros. Many of my macros are well over 40 lines, and extremely intricate, however they don’t lend themselves to sharing with others as they’re quite specialized for me personally. I’ve been a programmer for the past 32+ years, with experience in 15 programming and scripting languages in addition to Macro Express. I find programming (including scripting macros) relaxing and generally quite fun.
“That said, I’m sending you 2 of my macros, in the hopes of helping someone else out – and in the hopes of receiving a T-shirt.”
David and Anthony will receive a Macro Express T-shirt for their submissions. Thank you, gentlemen, for sharing!
The External Script command is used to call scripts written in other languages such as Java Script (JScript), Visual Basic Script (VBScript) and HTML for Applications (HTA) from within a Macro Express Pro macro. This allows you to take advantage of features in those script languages.
When the External Script command runs, it creates a temporary file in your temp folder. This temporary file has a format of mxescr###.vbs or mxescr###.js where ### is a unique numeric value and the file extension is appropriate for the script language being used.
Macro Express Pro variables can be included in the External Script command. When the External Script command runs the values contained in the Macro Express variables are placed into the script.
When debugging scripts written in the External Script command it is useful to be able to see what is being passed to the script program. Macro Express Pro now has an option to choose whether or not to delete the temporary file created when the External Script command runs. To keep the file, disable “Delete temporary external script file” found in Options, Preferences, General on the Misc tab.
The knowledge base article “How do I debug the External Script command?” contains more information about debugging the External Script command.