Releases: AutoHotkey/AutoHotkey
v2.0.16
Fixed load-time errors sent to stdout showing incorrect file/line number in some cases.
Fixed ExitApp on load-time error/warning dialogs to use exit code 2.
Fixed locating WindowSpy.ahk in Current User (non-admin) installs.
Fixed DBGp property_get paging items incorrectly (again).
Fixed StrPut failing if Length/Buffer is specified and MultiByteToWideChar doesn't support the WC_NO_BEST_FIT_CHARS flag for the target codepage.
Fixed Download to attempt anonymous authentication if the server requests client authentication.
SHA256 hash
F5D2887ADEAA87F28D30174552B1EC976D302E7C804FAA3E8CE74DDB0DDA6C78
AutoHotkey_2.0.16_setup.exe
178F4B8888441E6970682416279FB99A5FFB2844136440BECD66A8C62091E435
AutoHotkey_2.0.16.zip
v2.0.15
Fixed DBGp property_get failing to retrieve properties due to incorrect paging (since v2.0.14).
Fixed DBGp property evaluation causing Try without Catch to fail (since v2.0.14).
Fixed <base> debugger pseudo-property leaking a reference (since v2.0.14).
SHA256 hash
207FEA03708F1BA8C8E61F30170D799495736726D1853D7D4150A5FFFFA14013
AutoHotkey_2.0.15_setup.exe
96AF0B4438274122CA3A69E9556E91C3D2F05AF16E74890DEE567EEBE3AC101A
AutoHotkey_2.0.15.zip
v2.0.14
Fixed the error dialog to handle letter key shortcuts even when text is focused.
Fixed MonthCal W-n (number of month) width values to not be affected by DPI scaling.
Fixed Click to not return an integer.
Fixed detection of key::try {
as an error.
Fixed :B0*O:XY::Z
to produce XYZ rather than XZ (suppressing Y).
Fixed Send to leave any prior {modifier Down}
in effect even if the key happens to be physically held down.
Improved the reliability of the script taking focus when a menu popup is shown.
Debugger Improvements
Fixed stdout/stderr packets sent during the processing of another command to not corrupt the pending response.
Fixed property_get -n <exception>.message
and similar.
Fixed corrupted results from property_get when a property returns a temporary object with a string, such as x.y.z
where y => {z:"a"}
.
Fixed crashes when an asynchronous command is received during the processing of another command.
Fixed exceptions not being deleted after they are suppressed via property_set.
Fixed property_get -c 0 -d 0
to allow global variables, as already allowed by -d 1
.
Fixed property_get paging enumerated items incorrectly.
Improved property_get to support property getters with one parameter (previously only the implicit __Item property supported this).
Improved property_get to support properties of primitive values. The value must still be contained by a variable or returned from a property.
Improved property_get to allow calling functions with <=1 parameter.
Improved property_get to support float keys/parameters.
Changed debugger to suppress exceptions during property evaluation.
Changed debugger to ignore errors thrown by __Enum (treat as no items).
Changed the <enum> pseudo-property to require __Enum. This prevents the object itself from being called as an enumerator.
Small code size optimizations in the debugger.
SHA256 hash
20D41F5FCFA4F3D61C533A9E21A019F0BCA0BD8012A6528CCDF2621749A122AB
AutoHotkey_2.0.14_setup.exe
6FE778623EF31EB224B4AEFF3EAA73AEF6D76C091FCB328782046E1EC44969D5
AutoHotkey_2.0.14.zip
v2.0.13
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
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
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 asLCtrl::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
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
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
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
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 asLCtrl::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