Page 1 of 1

Preview of v1.1.28.00

Posted: 10 Jan 2018, 05:08
by lexikos
  • Changed __Delete to catch and report exceptions. __Delete previously had the effect of "postponing" the exception until the next function call or the end of the try-block/thread.
  • Added support for all built-in variables in #Include.
  • Added A_TimeIdleKeyboard and A_TimeIdleMouse.
  • Added A_ListLines.
  • Added A_ComSpec.
  • Added A_LoopFilePath (alias of A_LoopFileFullPath, which is a misnomer).
  • Added hotstring E option to execute instead of auto-replace.
  • Added Hotstring(), the hotstring version of the Hotkey command.
  • Changed hotstring recognizer to reset when focus changes instead of just when the active window changes.
  • Added function hotstrings.
  • Optimised detection of AltGr on Unicode builds. This fixes startup delays present in v1.1.27.00, which previously occurred (in part) each time Send was called for the first time for each target keyboard layout.
  • Changed WinMenuSelectItem to treat menu 0& as the window's system menu.
  • Added MaxParts parameter to StrSplit.

Documentation is included in the download.

Re: Preview of v1.1.28.00

Posted: 13 Jan 2018, 19:59
by lexikos
Updated (v1.1.28-a02).
  • Improved #MenuMaskKey to allow specifying VK and SC, or vk00sc000 (disable masking).
    Fixed #MenuMaskKey treating some valid keys (such as Del) as invalid.
    (These changes were already in the included documentation, but not the executable.)
    Reduced size of menu masking code.
  • Fixed StrSplit MaxParts when Delimiter is omitted.
  • Added further explanation to the documentation of why 0& should only be used with custom menus.

Re: Preview of v1.1.28.00

Posted: 14 Jan 2018, 08:09
by oldbrother
Thanks a lot! Where is the installer download link?

Re: Preview of v1.1.28.00

Posted: 15 Jan 2018, 02:50
by lexikos
There isn't one. :roll:

There won't be one until the actual release.

Re: Preview of v1.1.28.00

Posted: 15 Jan 2018, 10:47
by joedf
#Include Ahk_Patience :hehe:

Re: Preview of v1.1.28.00

Posted: 16 Jan 2018, 05:52
by Drugwash
Where are the sources for this version, please? I downloaded the test branch from GitHub but AHK_VERSION is set to 1.1.27.04. Is that an overlook or aren't the sources public (yet)? I just wanna look over some keyboard layout-related code, not police on the availability of sources. :)

Re: Preview of v1.1.28.00

Posted: 18 Jan 2018, 03:48
by lexikos
The sources are right where you looked.

The version number is not committed, except on the master branch. It is set temporarily by the release script to include the ID of the commit, which cannot be included in that same commit for obvious reasons. The release script suggests a version number based on the last tag, number of commits since, and current commit ID; I edit this via InputBox. I never edit ahkversion.h directly.

The last 7 characters of the version number are the first 7 characters of the commit ID.

Re: Preview of v1.1.28.00

Posted: 18 Jan 2018, 08:54
by Drugwash
OK, thank you for the detailed information.

Re: Preview of v1.1.28.00

Posted: 27 Jan 2018, 00:08
by lexikos
Before v1.1.28.00 is released, I need to find answers to some questions regarding the hotstring() syntax;
Hotstring E(xecute) vs E(nd chars), Hotkey directives - AutoHotkey v2 Development

Edit: v1.1.28.00 has been released.