AutoHotkey

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

GPL-2.0 License

Stars
8.3K
Committers
22

Bot releases are visible (Hide)

AutoHotkey - v1.1.33.00

Published by Lexikos over 4 years ago

Added #ErrorStdOut Encoding parameter.
Added /ErrorStdOut=Encoding command line switch.
Added #Warn Unreachable (warning mode).
Added #Requires AutoHotkey vVersion (directive).
Added detection of program-terminating SEH exceptions, to display an error dialog.
Fixed a possible bug where Input causes undefined behaviour. [PR #159 from Helgef]
Fixed WinKill.
Fixed A_WinDir to always return the system Windows directory.
Fixed FileGetShortcut/FileCreateShortcut to return and accept negative icon indices without modification.
Fixed InputBox Locale option to not focus the Cancel button.
Fixed menu bar keyboard shortcuts not working when GUI has no controls.
Fixed LoadPicture to use 256x256 graphic when available in a DLL/EXE.
Fixed DBGp stderr copy mode to not suppress error dialogs.
Fixed ControlGet Line setting ErrorLevel=1 when line is just empty.
Fixed Send causing unwanted hotkey buffering.

AutoHotkey - v1.1.32.00

Published by Lexikos almost 5 years ago

Changed commands and functions with a WinTitle parameter to treat cloaked windows as hidden.
Added support for reverse PixelSearch in fast mode. [PR #156 from changyuheng]
Added InputHook OnKeyUp callback.
Fixed GroupDeactivate to exclude the Desktop on Windows 10 (and possibly 8).
Fixed Switch treating strings as always true.
Fixed A_PriorKey being blank after Unicode characters are sent.
Fixed WinActivate to not assume NULL foreground window == taskbar.
Fixed Send {Del} not restoring AltGr after releasing it.
Fixed vk13 and sc045 as remap destination keys.
Removed unnecessary checks for Control and Sleep in one-line hotkeys.
Removed obsolete Windows 9x/NT4 support code and performed other maintenance.

AutoHotkey - v1.1.31.01

Published by Lexikos about 5 years ago

Fixed Switch %v%, Case %v% and Throw %v%.
Fixed Case 2,,: to show an error message rather than crash.
Fixed AltTab hotkeys [broken by v1.1.31.00].
Fixed hotstring X option to permit whitespace after ::.
Fixed single-line hotkeys to prohibit multi-line statements such as IF.

AutoHotkey - v1.1.31.00

Published by Lexikos about 5 years ago

Added Switch.
Added InputHook.
Added Locale option to enable InputBox to use locale-specific button names. [PR #143 from Ragnar-F]
Improved support for long paths.
General hotkey improvements:

Other:

  • Fixed Slider +TickInterval to take effect even if Range is not set.
  • Fixed Slider +TickInterval0 to set interval to 0, disabling ticks.
  • Fixed menu and GUI events causing CPU-maxing loops in some cases. Specifically, when a modal message loop is running and the script is uninterruptible, menu and GUI event messages were repeatedly re-posted. These are now discarded, as they can't be handled or kept in the queue. This is consistent with hotkeys, etc.
  • Fixed DllCall critical errors to always exit, ignoring OnExit result.
  • Fixed ExitApp 2 bypassing release of objects in global/static vars.
  • Changed ComObjCreate to use CLSIDFromProgID for non-GUID strings. This fixes ComObjCreate("Microsoft.Windows.ActCtx") and possibly others which aren't in the registry but work with VBScript and JScript.
AutoHotkey - v1.1.30.03

Published by Lexikos over 5 years ago

Fixed debugger context_get triggering #Warn UseUnset.
Fixed straight modifier hotkeys such as Shift:: (broken by v1.1.30.02).

AutoHotkey - v1.1.30.02

Published by Lexikos over 5 years ago

Fixed Menu Rename to allow duplicates and no-op/case-only renames.
Fixed X option for Hotstring(). [PR #132 from HelgeffegleH]
Fixed __init/__delete causing misleading error line/stack trace.
Fixed #if expressions stalling in Sleep and similar.
Fixed custom combos triggering incorrectly after a custom combo suspends itself.

AutoHotkey - v1.1.30.01

Published by Lexikos almost 6 years ago

Changed TV_Add/TV_Modify to allow "Bold1" and "Bold0".
Fixed hotkey pairs with non-zero #InputLevel blocking sent events.
Fixed Control Choose to send WM_COMMAND even if the control's ID is 0.
Fixed heap corruption in scripts with keyboard hook but no hotkeys.
Fixed escape sequences in one-line hotstrings with 'X' option.
Fixed `` escape sequence preceding a ; comment flag.
Fixed finally corrupting the value of a pending return.
Fixed MsgBox to detect timeouts even if the thread is interrupted.
Fixed Ahk2Exe to support more built-in variables in #Include.

AutoHotkey - v1.1.30.00

Published by Lexikos about 6 years ago

Fixed SendInput/SendPlay to restore DownR/remapped modifiers.
Increased limit of hotkeys per script from 1000 to 32762.
Changed commands which accept On/Off/Toggle to also accept 1/0/-1 (where documented).
Improvements to debugger (DBGp) support:

AutoHotkey - v1.1.29.01

Published by Lexikos over 6 years ago

Fixed WinMove crashing the program in some cases [broken by v1.1.29.00].
Fixed Gui x:Default if no Gui has been created [broken by v1.1.29.00].

AutoHotkey - v1.1.29.00

Published by Lexikos over 6 years ago

Added Object.Count() and ObjCount(Object).
Added ObjGetBase(Object) and ObjSetBase(Object, Base).
Added ObjRawGet(Object, Key).
Added OnError(Func [, AddRemove]).
Revised exception handling:

Removed the limits on the number of custom modifiers that can be used with each key.
Changed Send {Text} to avoid toggling CapsLock or waiting for Win+L.
Fixed #Warn ClassOverwrite to not warn for A_Args.
Improved DBGp source command to properly convert between file codepage and UTF-8, and to reduce code size.
Other code size optimizations and trivial maintenance.

AutoHotkey - v1.1.28.02

Published by Lexikos over 6 years ago

Fixed Control ChooseString and ControlGet FindString ignoring the first two items.
Fixed Control ChooseString to send WM_COMMAND even if the control's ID is 0.
Fixed WinActivate to restore the active window, as originally intended for [v1.1.20.00].

AutoHotkey - v1.1.28.01

Published by Lexikos over 6 years ago

Fixed Thread treating omitted parameters as 0.
Fixed FileAppend to stderr (**).
Fixed break label being able to jump to an unrelated loop.
Reverted hotstring reset behaviour to pre-v1.1.28.00.
Added Hotstring("Reset") for manually resetting the hotstring recognizer.

AutoHotkey - v1.1.28.00

Published by Lexikos over 6 years ago

AutoHotkey - v1.1.27.07

Published by Lexikos over 6 years ago

Fixed default size of Gui with +Parent to not be restricted by parent [broken by v1.1.27.05].
Fixed controls not redrawing if a separate Tab control is shown/hidden immediately after the control was invalidated (such as when showing/hiding multiple controls at once).

AutoHotkey - v1.1.27.06

Published by Lexikos almost 7 years ago

Fixed hotstrings/Input causing stuck dead keys (broken by v1.1.27.05).

AutoHotkey - v1.1.27.05

Published by Lexikos almost 7 years ago

Fixed visible Input end keys causing any pending dead key to double up.
Fixed hotstrings/Input affecting how Tab/Esc act in a dead key sequence.
Fixed A_IconFile returning an incorrect path if a DLL was used.
Fixed Gui with +Parent to center within the parent GUI vs. the screen.
Fixed Input/hotstring detection of dead key sequences in Universal Windows Platform (UWP) apps.
Fixed < & v and > & v being seen as duplicates, and similar cases. This affects custom combinations where the prefix key is also a modifier symbol. This also fixes hotkeys which consist only of modifier symbols and a single trailing space, such as + ::, to be treated as errors rather than ignoring the space (hotkeys do not permit trailing space).

AutoHotkey - v1.1.27.04

Published by Lexikos almost 7 years ago

Fixed #Warn ClassOverwrite giving erroneous warnings.

AutoHotkey - v1.1.27.03

Published by Lexikos almost 7 years ago

Improved Menu x, NoStandard and Menu x, DeleteAll to work without attempting to destroy the underlying Win32 menu. This allows them to work when x is a menu bar or sub-menu of one.
Reworked the handling of vkXXscYYY:

AutoHotkey - v1.1.27.02

Published by Lexikos almost 7 years ago

Fixed loading of bmp files as icons at original size.
Fixed compound assignments such as Test.Prop[1] += 1 (broken by v1.1.27.01).

AutoHotkey - v1.1.27.01

Published by Lexikos almost 7 years ago

Fixed program crashes caused by ++X or --X in scripts which lack #NoEnv (broken by v1.1.27.00).
Fixed #Warn ClassOverwrite giving an erroneous warning for ++MyClass.X.
Fixed remapping to allow custom combinations such as a & b::c.
Fixed Send/hotstrings/Input to adapt to the keyboard layout of the focused control instead of just the active window. In particular, this affects UWP apps such as Microsoft Edge.
Fixed hook hotkeys to suppress the Start menu activation which occurs when an isolated Ctrl/Shift up is received. Ctrl up may be generated by the system when switching from a keyboard layout with AltGr to one without (such as from UK to US), if Ctrl is not held down at the time. This fixes hotkeys such as $#z::WinActivate x when the change in focus causes those conditions.
Fixed Input not collecting characters when both Shift keys are down.
Fixed Input to use "sc" and "vk" for end keys in ErrorLevel rather than "Sc" and "Vk" (caused by v1.1.20).
Fixed GetKeyName/VK/SC("vkXXscYYY") where YYY begins with A-F (broken by v1.1.26).