AutoHotkey L Versions Save

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

v1.1.35.00

1 year ago

Changed GroupActivate and GroupClose to behave more intuitively:

  • Evaluate windows against the window group as a whole, not individual window specifications.
  • When GroupClose indirectly causes another matching window to activate, leave it active even if it isn't matched by the same window specification.

Contributions by jeeswg (pull requests #186, #235, #240, #249, #273, #274):

  • Backported operators !==, >>> and >>>= from v2.
  • Backported A_InitialWorkingDir from v2.
  • Backported File.Handle from v2.
  • Backported A_Clipboard from v2.
  • Backported IsSet() from v2.
Bug-fixes:

Fixed a spelling error in the #Warn Unreachable message.

Fixed FileCreateDir handling of paths containing ".." or "/".

Fixed some issues with FileSelectFile's RootDir\Filename parameter:

  • Filename not being used when RootDir is a badly formatted CLSID.
  • Undefined behaviour for long paths when GetShortPathName fails (such as when long path awareness is disabled or there's a default filename which isn't an existing file).

Fixed FileSetTime to set A_LastError if it finds no files.

Fixed EnvAdd/+= losing precision when adding 115,292,150,461+ seconds.

Fixed the keyboard hook reinserting a suppressed dead key when Enter is pressed, such as in the sequence `o{Enter} when the following is true:

  • A separate script has suppressed "ò" due to :?*:ò::.
  • The current process also has active hotstrings.
  • The other process installed its hook last.

Fixed ControlGet List "Selected" option repeating output on x64 when the target is 32-bit.

Fixed stack corruption for ControlGet List "Count" options.

v1.1.34.04

1 year ago

Fixed callback functions not being included in the debugger's call stack.

Fixed MsgBox timeout reported as "OK" if shown within 100ms of startup.

Fixed Edit control to ignore +WantTab while +ReadOnly is in effect.

Fixed property_get returning a local var when -d should prevent it.

Fixed RegRead to support REG_MULTI_SZ values containing empty items.

Fixed x[,y]:=z invoking undefined behaviour.

v1.1.34.03

1 year ago

Fixed double backspacing of supplementary Unicode characters in hotstrings.

Fixed a:: not firing if a up:: and a & b:: are present.

Fixed MinSize/MaxSize being applied incorrectly before the first call to Gui Show.

Fixed the hook thread getting stuck in an infinite loop if an InputHook has been restarted too soon after being stopped.

Fixed crashes or undefined behaviour when a blank parameter is passed to FileCopy, FileMove, FileCopyDir, FileMoveDir or FileRemoveDir.

Fixed dead keys erroneously being reapplied by the keyboard hook after the final character of a hotstring is suppressed (e.g. for :?*:ò::ó).

v1.1.34.02

2 years ago

Fixed bugs introduced by v1.1.34.00:

  • Fixed command line args for embedded script #1.
  • Fixed Alt::, Ctrl:: and Shift:: behaving like normal keys, instead of firing on release as documented.
  • Fixed ~a & b:: (when disabled with #If) causing a:: to fire on key-up even after activating some other combo.

v1.1.34.01

2 years ago

Fixed bugs introduced by v1.1.34.00:

  • a up:: firing on press rather than release if it is the first hotkey and ~a & b:: is present.
  • a:: not suppressing the key if ~a & b:: is also present, unless a:: is the first hotkey.
  • CapsLock:: not working when CapsLock & x:: is also present, and likewise for NumLock and ScrollLock.

v1.1.34.00

2 years ago

Added the capability to use AutoHotkey.exe as the base for compiled scripts, allowing compiled scripts to execute external files when passed the /script command-line switch. Added the capability to implicitly include code at the top of every script, either by embedding a resource within AutoHotkey.exe or by using the /include command-line switch. Enabled the use of Menu NoMainWindow/MainWindow in uncompiled scripts. Changed ~x & y:: to not affect suppression of x when disabled by #If. Enhanced FileCopyDir to permit the source directory to be a zip file, if supported by the OS, in which case its contents are extracted. Fixed execution of multiple run-once timers in the same tick [broken by v1.1.33.11]. Fixed ToolTip positioning/sizing bugs.

  • Attempting to position a tooltip overlapping the taskbar caused it to appear at the top of the screen instead, on Windows 10 and 11.
  • Tooltips were limited by the primary screen's width even when they should appear on a secondary screen, and this could prevent them from appearing on the appropriate screen (when they're too wide).
  • The maximum width was effectively A_ScreenDPI/96 times larger than it should be due to OS behaviour; this is now accounted for.

Optimized ToolTip for cases where the text isn't changing, to reduce flicker and speed it up. Fixed key-up hotkeys failing to execute if they are turned on after (but not before) the key is pressed down, and that key is also a custom prefix key with the tilde suffix (e.g. ~a & b:: interferes with a up). Fixed custom combo hotkeys where the prefix key causes a hook reset, such as ~RButton & WheelUp:: when RButton:: enables or disables the script's only keyboard hook hotkey.

v1.1.33.11

2 years ago

Fixed Format(n) returning blank when n is a pure numeric expression. Fixed the debugger's inability to query obj.<base>.<base>. Changed debugger step/breakpoints to slip over Try/Catch/Finally/Case. Fixed Switch { incorrectly raising a load-time error. Fixed debugger stack_get reporting incorrect line after OnError. Fixed debugger stack_get reporting incorrect line for auto-execute thread. Fixed auto-env retrieval and A_ComVar to safely allow for variables larger than the official limit [PR #259 from mikeblas]. Fixed A_EventInfo for mouse wheel hotkeys [broken by v1.1.33.05]. Fixed ControlClick to convert coordinates correctly for wheel messages. Fixed the IDispatch implementation for AutoHotkey objects to preserve case for property names. Fixed #Warn StdOut to default to codepage 0 when /ErrorStdOut is not used. Fixed crashes when a timer's __delete() meta-function deletes the next timer.

v1.1.33.10

2 years ago

Fixed loading of JPG/GIF files which are already open for reading. Fixed misidentification of digits/xdigits by if-var-is. Added a safety check for ControlGet Selected in case it is used with a non-Edit control. Fixed variables being set to NULL in certain rare cases, causing crashes. The only confirmed case being when a string longer than 63 characters is returned from a function and assigned to a variable while AutoHotkey is running as a Windows store app. Fixed InputHook callbacks failing after input is stopped and restarted.

v1.1.33.09

3 years ago

Fixed crash on load when an AltTab action is used in a key-up/down pair. Fixed garbage error text when the main script file cannot be opened. Removed "Error at line 0" from error messages which appear before the first line is read. Fixed focus resetting when a minimized GUI is restored. Fixed focus not saving when a GUI is minimized with Gui Show.

v1.1.33.08

3 years ago

Fixed non-zero SendLevel events erroneously being suppressed in cases not covered by the v1.1.33.07 fix:

  • When there's a matching context-sensitive hotkey with a higher #InputLevel and no enabled global variant.
  • When there's no matching key-down hotkey, but there's a key-up hotkey with a higher #InputLevel.