Share |

Macro Scheduler 11 Release Notes

Macro Scheduler 11 introduces a new script editor with enhanced features to help simplify script building and improve productivity. The new script editor includes code folding and persistent bookmarks to help you locate code segments quickly. The advanced script editor and macro properties windows have been combined into one to bring all the editing features and macro properties under one roof.

A major enhancement is that Macro Scheduler 11 now fully supports Unicode. Unicode can be used anywhere within the interface and most script functions also support Unicode (except those stated as ANSI only). This involves a major change to underlying string structures and represents a huge development effort.

We've introduced SSL/TLS support to the FTP functions, improved the FTP functions to work with more flavours of FTP server and added SSL support to HTTPRequest. Compiled macros can now be made into console applications so that they can write to STDOUT. Other improvements include a faster StringReplace function to improve performance with large string/text file manipulations, the ability to quickly embed any type of binary file into your scripts and extract them at runtime, and more.

List of Changes


User Interface Improvements:

Full Unicode Support
New Script Editor
Code Folding
Bookmarks
Improved Syntax Highlighting
Advanced Editor and Macro Properties merged into one.
Reopen Menu in Editor remembers list of recently opened scripts
Editor Tools/Import Bitmap Data is now Tools/Import Binary File to import any binary file
Delete key can be used to delete a macro.

Script Engine Improvements:

Unicode support for most script commands
Improved FTP functions (See release notes for backward compatibility issues!)
Support for TLS/SSL FTP connections (OpenSSL libraries required)
Added SSL support to HTTPRequest using (OpenSSL libraries required)
Faster StringReplace function - can now work much faster with large strings
Faster Base64 function - for faster operation with large strings/files
Press/Release commands can now work as functions (i.e. key to press/release can be a variable)
Script commands with spaces in their name have been changed:
Run Program becomes RunProgram
Change Directory becomes ChangeDirectory
Send Character/Text becomes SendText
Existing names will continue to work for backward compatibility
Ability to compile EXEs to "Console Apps" and write to STDOUT
DBQuery: new optional parameter to return field names instead of field numbers
Improved error trapping for LibFunc DLL call errors
Updated Text Capture libraries
Added ability to temporarily disable/enable logging during execution

New Script Commands:

SetDialogObjectFocus - focus a dialog object
SetDialogObjectVisible - make a dialog object visible/hidden
ExportData - export binary data from script to file
GetWindowSize - retrieve the size of a window
SOWrite - write text to std out (compiled console EXEs only)
SOWriteLn - write text line to std out (compiled console EXEs only)
LibFuncW - Unicode version of LibFunc for calling functions which require/return WideStrings

IMPORTANT - Release Notes - Backward Compatibility Issues

FTP: FtpGetFile, FTPPutFile and FTPGetDirList now have an extra parameter for the host directory. This was necessary to provide support for more flavours of FTP server. After much consideration it was decided that the only sensible way forward was to have two separate parameters for host dir and host file. By doing so this makes the commands portable across all kinds of ftp server without any assumptions being needed on the format of paths. Unfortunately this does mean that old scripts will fail. But they will need only a small modification. In most cases just placing a comma between the host path and host file.

UNICODE: By default version 11 installs into its own program folder, registry hive and data (macro) folder, all separate from previous versions. Please do NOT change the defaults. If you use existing data files you are very likely to prevent them from working in version 10 due to the use of Unicode encoding to save files which is not supported in previous versions.

END OF WINDOWS 98 SUPPORT: With the release of version 11 Macro Scheduler no longer supports Windows 98/Me.