Known Issues
Omitting FileSelect's Filter parameter causes an access violation. An empty string can be passed instead. Please report any similar issues.
If the current installed version is v1.1, installing with the exe shows an UnsetError. This can be avoided by downloading the zip and running Install.cmd instead.
Changes
Changed ComValue(8, "...") to automatically free the BSTR on __delete.
Changed ComValue(8, ptr, 1) to automatically free the BSTR on __delete.
Changed ComObjArray assignment to copy the BSTR if assigned a wrapper such as ComValue(8, "...").
Fixed error messages for unhandled exceptions not being passed to the debugger client (via stderr redirection).
Fixed DriveGetStatus to return "Invalid" for "C:\not-extant" etc.
Implemented a trivial optimization to DriveGetList.
Fixed StrGet(Buffer(0)) to return "", not throw.
Fixed ListViewGetContent("Count Col",...).
Fixed File.Read(1) stopping at "`r`n" when newline translation is off.
Fixed Exit(exitCode) ignoring the exit code.
Fixed GuiCtrl.Focused for controls with child windows, such as ComboBox.
Fixed an issue preventing the definition of properties named "IsSet".
Fixed hotstrings with X option to allow whitespace before the action.
Fixed /include relative-path to be relative to initial working dir.
Fixed a spelling error in the #Warn Unreachable message.
Merged v1.1.34.04 (but some fixes were only applicable to v1).
Merged
pull request #299 by Helgef.
Implemented a new error/warning dialog:
- Shortcut buttons for Help, Reload, Edit and ExitApp.
- Continue/Abort for continuable errors (instead of Yes/No).
- For runtime errors, the call stack can be shown.
- The dialog is wider (better for call stacks and long code lines) and supports text selection and scrolling.
Internal changes:
Split script2.cpp into several separate files to improve maintainability and allow more control over compiler optimizations.
Implemented a new method of binding the C++ implementation of each built-in function to the script. This is expected to facilitate future development. For now, parameter type validation and conversion is improved for the affected functions (consistent with other functions that already behaved this way):
- Integer parameters throw TypeError if given a non-numeric value.
- Numeric parameters that permitted "blank or omitted" no longer permit "blank".
- String parameters automatically call .ToString() on any object value. This was not intended to be enabled in this release, and may be disabled in the next release, until it can be supported consistently throughout the library and language.
UX script changes:
Fix LauncherConfigGui not preselecting the configured versions
Fix .bin files not being installed for v1
Fix elevation in install-ahk2exe.ahk
Support running install-ahk2exe.ahk outside of the installation dir
Changes to support compiled setup
Fix AutoHotkey.exe symbolic link(s) not being deleted
Fix launcher falsely identifying some v1 code as v2-pct
Fix launcher handling of /include
Change standalone ui-newscript.ahk to show Explorer window
Add protection against race condition for pre-install checks
Change install-version.ahk to execute install.ahk if newer