Share |

Macro Scheduler 13 Release Notes

Macro Scheduler 13 introduces a number of Code Wizards which aim to simplify coding for both beginners and experts alike. We have also added 32 new script functions; and many more scripting features such as faster event handlers; custom error handling and more interoperability with 64 bit applications.

Script Engine Improvements
New Script Commands
User Interface Improvements
Other Improvements
IMPORTANT Release Notes and Backward Compatibility Issues

List of Changes

Script Engine Improvements:

  • New functions to find and access UI objects and send keystrokes to them directly (without them requiring focus)
  • Updated Text Capture libraries for support for more applications and access to 64 bit processes (GetTextAtPoint, GetTextInRect, GetWndowTextEx, WaitScreenText)
  • OnEvent event handlers are now checked concurrently during script execution (therefore react faster)
  • New OnEvent types: PROCESS_EXISTS, PROCESS_NOTEXISTS, PIXEL_COLOR, DATE, TIME, CUSTOM
  • Ability to define custom event handlers
  • Internal Improvements to the following functions to prevent hang ups if target apps are in a hung state: FindWindowWithText, GetWindowText, GetControlText, SetControlText, GetWindowList, PushButton
  • Ability to include commas in function parameters (as long as the parms are delimited with {" ... " }
  • Error messages now output to log file
  • Ability to get cursor type from GetCursorPos (additional optional parameter).
  • Ability to define custom error handler (Let>ONERROR=subroutinename)
  • Ability to delete variables and arrays
  • Ability to specify CF_HTML format to GetClipboard to retrieve HTML from clipboard
  • Ability to specify a window title to FindImagePos to search only within that window
  • Calling Exit while a Wait operation is in progress will now terminate it immediately

New Script Commands:

  • ArrayDim
  • DelVariable
  • DelArray
  • Wow64DisableRedirection
  • Wow64EnableRedirection
  • DateAdd
  • DateDiff
  • DatePart
  • DateLocal
  • TimeAdd
  • TimeDiff
  • TimePart
  • TimeLocal
  • Timer
  • GetOldestFile
  • GetNewestFile
  • GetTextPos
  • FindObject
  • SetObjectText
  • ObjectSendKeys
  • ObjectSendText
  • GetWindowChildList
  • ColorToRGB
  • RegistryEnumKeys
  • RegistryEnumVals
  • GetWindowParent
  • XLSheetToArray
  • GetTextInit
  • HTMLDecode
  • HTMLEncode
  • ModTrayIcon
  • PopupMenu

New System Variables

  • OS_PLATFORM
  • RP_WIN64PROCESS
  • SYS_NATIVE
  • PROGRAM_FILES
  • PROGRAM_FILES_NATIVE

User Interface Improvements:

  • Added icons to code builder tree
  • New Image Recognition Code Wizard
  • New Keyboard Code Wizard
  • New Mouse Code Wizard
  • New Send Keys to Object Code Wizard
  • New Text Capture Code Wizard
  • Image Capture code builder now defaults path to %SCRIPT_DIR% if bmp saved to script folder
  • Added button to invoke connection string builder to DBConnect code builder
  • Added "Stats" tab to Macro Properties to display runtime statistics and savings calculator
  • Improved display of arrays in debugger watch list
  • Option to disable scheduler while editing/debugging
  • Hotkeys can now be group specific (so macros in different groups can share hotkeys)
  • Properties grid in custom dialog designer now allows columns to be resized

IMPORTANT - Release Notes - Backward Compatibility Issues - Known Issues

Text Capture

Before being able to use GetTextAtPos, GetTextInRect, GetWindowTextEx, WaitScreenText or GetTextPos you must now call GetTextInit. Any existing scripts that use these functions will need GetTextInit inserted at the start.

Compiled macros that use these functions will need to be distributed with the new text capture library files. Due to their increased complexity they are no longer packaged into the .exe. See the compiler help file topic for details.

Known Issues

Update 28 Nov 2011: These issues fixed in text capture libraries supplied with 13.0.03

There is currently a known issue with GetTextInRect and GetWindowTextEx when the capture rectangle/window belongs to a 64 bit process and is not in screen position 0,0. GetTextAtPos is unaffected.

Another known Text Capture issue is that GetTextInRect, GetWIndowTextEx and WaitScreenTextEx will only capture/see text on the primary monitor.

These issues are being worked on and we will provide a free update as soon as fixes are available.

Installation Folders/Registry Settings

Macro Scheduler 13 installs into a separate folder and registry hive to previous versions and also, by default, uses a separate location for macro storage. So it will not interfere with existing versions. If you wish you can point v13 at your v12 data using the "Change Macro/Group Settings Path" option under Tools/Options. Or you can import using File/New Macros.

Requirements

Macro Scheduler 13 runs on x86 and x64 versions of Windows 2000 Pro, XP, 2003 (.NET) Server, 2008 Server, Vista and Windows 7.