Skip to content

Releases: AutoHotkey/AutoHotkey

v2.0.13

20 Apr 11:29
v2.0.13
b1ac375
Compare
Choose a tag to compare

Changed Hotkey function to throw ValueError if Options contains an invalid option.
Fixed InputHook to respect the +S option for Backspace when acting as undo.
Fixed debugger to safely handle property deletion during enumeration.
Fixed OLE clipboard content (e.g. error dialog text) being lost on exit.
Fixed detection of invalid suffix on a hotkey, such as Hotkey "a pu".
Fixed DllCall AStr* arg type to copy back only if address changes.
Fixed #Include to correctly "close" any built-in variable it reads (no known impact on real-world scripts).
Fixed WinTitles with two different ahk_id values to yield no match.

SHA256 hash D7646CA3A26760FE5633288D79D7B6A44CFC19A85C5315F94E0861963F1C601E AutoHotkey_2.0.13_setup.exe A7DB865B054314D253293A1F427D3A155DA5164060804AAC431020E26A40E1AD AutoHotkey_2.0.13.zip

v2.0.12

23 Mar 00:27
v2.0.12
e155a3b
Compare
Choose a tag to compare

Fixed Gui GetPos/GetClientPos when Gui has an owner window or +DPIScale.

Fixed Until preventing subfolder recursion in file loops.

Fixed DllCall to throw when arg type is UStr.

Fixed a memory leak occurring for each regex callout.

Fixed Send erroneously releasing a modifier due to a race condition. For example, ~LAlt::Send "{Blind}x" intermittently released LAlt if some other keyboard hook was installed more recently than the script's own hook.

Fixed icon loader to prefer higher bit-depth when multiple bitmaps of the same size are present.

Fixed SendInput failing to release LCtrl if it had already released RAlt and the layout does not have AltGr.

Fixed key-up hotkeys not firing if the key repeats after modifiers change. For example, F1::Send "{Ctrl down}" should allow F1 up:: to execute when the key is released even though Ctrl is down, but was not allowing it after key-repeat occurs.

Fixed an error message to refer to #HotIf rather than #IfWin. [PR #327]

Fixed OwnProps erroneously skipping properties with optional parameters.

Fixed inconsistent behaviour of cloned dynamic properties.

  • OwnProps not skipping cloned properties which require parameters.
  • Parameters not being passed recursively to parameterless properties (i.e. to allow a.b[c] to evaluate as (a.b)[c]).

Fixed SysGetIPAddresses causing a Critical Error when the network subsystem is non-functional; e.g. in Windows safe mode.

Changed ControlGetFocus to return 0 when focus can't be determined, such as when a console window is active.

SHA256 hash 4E1E3123DD85D3AC65A0803B08DD89B9B12B5A00B9F566782855332D03E5FE26 AutoHotkey_2.0.12_setup.exe 4C517113F22937A313921B73C9B25463CC7ED0B77D9CF42B08B6443184E52E90 AutoHotkey_2.0.12.zip

v1.1.37.02

16 Mar 06:09
v1.1.37.02
16ea5db
Compare
Choose a tag to compare

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

23 Dec 01:46
v2.0.11
31de908
Compare
Choose a tag to compare

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

24 Sep 05:16
v2.0.10
db482b9
Compare
Choose a tag to compare

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

17 Sep 04:57
v2.0.9
b3c2685
Compare
Choose a tag to compare

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

11 Sep 11:30
v2.0.8
99d4f47
Compare
Choose a tag to compare

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

02 Sep 08:22
v2.0.7
b56ffb6
Compare
Choose a tag to compare

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

30 Aug 08:10
v2.0.6
c4bd7ef
Compare
Choose a tag to compare

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

12 Aug 07:23
v2.0.5
0c8c337
Compare
Choose a tag to compare

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