AutoHotkey L Versions Save

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

v2.0.14

1 week ago

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

3 weeks ago

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

1 month ago

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

1 month 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

4 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

7 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

7 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

8 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

8 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

8 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