AutoHotkey L Versions Save

AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.

v1.1.37.02

1 week ago

Fixed inability of LWin::Alt to be used to activate some Alt-combos.

Fixed mouse AltTab hotkeys not suppressing execution of a prefix hotkey, such as 1:: for 1 & WheelDown::AltTab. (Broken by v1.1.37.00)

Fixed hook hotkeys not recognizing modifiers which are pressed down by SendInput.

Fixed some issues affecting suppressed Alt/Ctrl/Shift/Win hotkeys, such as:

  • *LCtrl:: blocked LCtrl from the active window, but sending Alt-key combinations would fail because the system thinks Ctrl is down, and would therefore send WM_KEYDOWN instead of WM_SYSKEYDOWN.
  • *LAlt:: caused the system to forget any prior {LAlt DownR}, so a remapping such as LCtrl::LAlt would not behave correctly while LAlt is physically down, even though LAlt was suppressed.
  • Other potential issues where the system's low-level tracking of a modifier key doesn't match up with the logical state.

Fixed A_Clipboard ignoring assignment of pure numeric values.

Fixed SendInput failing to release LCtrl after having released RAlt (if it isn't AltGr).

Fixed new threads being unable to prevent a message check with Critical.

SHA256 hash 49A48E879F7480238D2FE17520AC19AFE83685AAC0B886719F9E1EAC818B75CC AutoHotkey_1.1.37.02_setup.exe 6F3663F7CDD25063C8C8728F5D9B07813CED8780522FD1F124BA539E2854215F AutoHotkey_1.1.37.02.zip

v2.0.11

3 months ago

Added a workaround for the first shown menu not accepting keyboard input on Windows 10.

Fixed the Add method (Gui) to support the ShortDate option for DateTime controls.

Fixed a reference counting error with multi-level function nesting.

Fixed #include <x> causing a load-time crash if used inside a function.

Fixed ListView.Opt("NoSort").

Fixed a memory leak occurring when an object with no own properties is cloned.

Fixed #include and FileInstall (non-compiled) to compare file names ordinally, not linguistically.

SHA256 hash 510A833BDD0F896CC398EAAE4FF475F5B7CFE37649EFBF647B50D21E442394B9 AutoHotkey_2.0.11_setup.exe 8E596F227367E273468B5833AB4169B6994BBFC5C1A2A3B85796A769F9444836 AutoHotkey_2.0.11.zip

v2.0.10

6 months ago

Fixed crashing when a named function hotkey is used after #HotIf.

Fixed numeric literals ending with a dot to not cause line continuation.

Fixed pre-increment/decrement to work with chained array indexing.

Fixed OnNotify/OnCommand applying styles only applicable to OnEvent.

Fixed FileExist/DirExist leaking handles when emptydir\* is used.

Fixed DirExist leaking handles when only files match.

SHA256 hash 2CD1B00947ABE2DF2CBA3997D7BDD5A9043EBE598987F0E9CADE0ACEB73F9EDD AutoHotkey_2.0.10_setup.exe 0759BE5242A162707B9738226AF1A163A15FC6E0105DD88765A52E056AC136C4 AutoHotkey_2.0.10.zip

v2.0.9

6 months ago

Fixed stacking of hotstrings with the X option.

Fixed debugger not listing local vars if the function is at the bottom of the stack.

Fixed Gui threads to show on the debugger's call stack.

Fixed some combinations of &/ByRef causing stack overflow in ExitApp.

SHA256 hash 8F0DDF90F4CC44499BBEB0F2D3FF298CD5E5D206CA759535495EE767E83B6023 AutoHotkey_2.0.9_setup.exe C36DD14FC322E1846A793797B758F5B0FB554F7F058DA6A333C86F27CBF9EC01 AutoHotkey_2.0.9.zip

v2.0.8

6 months ago

Fixed ByRef parameters erroneously assigning the default value to the caller's VarRef if unset.

Fixed some issues affecting suppressed Alt/Ctrl/Shift/Win hotkeys, such as:

  • *LCtrl:: blocked LCtrl from the active window, but sending Alt-key combinations would fail because the system thinks Ctrl is down, and would therefore send WM_KEYDOWN instead of WM_SYSKEYDOWN.
  • *LAlt:: caused the system to forget any prior {LAlt DownR}, so a remapping such as LCtrl::LAlt would not behave correctly while LAlt is physically down, even though LAlt was suppressed.
  • Other potential issues where the system's low-level tracking of a modifier key doesn't match up with the logical state.

Fixed some issues affecting continuation sections:

  • Escape sequences in the Join option were translated twice, causing ```` to become one literal ` instead of two, ``n to become a linefeed, and similar.
  • `" or `' produced a literal backtick and ended the string, instead of producing a literal quote mark, if the continuation section was enclosed in quotes of the same type and lacked the ` option.

Optimized the automatic escaping of quote marks and backtick in continuation sections.

Fixed breakpoint_list (debugger) returning duplicates on lines containing fat arrow functions.

Fixed +BackgroundDefault failing to override the Gui's BackColor property.

SHA256 hash 2F58A372DC62E70149BD29621CB76049C438204127426299B9A8BDCFF002C23A AutoHotkey_2.0.8_setup.exe B04B1DC45652C59F82CECC30CF9AEA76E5A1BD6CC3FECC450CEF67CBCD825F06 AutoHotkey_2.0.8.zip

v2.0.7

6 months ago

Fixed MouseClickDrag to allow X1 and Y1 to be omitted.

Fixed mouse AltTab hotkeys not suppressing execution of a prefix hotkey, such as 1:: for 1 & WheelDown::AltTab. (Broken by v2.0.4)

Fixed hook hotkeys not recognizing modifiers which are pressed down by SendInput.

Fixed A_AhkPath to not be reliant on the case/format of the command line used to launch the process.

Fixed heap corruption during window searches involving groups. (Broken by v2.0.6)

Launcher

Fixed #Requires not being detected if followed by a comment other than ; prefer xxx. (Broken by v2.0.6)

Fixed syntax detection misinterpreting multi-line auto-replace hotstrings.

Window Spy

Changed font to Segoe UI size 9, consistent with Dash.

SHA256 hash A6E07CCCC0D66A5894500A057FE92440F1E372BDA4856F148244BA369BF521DE AutoHotkey_2.0.7_setup.exe 3A2F34F529CD12950C905D2C68637BB071A12EBD0C00DD887D807FE6C23DE762 AutoHotkey_2.0.7.zip

v2.0.6

6 months ago

Fixed some ambiguity with COM calls, such as x.y acting as x.y().

Fixed breakpoint on control flow statement being "hit" when a fat arrow function on the line below it returns.

Fixed Default : to not merge with the line below it. This prevented Default : from being used at the end of a Switch block, and caused any subsequent line to take the line number of the Default.

Optimized ProcessGetPath, ProcessSetPriority and ProcessClose to not scan through all processes when given a valid PID, even if access to the process is denied.

Fixed inability of LWin::Alt to be used to activate some Alt key combos.

Fixed TypeError thrown by x is y to say "Class" rather than "Object".

Fixed WinTitle to support criteria longer than 1023 characters.

Fixed issues when &ref is used on different aliases of the same variable.

Fixed optional parameter default expressions (other than simple literal values) preventing the use of assume-global/assume-static.

SHA256 hash 2DF6D9782B8656772C842C22B6582EE91782BDE800F345491A71EB72C294E6FC AutoHotkey_2.0.6_setup.exe 62613DA1A6AC28989C8B3A7076BB90AF9C9361CACD76C695C381140C1D9182DB AutoHotkey_2.0.6.zip

v2.0.5

7 months ago

Fixed a memory leak caused by incorrect reference counting when an object is enumerated via COM. [PR# 325]

Fixed internal calls to __Enum to not call __Call.

Fixed error messages referring to parameter #65535.

Fixed incorrect IEnumVARIANT return count.

Fixed Download throwing OSError(0) when error should be non-zero.

Fixed LV.Add/Insert/Modify crashing when passed the minimum number of parameters.

Fixed stack traces to exclude calls to __new for Error subclasses.

SHA256 hash F815E34B79E1357B7DEFC86D467077293F56B4CAC373394C01A66ADABACF3350 AutoHotkey_2.0.5_setup.exe

v2.0.4

8 months ago

Changed the Reload button on error/warning dialogs to explicitly close the dialog, even if the current script instance isn't terminated.

Removed an optimization for return var which caused the variable to appear blank when accessed within a finally block.

Fixed Default (Switch) to allow space before the colon.

Fixed Array.Prototype.RemoveAt to return the removed value when Length is "explicitly omitted" with unset or var?.

Fixed crashing when a ComObject is passed to a for-loop with only the second variable specified.

Changes merged from v1.1.37.00 and v1.1.37.01:

Changed COM method and property calls to pass large integers as VT_I8, not VT_R8 (floating-point), so the original type and precision is retained. Integers in the 32-bit range are still passed as VT_I4.

Added support for multi-variable enumerators (for-loops) with IDispatch-wrapped AutoHotkey objects. Both the script invoking the object and the object itself must be running a supported AutoHotkey version.

Fixed omitted parameters to receive their default values rather than the "optional argument marker" when an AutoHotkey method is called via IDispatch (COM). The reverse translation was already done when calling COM methods in previous versions.

Fixed VerCompare(a, ">" b) and reduced code size marginally.

Fixed AltTab-related load-time errors to be consistent with other errors.

Fixed errors thrown by a ComObject wrapper not being propagated correctly if it is called via an object/COM.

Fixed the Hotkey GUI control to allow setting the symbols ^, ! and + as hotkeys.

Fixed the Hotkey control to include modifiers when its value is set to a symbol.

Fixed potential misbehaviour of InputHook.KeyOpt() with single chars.

  • Option removal potentially not affecting the corresponding SC.
  • Options potentially also being applied to sc000.

Fixed a bug with custom combos where a set of hotkeys like a &amp b::, a:: and a up:: would fail to suppress the release of a if a:: alone is disabled with #HotIf.

Fixed a bug where a key-down event is correctly suppressed by a hotkey, but sending an additional key-down with SendLevel > 0 would prevent the subsequent key-up from being suppressed, even if the sent event is ignored due to #InputLevel.

Fixed a & b up:: not suppressing b if a & b:: is present but disabled by #HotIf.

Fixed an issue with hotkeys not firing due to a race condition. If a modifier hotkey such as ~*RWin:: called Send or GetKeyState too soon, the OS could report that RWin isn't down, so the hook's modifier state would be "corrected" and hotkeys would wrongly fire or fail to fire. This was likely to occur only if another keyboard hook was installed more recently than the script's own hook, since in that case the OS would not update key state until the other hook's thread has resumed and returned.

Fixed hotstrings to use the Last Found Window set by #HotIf.

Fixed an issue where any attempt to reinstall the keyboard or mouse hook would fail if the OS had automatically uninstalled the hook. It is still necessary to meet certain conditions before any such attempt can be made.

Optimized allocation of cached COM property names for built-in IDispatch.

Refactored code to support a build configuration for AutoHotkey as a DLL.

SHA256 hash 38B5790E1FD1BEA17231A3A55E701217EBDE42428046E029F609B1D1734C7140 AutoHotkey_2.0.4_setup.exe

v1.1.37.01

8 months ago

Fixed an issue with hotkeys not firing due to a race condition. If a modifier hotkey such as ~*RWin:: called Send or GetKeyState too soon, the OS could report that RWin isn't down, so the hook's modifier state would be "corrected" and hotkeys would wrongly fire or fail to fire. This was likely to occur only if another keyboard hook was installed more recently than the script's own hook, since in that case the OS would not update key state until the other hook's thread has resumed and returned.

Fixed hotstrings to use the Last Found Window set by #If.

Fixed MouseGetPos, ControlClick, ContextMenu Gui events and DropFile Gui events erroneously detecting a control at a specific point which actually lies one pixel below or to the right of the control.

Fixed an issue where any attempt to reinstall the keyboard or mouse hook would fail if the OS had automatically uninstalled the hook. It is still necessary to meet certain conditions before any such attempt can be made.

SHA256 hash DBF3490648EFE876BD9A98D53E4D9110BF5E02A3914C0DD4B2A48DB4A09799B5 AutoHotkey_1.1.37.01_setup.exe