Skip to content

Releases: AutoHotkey/AutoHotkey

v1.1.36.00

01 Dec 08:13
v1.1.36.00
38b98da
Compare
Choose a tag to compare

Added VerCompare().

Added support for breakpoint exceptions via DBGp.

Extended #Requires to support operators for range checks (< <= > >= =) and additional keywords: Unicode, ANSI, 32-bit, 64-bit.

Added CompanyName to the version information in AutoHotkey.exe, which may work around a Windows 10 bug where the program would not appear in Open With.

Changed Switch/Case to perform non-numeric comparison when the switch or case expression is a lone literal string, such as "00", and documented comparison behaviour which was previously undocumented.

Fixed some inconsistencies with integer property names via IDispatch.

  • Negative values always being considered non-numeric.
  • Positive values losing formatting, such as leading zeroes.

Fixed potential crashes when inspecting a ComObject via DBGp after using ComObjConnect.

Fixed FileAppend to treat a blank Encoding as omitted.

Fixed version comparisons to ignore numeric build info; e.g. 1.1.35.00+1+abcdef (1 is the number of commits since 1.1.35.00).

Fixed FileCreateDir X\Y\ (with trailing slash) failing to create X [broken by v1.1.35.00].

v1.1.35.00

30 Oct 10:23
v1.1.35.00
2dd42c0
Compare
Choose a tag to compare

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

23 Aug 07:51
v1.1.34.04
f5966e6
Compare
Choose a tag to compare

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

05 Jun 02:46
v1.1.34.03
ac4e989
Compare
Choose a tag to compare

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

12 May 22:13
v1.1.34.02
f751750
Compare
Choose a tag to compare

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

08 May 00:10
v1.1.34.01
0789e4e
Compare
Choose a tag to compare

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

05 May 09:31
v1.1.34.00
e06caab
Compare
Choose a tag to compare

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

20 Apr 08:46
v1.1.33.11
3be2c7a
Compare
Choose a tag to compare

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

29 Aug 00:03
v1.1.33.10
093b808
Compare
Choose a tag to compare

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

08 May 04:00
v1.1.33.09
29896e7
Compare
Choose a tag to compare

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.