AutoHotkey

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

GPL-2.0 License

Stars
8.3K
Committers
22

Bot releases are hidden (Show)

AutoHotkey - v1.1.27.00

Published by Lexikos almost 7 years ago

Changes:
Replaced AU3_Spy.exe with WindowSpy.ahk.

New features:

Bug fixes:

AutoHotkey - v1.1.26.01

Published by Lexikos over 7 years ago

Fixed RegDelete (with no args) failing when A_LoopRegSubKey is blank, such as when enumerating keys directly under the root key.
Fixed RAlt/LAlt:: sometimes failing to prevent menu activation after the user alt-tabs away from a window and reactivates it.
Fixed SC → VK translation for multimedia keys, CtrlBreak, Pause, LWin and RWin, with the exception that multimedia keys and CtrlBreak are still translated incorrectly on Windows 2000 and XP.
Fixed VK → SC translation for multimedia keys, CtrlBreak and Pause.
Fixed 'Wait commands such as RunWait to log extra lines for ListLines only when necessary to show that it is still waiting; that is, after resuming from an interruption which logged other lines.

AutoHotkey - v1.1.26.00

Published by Lexikos over 7 years ago

Changed the format ListVars uses to display variables containing objects. The object's class name is now shown.
Added "class" and "clsid" modes to ComObjType().
Revised class names shown by the debugger and significantly reduced code size in the process.
Revised FileSetAttrib, FileSetTime and FileDelete to reduce code size. There should not be any changes in behaviour.
Made other minor optimizations to code size.
Fixed GetKeySC() with the key names Esc, Escape, ScrollLock and PrintScreen.
Fixed hotstring word detection of words containing nonspacing marks, such as Arabic diacritics.

AutoHotkey - v1.1.25.02

Published by Lexikos over 7 years ago

Fixed GUI option strings being permanently truncated if an error is raised.
Fixed properties and class sub-variables to allow non-ASCII characters.
Fixed new operator to allow __New to throw or exit.

AutoHotkey - v1.1.25.01

Published by Lexikos over 7 years ago

Fixed Send to allow other scripts to act on modifier state changes which immediately precede a special character, such as the Shift release in Send Mört.

AutoHotkey - v1.1.25.00

Published by Lexikos over 7 years ago

Added Hotkey, If, % FunctionObject.
Fixed website address in Help menu.

AutoHotkey - v1.1.24.05

Published by Lexikos over 7 years ago

Fixed WinSet AlwaysOnTop/Trans/TransColor to work on windows with 0 exstyle.

AutoHotkey - v1.1.24.04

Published by Lexikos almost 8 years ago

Fixed File.ReadNum() repeating old data if a prior File.Read() had stopped reading at the end of the buffer.
Improved buffer utilisation when File.Read() reaches the end of the buffered data.
Fixed GuiControl +Password to use the default bullet character on XP and later.
Fixed GuiControl +/-Password to redraw the control immediately.

AutoHotkey - v1.1.24.03

Published by Lexikos almost 8 years ago

Fixed COM exception messages to not end in `r.
Fixed {U+x} to support supplementary characters (x > 0xFFFF).
Fixed class properties which lack get{} to return an empty value instead of the internal Property object when the class has a base which does not define a value for the property. Properties defined in baseless classes already behaved correctly.
Fixed the background color of controls on a Tab3 control when the system has visual styles disabled (i.e. Windows Classic).
Fixed handling of thread-exit in functions which are called directly by an event (such as OnExit functions). This bug had no known effect except in the v2-alpha branch.
Fixed the debugger to detect disconnection immediately (i.e. when a client terminates without calling stop/detach).
Fixed the debugger to treat property_get -m 0 as "unlimited", as per the DBGp spec.
Fixed the debugger to expect base64 for property_set -t integer/float, as per the DBGp spec.

AutoHotkey - v1.1.24.02

Published by Lexikos about 8 years ago

Added a Run with UI Access option to the installer.
Added documentation for Tab3 autosizing.
Fixed several Tab3 bugs:

Fixed OnMessage to pass lParam as unsigned on 32-bit.
Fixed Gui Name : to allow spaces before the colon.
Fixed identifying a Gui or GuiControl by HWND with a negative value.
Fixed ComObject to suppress any errors raised by disconnection of events after the script has released the object.
Fixed Gui Show causing the window to shrink if it had a multi-line menu bar.
Fixed LV_InsertCol(n, width) not causing ListView scrollbar to update on some OS versions.
Optimized code size of FileRecycleEmpty.

AutoHotkey - v1.1.24.01

Published by Lexikos about 8 years ago

Changed Hotkey, If, Expression to raise an error if the unused third parameter is not blank.
Fixed &&, || and ternary to release any object used as the condition, as in if (a.subObject && b).
Fixed Gui/GuiControl failing to "check" radio buttons within a Tab3 control.
Fixed FileCreateShortcut to allow relative paths for the LinkFile parameter on Windows 10.
Fixed themed Tab3 control to not override the custom text color of its controls.
Fixed debugger mishandling continuation commands in some specific cases.

AutoHotkey - v1.1.24.00

Published by Lexikos over 8 years ago

Breaking changes:
Passing SetTimer's Label parameter an empty variable or an expression which results in an empty value is now considered an error. The parameter must be either given a non-empty value or completely omitted.
Run-once timers are automatically deleted after running if they are associated with an object created by the script. This allows the object to be freed if the script is no longer referencing it, but it also means the timer's Period and Priority are not retained.
SetTimer, Hotkey, GuiControl and Menu now check the minimum parameter count of functions given by reference (not just by name, as in previous versions). If the function requires too many parameters, an error is raised or ErrorLevel is set (as appropriate).
Backward-compatible changes:
If SetTimer's Label parameter is omitted and A_ThisLabel is empty, the current timer (if any) is used.
New features:
Added Tab3 control type, solving a number of issues with Tab controls.
Bug-fixes:
Fixed GuiControl to update controls when adding/deleting tabs. Specifically:

Fixed +Disabled/+Hidden losing effect on controls in a tab.
Fixed disabled tab controls to ignore Ctrl+Tab.
Fixed Gui Tab without parameters to start a new radio group if applicable. Gui Tab with parameters already had this effect.

AutoHotkey - v1.1.23.07

Published by Lexikos over 8 years ago

Fixed Menu x, Insert, y, z, % object to use the object, not ignore it.
Fixed Menu x, Add, :item text, % object to use the object, not look for a submenu.

AutoHotkey - v1.1.23.06

Published by Lexikos over 8 years ago

Fixed break label crashing the program if nested directly inside its target loop.

AutoHotkey - v1.1.23.05

Published by Lexikos over 8 years ago

Fixed InputBox, MsgBox, FileSelectFile and FileSelectFolder sending an unwanted Alt-up if Alt is down. This was due to an error with the Ctrl/Shift workaround added in v1.1.22.01.
Improved the Ctrl/Shift workaround to avoid unnecessarily "masking" the Win key if Ctrl, Shift or Alt is also down.

AutoHotkey - v1.1.23.04

Published by Lexikos over 8 years ago

Fixed LV_Modify to support omitting Options, as in LV_Modify(r,, col1).

AutoHotkey - v1.1.23.03

Published by Lexikos over 8 years ago

Fixed __Delete meta-functions erroneously suppressing or prematurely re-throwing exceptions, when they are called during exception propagation.
Fixed load-time detection of function calls where a required parameter is blank, as in fn(x,,y).

AutoHotkey - v1.1.23.02

Published by Lexikos over 8 years ago

Fixed RegDelete deleting the entire key instead of the default value.
Code maintenance; minor code size improvement.

AutoHotkey - v1.1.23.01

Published by Lexikos over 8 years ago

Fixed a theoretical issue with loading scripts from weird/very long paths.
Ahk2Exe: Fixed Unicode in compiled scripts (broken by v1.1.23.00 release).

AutoHotkey - v1.1.23.00

Published by Lexikos almost 9 years ago

Added Menu Insert sub-command.
Added MenuGetHandle().
Added MenuGetName().
Added menu item options: Radio, Right, Break and BarBreak.
Improved the Menu command to allow identifying items by position: 1&
Added LoadPicture().
Added hicon/hbitmap: syntax for passing handles to commands which normally load an image from file.
Added built-in variables: A_CoordModeToolTip/Pixel/Mouse/Caret/Menu, A_DefaultGui, A_DefaultListView, A_DefaultTreeView, A_KeyDelayPlay, A_KeyDuration/Play, A_MouseDelayPlay, A_SendLevel, A_SendMode and A_StoreCapslockMode.
Added Ix Hotkey option to set the hotkey variant's input level to x.
Improved Picture control to support BackgroundTrans with icons.
Improved Picture control to reduce flicker when loading large images.
Small optimizations to the menu code and built-in var lookups.
Fixed conversion of menu items to/from separators.
Fixed A_ThisMenuItemPos to support duplicate item names.
Fixed sub-menus sometimes not being recreated after a menu is deleted.
Fixed AutoHotkeyXXX.exe to launch AutoHotkey.chm, not AutoHotkeyXXX.chm.