v1.1.20.03 - An abundance of new stuff and bug fixes

Community news and information about new or upcoming versions of AutoHotkey
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

v1.1.20.03 - An abundance of new stuff and bug fixes

08 Mar 2015, 03:01

v1.1.20.00

For a prettier list of changes with more details and links, please refer to the Changelog instead of this post.

New features:
Enhanced Hotkey, Menu, SetTimer, Gui events and Gui control events to accept a function instead of a label, if no label is found.
Enhanced Hotkey, Menu, SetTimer and Gui control events to accept a function object. Added a Delete sub-command for SetTimer to allow the object to be released.
Enhanced OnMessage() to allow any number of functions or function objects to monitor a single message.
Added OnExit() and OnClipboardChange(), which accept a function name or object.
Added capability to point hotkey labels at a function definition.
Added U/L/T modifiers to perform case conversion with Format().
Added the E option to the Input command, for handling end keys by character instead of keycode.
Added ** (stderr) support to FileAppend.
Added ObjBindMethod(obj, method, args*) and Func.Bind(args*).

Changes:
Added a new welcome page which is shown if the main script file can't be found.
Changed WinActivate to restore the window if already active but minimized.
Changed WinActivate to look for a visible window to activate if DetectHiddenWindows is off and the active window is hidden, instead of doing nothing.
Changed the method used by A_CaretX/A_CaretY to retrieve the caret position.
Changed A_OSVersion to use RtlGetVersion(), so that it can detect Windows 10 and hopefully future versions.
Changed A_OSVersion to return a version number of the form "major.minor.build" if it doesn't have a name for the OS.
Changed objects to support x[,y], x.y[,z] and x[](y).
Several under-the-hood changes to fix bugs, reduce code size or improve performance.

Bug-fixes:
Fixed VK to keyname conversions for keys 'A' to 'Z' to respect layout.
Fixed FileAppend to * (stdout) to respect the encoding parameter instead of always outputting ANSI text.
Fixed auto-sizing of GUIs with only one scrollbar.
Fixed Exception(m, n) crashing when n is too far out of bounds.
Fixed GuiContextMenu to set A_GuiEvent correctly on x64.
Fixed FileGetSize sometimes giving an indeterminate result if the file doesn't exist or can't be opened.
Fixed thread interrupts to save and restore ErrorLevel more fully, fixing some bugs.
Fixed ControlClick Pos mode to ignore disabled controls.
Fixed odd behaviour when Gui +MaxSize is smaller than +MinSize.
Fixed GuiControl/Get requiring a Gui name when given a control HWND.
Fixed meta-functions interfering with the line number reported by Exception().

Download
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: v1.1.20.01 - An abundance of new stuff and bug fixes

10 Mar 2015, 04:04

v1.1.20.01

Reverted the changes made in v1.1.20.00 to saving and restoring of ErrorLevel on thread interrupt, due to unintended consequences.
  • ErrorLevel is not reset or cleared when a new thread starts. Instead, it retains the value it had in the interrupted thread, as in v1.1.19 and older.
  • If ErrorLevel contains an object and the thread is interrupted, the object is replaced with an empty string when the thread resumes, as in v1.1.19 and older. Strings longer than 127 characters are truncated.
Re-fixed timers sometimes causing ErrorLevel to be formatted as hex.

Fixed class methods to retain a counted reference to the class.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: v1.1.20.02 - An abundance of new stuff and bug fixes

11 Mar 2015, 06:07

v1.1.20.02

Fixed add-first mode of OnMessage.
Fixed A_OSVersion for unrecognized OSes on x64 builds.
Fixed ExitApp to unpause the script before releasing objects in case a __delete meta-function is called.
Trivial optimizations and code maintenance.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: v1.1.20.03 - An abundance of new stuff and bug fixes

20 Mar 2015, 23:10

v1.1.20.03

Fixed MouseGetPos (OutputVarControl), GuiContextMenu and GuiDropFiles (A_GuiControl) to not ignore disabled controls [broken by v1.1.20.00].

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 45 guests