Releases: AutoHotkey/AutoHotkey
v1.1.28.02
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].
v1.1.28.01
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.
v1.1.28.00
Changes:
- Changed __Delete to catch and report exceptions when called during object cleanup. It previously had the (erroneous) effect of "postponing" the exception until the next function call or the end of the try-block/thread.
- Changed hotstring recognizer to reset when focus changes instead of just when the active window changes.
- Changed WinMenuSelectItem to treat menu
0&
as the window's system menu.
New features:
- Added support for all built-in variables in the path passed to #Include.
- Added A_TimeIdleKeyboard and A_TimeIdleMouse.
- Added A_ListLines.
- Added A_ComSpec (alias of ComSpec).
- Added A_LoopFilePath (alias of A_LoopFileFullPath, which is a misnomer).
- Added hotstring X option to execute a same-line action instead of auto-replace.
- Added Hotstring().
- Added function hotstrings.
- Added MaxParts parameter to StrSplit.
- Improved #MenuMaskKey to allow specifying VK and SC, or vk00sc000.
Bug fixes:
- Fixed #MenuMaskKey treating some valid keys (such as Del) as invalid.
- Optimised detection of AltGr on Unicode builds. This fixes a delay which occurred at startup (since v1.1.27.00) or the first time Send is called for each target keyboard layout (prior to v1.1.27.00).
- Fixed misleading vicinity lines for
x up::y
remap error. - Fixed
Menu Tray, Icon, HICON:%hicon%
, which now uses hicon without resizing it.
v1.1.27.07
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).
v1.1.27.06
Fixed hotstrings/Input causing stuck dead keys (broken by v1.1.27.05).
v1.1.27.05
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).
v1.1.27.04
Fixed #Warn ClassOverwrite giving erroneous warnings.
v1.1.27.03
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
:
- Fixed GetKeyVK and GetKeyName treating vkXXscYYY as vk00scYYY.
- Send is now more strict with {vk...} and invalid suffixes, consistent with similar changes made by v1.1.27.00 (but sc is still supported).
- Reduced code size.
v1.1.27.02
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).
v1.1.27.01
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).