Versie 2.0.22 van AutoHotkey is uitgekomen. Dit programma stelt je in staat om vaak gebruikte toetsaanslagen, handelingen en/of knoppencombo's met toetsenbord en muis in een script achter een sneltoets te zetten, zodat de betreffende handeling in één keer wordt uitgevoerd. Daarbij is het mogelijk om eerder gescripte toetscombinaties van AutoIt2 te converteren naar de scripttaal van AutoHotkey. Sinds versie 2.0.20 zijn de volgende verbeteringen aangebracht:
Changes in version 2.0.22Changes in version 2.0.21
- Removed the undocumented effect that a hotkey with the </> prefix had on the corresponding modifier key; e.g.
<^a::causingLCtrl::to fire on release, inconsistent with the documentation. Always firing on press provides greater consistency and flexibility. The modifier key itself was suppressed since v2.0.20. Neutral modifiers such asCtrl::always fire on release, and similar behaviour can be implemented with A_PriorKey and~LCtrl up::.- Changed error dialogs to use msftedit.dll instead of riched20.dll to fix the following issues:
- Hanging when inspected by UI Automation.
- Broken characters and inconsistent fonts when the error message includes certain character sets (e.g. emoji, Chinese or Arabic).
- Fixed errors within __Delete being suppressed if a Try/Catch is active.
- Fixed CallbackCreate to validate ParamCount.
- Fixed detection of
DllCall(... "str",&var:={} ...)as an error.- Fixed
CapsLock::to suppress even if CapsLock is used as a prefix key.- Fixed neutral Ctrl/Alt/Shift hotkeys to not suppress the key [broken by v2.0.20].
- Fixed fire-on-release behaviour of neutral Ctrl/Alt/Shift hotkeys when a key-up variant is turned on but disabled by #HotIf.
- Fixed
CapsLock & 1::to revert CapsLock state even if another prefix key is pressed before CapsLock is released.- Fixed L/R modifier key-up not being suppressed in some cases where key-down was suppressed.
- Fixed L/R modifier key-up to be passed through if
~is used even if key-down was suppressed.- Fixed L/R modifier hotkeys to fire on press even if the corresponding neutral modifier is present; e.g.
LCtrl::withCtrl::.- Fixed corruption of unquoted continuation sections with trailing spaces.
- Fixed file stream I/O to flush cached writes if the file hasn't been closed when the process exits.
- Fixed
`;in contination sections with the`(literal escape) andC(comment) options.- Cleaned up some code within the keyboard/mouse hook.
- Fixed StrGet crashing when given an address and not a length. (Broken by v2.0.20)
