Macro Scheduler Changelog

What's new in Macro Scheduler 14.2.01

Oct 19, 2016
  • New UI Functions, new wizards, Easier and More Powerful, More Tolerant Image Recognition; Built-in WebRecorder; More Script Functions; More Scheduling Options; Bug Fixes and More

New in Macro Scheduler 14.0.3e (Feb 13, 2013)

  • Easier and More Powerful, More Tolerant Image Recognition;
  • Built-in WebRecorder;
  • More Script Functions;
  • More Scheduling Options;
  • Bug Fixes and More

New in Macro Scheduler 14.0.1e (Jan 30, 2013)

  • Script Additions/Improvements:
  • New portable/tolerant image recognition engine using Coefficient Correlation Template Matching
  • Native WebRecorder Functions (27 new functions).
  • Support for inline comments using /* .... */
  • FindImagePos/WaitScreenImage will work with PNG images if using new Coefficient matching
  • Ability to set connectiontimeout and commandtimeout for dbconnect ...
  • IncludeFromVar function
  • New script var SCRIPT_NAME
  • New script var BMP_DIR (script_dir\script_name)
  • ScreenCapture now supports PNG image output
  • Line numbers output to log file
  • LineCount, CharCount, LoadFromFile and SaveToFile properties to MSMmemo control
  • Ability to modify a variable during debug
  • GFL_ATTRIBS variable to specify which kind of files to return
  • Reimplemented MSMemo object in custom dialogs so that there is no longer a line length limit
  • New StringGrid control to custom dialogs - load data with LoadFromCSV property. Save back to CSV with SaveToCSV property.
  • Added SCREENCAP_CLIPBOARD variable to disable ScreenCapture from saving capture to clipboard (set to 0)
  • Added IfNot... equivalents for all existing If.. commands
  • Added zip file functions: ZipAddFiles, ZipExtractFiles
  • Added Hash function for MD5,SHA1,SHA256 hash generation
  • Added AESEncrypt function for AES encryption/decryption
  • Editor/Code Builder Improvements:
  • Image thumbnail list added to editor
  • Image Recognition Wizard outputs thumbnails to comments
  • Image Recognition Wizard auto-names captures into BMP_DIR (requires that script is saved first)
  • Clear Breakpoints option to debug menu in editor
  • i17 Ability to set font name/size of line numbers in editor. Margin auto-sizes to accommodate larger line numbers
  • Added subroutine and dialog tabs to Variable Explorer (and renamed it Code Explorer)
  • Added Save/As option to save to new duplicate macro from internal editor (This needs testing!)
  • Added option to image recognition wizard to use an existing needle image file
  • Dialog Designer no longer uses Clipboard to open/save. Opens/Saves direct from/to editor.
  • Backup On Save now defaults to enabled
  • Backup options added to allow to specify number of backups
  • Backup no longer performs if editor hasn't been modifed or if last two files are the same
  • View Backups option under Tools displays all backups and allows to open one in new tab
  • Debugger saves script before running/stepping (if it has already been saved and is not a new macro with no name/file)
  • Minor code builder improvements for parameters with finite set of options
  • New Scheduler Features:
  • new nth weekday of month scheduling option
  • Multiple, specific date/time scheduling option
  • Fixes:
  • i7 PNG images not showing on forms in compiled macros ... ?
  • i16 F8 debug then stop moves focus back to first line
  • i2 FindObject parsing not quite right
  • i4 GetTextInit in codebuilder/autocomplete
  • i26 systray icon remains flashing after calling Macro> command when running in debug mode (from editor)
  • i46 ReadFile cannot read a read only file
  • i41 Some missing entries in Comdef.ini causing variables missing from variable explorer
  • i9 Carriage Return at end of error string in RunProgram
  • i58 SK_DELAY missing from Press help file topic
  • Issue with references to macros in linked groups not being removed when linked group deleted
  • Issue with macros in linked groups with same name as other macros in other groups causing wrong macro to be opened
  • Issue with window lookup dialogs causing builders to hang if an external window is locked up
  • Other Improvements:
  • New online help system with comments/examples
  • main data files (macros12.dat, groups12.dat, groups12.ini) are backed up on startup, 3 copies being kept
  • Faster macro search using Bayer-Moore search algorithm
  • Macro search now does boolean AND search [use quotes for exact phrase]
  • Better import of samples script on install/update
  • New compiler options to copy any required runtime files & bmp folder to exe destination folder
  • Deleting macros now prompts for deletion of backups and image folders as well
  • Built in WebRecorder for native WebRecorder functions (no more IEAuto.DLL runtime)

New in Macro Scheduler 13.0.03 (Nov 30, 2011)

  • More Script Functions;
  • New Code Wizards;
  • Multi-tabbed Editor;
  • More powerful, easier to use custom dialog designer;
  • Native Excel Functioms;
  • Many Other Script Functions

New in Macro Scheduler 13.0.00e (Nov 15, 2011)

  • User Interface Improvements
  • Added icons to code builder tree
  • New "Code Wizards"
  • Image Recognition Wizard
  • Keyboard Wizard
  • Mouse Wizard
  • Send Keys to Object Wizard
  • Text Capture 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
  • 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 thread based and 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
  • IMPORTANT - Release Notes
  • 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 topic for details

New in Macro Scheduler 12.1.10 (Nov 15, 2011)

  • Fixed: conversion of groups tree from v11 could be incomplete for nested group structures
  • Fixed: http://www.mjtnet.com/usergroup/viewtopic.php?t=6717

New in Macro Scheduler 12.1.9 (Nov 15, 2011)

  • Fixed: AddDialogHandler finds last matching subroutine name if multiple subs with same name and would erroneously match one in a comment block if the comment block was last
  • Change: AutoLogon now not installed by default, but user given choice to install if AutoLogon is enabled and it is not already running

New in Macro Scheduler 12.1.8 (Jun 28, 2011)

  • Fixed: SelectMenu, GetControlText, SetControlText, ToolBar, GetTreeNode & GetListNode may fail to work with window handles when WIN_USEHANDLE=1

New in Macro Scheduler 12.1.7 (Jun 13, 2011)

  • This is a minor update to fix a small mistake in the help file (example for XLGetCell) and also an issue with the macro recorder which would fail to work if it had previously been canceled after being started from within the Script Editor.

New in Macro Scheduler 12.1.6 (Jun 13, 2011)

  • This release includes a bonus new feature: Access to the Macro Recorder from within the editor.
  • This means you can now record steps within the editor, with the recorded code being inserted at the current cursor position. This also means the macro recorder can be invoked multiple times to insert recorded steps at whatever point in the script you like.

New in Macro Scheduler 12.1.5 (May 5, 2011)

  • Fixed: FTP_TIMEOUT not properly setting the connection timeout.
  • Script Encryption not working and causing corrupt scripts.

New in Macro Scheduler 12.1.3 (Dec 23, 2010)

  • Fixed: RSS NewsFeed Window not timing out if a connection can’t be made. Added timeouts.
  • Fixed: Last file in GetFileList wrong if a delimiter with more than one character used.
  • Fixed: Macro Schedler Lite: Opening standalone editor causes crash.
  • Fixed: Help file incorrectly states timeout for Input command returns “YES”.
  • Fixed: Compiler: If compiling an include that cannot be found or is made up of user variables, include was removed. Should be left as dynamic include.
  • Fixed: Issue with comma in ExecuteFile – not parsed same as other commands.
  • Fixed: Editor: Files in code that are opened in new tab from context pop up menu are not saved correctly.
  • Fixed: Help file topic for FTPMakeDir had incorrect abbreviation and was not indexed.
  • Added: Image Capture tool now prompts if closed before captured image is saved.
  • Added: Codebuilders for image capture commands will now auto-fill the first parameter with the filename saved with the image capture tool.

New in Macro Scheduler 12.1.1 (Dec 2, 2010)

  • Fixed: TrayIcons, XL, Telnet and ADO objects being destroyed at end of event handler subroutines
  • Fixed: FTP Status window in FTPDelFile, FTPRemoveDir, FTPMakeDir, FTPRenameFile not being closed at end of operation
  • Fixed: A macro containing a dialog called with the Macro command will not show the dialog

New in Macro Scheduler 12.1.0 (Oct 19, 2010)

  • Fixed: IGNORESPACES ignoring CRLFs and SPACES when on their own.
  • Fixed: StringReplace crashes if empty string passed in find parameter
  • Fixed: Occassional “cannot write to comdef.ini” error in standalone editor.
  • Fixed: CTRL-V etc not working in Watch List search box
  • Fixed: Some text missing from GetTextInRect / GetWindowTextEx where text overlaps (New Text Capture libs)
  • Added: Full complex expression support to Repeat and While (when expr between curly braces)
  • Added: -KEEPLOGOPEN command line parameter: keeps log file open during script execution (faster for installations with large number of simultaneous running scripts)
  • Change: If insufficient privileges to open a script for exclusive write access (or if script already being edited) will now ask if you want to open it read only

New in Macro Scheduler 12.0.9 (Sep 29, 2010)

  • Multi-tabbed Editor;
  • More powerful, easier to use custom dialog designer;
  • Native Excel Functioms;
  • Many Other Script Functions

New in Macro Scheduler 12.0.8 (Sep 16, 2010)

  • 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 do primary button function)
  • Fixed: XLSetCell example in help file has missing Sheet name
  • Fixed: HTTPPost using multipart/form-data and binary encoding for all form data. Should be application/x-www-form-urlencoded unless sending files
  • Fixed: SK_IGNORECAPS incorrectly causing non alphabetic characters to be “shifted”
  • Fixed: Dialog Designer – sometimes changing property selection to dialog’s properties unexpectedly
  • Fixed: List out of bounds error when trying to edit a script which is already open in another editor or being edited by another user.
  • Fixed: Long delay when updating very long dialogs
  • Fixed: Exit command not returning specified exit code (always returning zero) in compiled macros
  • Fixed: Imported DLLs being unloaded at the end of a dialog event handler subroutine
  • Change: RunProgram now returning error code if an error occured instead of just -1 (now returns -1:errcode)
  • Added: possible workaround for Win7 regional settings bug which occurs on some systems

New in Macro Scheduler 12.0.7e (Aug 23, 2010)

  • Multi-tabbed Editor;
  • More powerful, easier to use custom dialog designer;
  • Native Excel Functioms;
  • Many Other Script Functions

New in Macro Scheduler 11.1.22 (Mar 9, 2010)

  • New Code Editor;
  • Unicode Support;
  • FTP SSL/TLS Support;
  • More Script Functions

New in Macro Scheduler 11.1.21 (Mar 4, 2010)

  • Fixed: Rare floating point overlow error during if statement if a string is all numbers apart from one “E”
  • Fixed: SetDalogObjectFont causes access violation of dialog contains a MainMenu

New in Macro Scheduler 11.1.20 (Feb 19, 2010)

  • Fixed: Memory leak when running macros on some systems.

New in Macro Scheduler 11.1.19 (Dec 29, 2009)

  • Fixed: “Not a valid date/time” error if regional short date format has a month name in it
  • Fixed: Variable Explorer reporting incorrect variable if parameters have spaces
  • Fixed: Macro Recorder causing hang or doing nothing or failing to stop on a minority of systems

New in Macro Scheduler 11.1.18 (Nov 27, 2009)

  • New Code Editor;
  • Unicode Support;
  • FTP SSL/TLS Support;
  • More Script Functions

New in Macro Scheduler 11.1.17 (Nov 12, 2009)

  • New Code Editor;
  • Unicode Support;
  • FTP SSL/TLS Support;
  • More Script Functions

New in Macro Scheduler 11.1.16 (Nov 2, 2009)

  • Fixed: Escape characters were not stripped from Telnet response Fixed: Crash caused by 3rd consecutive showing of reminder screen in trial version

New in Macro Scheduler 11.1.15 (Oct 6, 2009)

  • Fixed: Compiled macros with -NOSTOPKEY option running slower
  • Fixed: CompareBitmaps not correctly comparing full image
  • Fixed: Text added by Command Locator cannot be undone
  • Fixed: New line not added when text added by command locator

New in Macro Scheduler 11.1.14 (Sep 19, 2009)

  • Added: WLN_ENCODING=UNICODE setting to make WriteLn create Unicode file if file does not already exist
  • Added: WriteLn will detect encoding and output accordingly (ANSI or Unicode) Added: ReadLn and ReadFile can now detect and read data from Unicode files Fixed: Syntax highlighter wrongly highlighting start of block comment tokens when inside other commands (not at start of line)
  • Fixed: FTPGetDirFile issue with format of directory list and wildcard matching with some flavours of FTP server
  • Fixed: Dialog Designer: Ability to view TDialog properties with F11/Right Click restored
  • Fixed: Problem compiling on Chinese versions of Windows (and possibly other non-Western language versions)
  • Fixed: Image Capture Tool not refocusing after capture
  • Fixed: WSI_TIMEDOUT not coloured as system variable by syntax highlighter

New in Macro Scheduler 11.1.13 (Aug 7, 2009)

  • Fixed: Attempt to save a macro with illegal characters in name fails to show error dialog properly
  • Fixed: Issue with Include using SCRIPT_DIR in debugger when run in standalone mode

New in Macro Scheduler 11.1.12 (Jun 29, 2009)

  • Fixed: FTPGetDirList issue with format of directory list and wildcard matching with some flavours of FTP server
  • Fixed: Issue with ExportData adding extra erroneous character to end of exported text files
  • Fixed: FindImagePos using SCREEN for haystack fails under Remote Desktop/Terminal Server session

New in Macro Scheduler 11.1.11 (Jun 9, 2009)

  • Fixed: Some issues with running macros via msNet (Remote Controller) component (Enterprise)
  • Fixed: Image Capture Tool incorrectly focusing main window after capture when run in standalone editor mode
  • Improvement: StringReplace speed improvements

New in Macro Scheduler 11.1.10 (Jun 3, 2009)

  • New Code Editor;
  • Unicode Support;
  • FTP SSL/TLS Support;
  • More Script Functions

New in Macro Scheduler 11.1.09 (Apr 27, 2009)

  • Fixed: ExportData failing to write correct data for subsequent exports of other data labels
  • Fixed: insertion of SRT not completing autoinserted END with subroutine name
  • Fixed: minor syntax highlighting anomolies
  • Fixed: SetDialogObjectFocus caused error if object not visible
  • Fixed: ShowAllChars menu option not being remembered correctly
  • Fixed: Code Folding menu option not being remembered correctly

New in Macro Scheduler 11.1.08 (Apr 2, 2009)

  • Added: GetTextReset - reset/initialise text capture functions
  • Fixed: Syntax highlighting: CR in CreateDir showing as CR system variable Fixed: WLN_NOCRLF not included in syntax highlighting / sys var list Fixed: Incorrect tab in macro properties being displayed on some data entry validation errors on save
  • Change: Hotkeys now ineffective while cursor is in type hotkey field of macro properties

New in Macro Scheduler 11.1.07 (Mar 28, 2009)

  • New Code Editor; Unicode Support; FTP SSL/TLS Support; More Script Functions

New in Macro Scheduler 11.1.06 (Mar 13, 2009)

  • Fixed: Removed rogue diagnostic message in DBQuery which would appear if use names parameter was present.

New in Macro Scheduler 11.1.04 (Feb 13, 2009)

  • Fixed: Autologon failing to save password correctly
  • Fixed: Backup on Save not working for standalone editor
  • Fixed: Editor status bar not always reflecting modified status
  • Fixed: Improvements to dialog block updating from “Update Dialog” menu
  • Fixed: Debugger: Breakpoint after an Include not showing Include lines/line number confusion
  • Fixed: Step Over confused by GoSub inside a subroutine
  • Change: Debugger no longer temporarily disables wordwrap - no longer required
  • Change: Editor line numbers now show at top of wrapped lines
  • Added: Clicking in editor margin selects entire line

New in Macro Scheduler 11.1.03 (Jan 31, 2009)

  • Compiled exes with NOSTOPKEY set will show APP_TITLE in tray icon hint
  • Fixed: Editor code folding/autoinsertion confused by nested subroutines
  • Fixed: Step Over (Shift-F8) not working

New in Macro Scheduler 11.1.02 (Jan 29, 2009)

  • Fixed: Access Violation when closing dialog editor if dialog has a MainMenu
  • Fixed: Clicking “type a hotkey” checkbox in macro properties didn’t cause warning to save changes if nothing else changed
  • Fixed: Compile Includes not including scripts specified with %SCRIPT_DIR% when compiled from Editor
  • Fixed: Press End inside a SRT called End would fool the lexer into thinking the SRT ended at Press End
  • Added: When typing SRT in editor, End is added automatically with SRT name.

New in Macro Scheduler 11.1.01 (Jan 21, 2009)

  • Fixed: Window Open Trigger not working properly when visible windows only is UNCHECKED
  • Fixed: Tray icon still not single clicking in Windows 7
  • Fixed: Macro recorder “Run this application first” option not working
  • Fixed: When entering hotkey via “Type a hotkey” box in macro properties you are not asked if you want to save changes

New in Macro Scheduler 11.1 (Jan 13, 2009)

  • Fixed: Text Capture functions (GetWindowTextEx, WaitScreenText, GetTextInRect, GetTextAtPoint) could
  • cause clipboard function to stop working in source application
  • Fixed: Standalone Editor not prompting to save on exit after compile options changed and not saved
  • Fixed: Inline Function selector not adding chevron to GetWindowList
  • Fixed: Updating dialog in editor from popup menu could leave blank space at start of first line of dialog block
  • Fixed: Find Next in Editor will now follow search direction as set in Find dialog
  • Fixed: Tab characters causing text loss in watch list
  • Change: Tray icon action changed to single click for Windows 7

New in Macro Scheduler 11.0.33 (Dec 18, 2008)

  • New Code Editor; Unicode Support; FTP SSL/TLS Support; More Script Functions

New in Macro Scheduler 11.0.31 (Dec 9, 2008)

  • Added: SetDialogObjectColor function
  • Change: Binary File Import now surrounds label and data in block comment to prevent an attempt to execute it
  • Fixed: SMTPSendMail not setting result code correctly
  • Fixed: Shift-Esc to Stop Window showing in GetWindowList
  • Fixed: Error in compiled macro if /NOSTOPKEY compiled in as last option
  • Fixed: Dialog Designer: After copying an object to clipboard, cannot paste it
  • Fixed: Dialog Designer: “Pinned to Designer” not staying pinned while moving design form
  • Fixed: Y array result variable default missing from FindImagePos code builder
  • Fixed: Index out of bounds error if start debug step from last blank line in script
  • Fixed: News Feed Notification was dependent on Show News Feed on Startup
  • Fixed: Main form shows correctly when clicking news feed notification
  • Fixed: Issue with Folder Browse button on Custom Dialog

New in Macro Scheduler 11.0.28 (Dec 5, 2008)

  • Fixed: Issue with StringReplace could cause unresponsiveness
  • Fixed: SMTPSendMail: some email clients not deciphering attachment filenames

New in Macro Scheduler 10.1.16 (Jun 25, 2008)

  • Native Database Functions, Triggers, Easier to use Script Builder, Improved Debugger, Powerful Screen Text Capture Commands, New script commands, Faster Screen Image Recognition Functions, Other Enhancements.

New in Macro Scheduler 10.015e (Jan 10, 2008)

  • Easier to use Script Builder
  • Improved Debugger
  • Powerful Screen Text Capture Commands
  • New script commands
  • Faster Screen Image Recognition Functions

New in Macro Scheduler 9.1.01e (Apr 30, 2007)

  • Easier to use Script Builder
  • New script commands
  • Screen Image Recognition Functions
  • AutoLogon technology
  • Scheduler Service
  • Unicode support
  • Event Handlers
  • Other Enhancements

New in Macro Scheduler 9.0.050 (Feb 2, 2007)

  • Easier to use Script Builder,
  • New script commands,
  • Screen Image Recognition Functions,
  • AutoLogon technology,
  • Scheduler Service,
  • Unicode support,
  • Event Handlers,
  • Other Enhancements.

New in Macro Scheduler 8.1 (Sep 28, 2006)

  • New script commands,
  • AutoLogon technology,
  • Scheduler Service,
  • Unicode support,
  • Event Handlers,
  • Other Enhancements.

New in Macro Scheduler 8.0.4 (Sep 4, 2006)

  • New script commands,
  • AutoLogon technology,
  • Scheduler Service,
  • Unicode support,
  • Event Handlers,
  • Other Enhancements.