Releases: mmikeww/AHK-v2-script-converter
v1.6
Changes
- Fixed missing
PixelSearch
variation parameter - Multiple ternary fixes (multi-line, nested)
- Fixed legacy static conversion when mixed with normal assignment
- Fixed legacy global and local assignments
- Fixed assumed glabels making
OnEvent
when label does not exist - Fixed
Transform, BitNot
- Fixed missing backtick when
#EscapeChar
was used - Fixed
SetTimer
deleting timer instead of having no delay - Added
FileSelectFile
andInput
ErrorLevel - Fixed
FileSelectFile
M mode handling - Fixed class properties with no params
- Changed GUI hwnd conversion to be on same line
- Added
StringCaseSense
support (#324) - Fixed
VarSetCapacity
fixes from replacingByRef
params - Fixed GUI callback function params
- Fixed legacy assignment with variable dereferences
- Fixed objects with quoted names
- Fixed invalid control names when hwnd is used
- Fixed
GuiControl
when SubCommand is passed as a variable - Fixed some invalid variable names when
Gui, hwndVariable
is used - Fixed
GuiControl
usingOptions
instead ofOpt
Converter Gui
- Made docs get opened in browser to fix cloudflare protection
Antivirus Warning
Due to the nature of AutoHotkey, Windows smart screen may silently block the executable from running. If this happens you can either add an exclusion or download and run from source
The versioning system has also been changed to Major.Minor
v1.5.1
v1.5
Changes
- Fixed assignment issue with "" -> `" conversion
- Fixed AHK v1.0 legacy
static
assignment conversion - Fixed "" -> `" in functions (#309)
- Fixed multi statement returns (#304)
- Fixed unwanted "" -> `" in ternaries
- Fixed ByRef conversion converting comments
- Fixed mandatory VarRef variables from being missing in v2 conversion
- Fixed delim incorrectly being converted when
#EscapeChar
was used - Fixed checking params for ByRef
- Changed FileMove conversion to only use ErrorLevel conversion if its been used in script
- Fixed gLabel conversion to ignore g in previous options
- Removed
Menu, UseErrorLevel
- Fixed
GoSub
variables (#315) - Fixed objects with quoted names
- Fixed same line conversions when brackets get removed
- Fixed assumed gLabel conversion adding OnEvent when label doesn't exist
- Fixed
RegExMatch
pseudo array converting strings - Fixed Gui list controls when a variable is used instead of a string
Converter Gui
- Added the Output menu (#312)
-
- Added remove converter comments
-
- Added replace
\n
with\r\n
line endings
- Added replace
- Added performance test (average time of 250 conversions) (#312)
Antivirus Warning
Due to the nature of AutoHotkey, Windows smart screen may silently block the executable from running. If this happens you can either add an exclusion or download and run from source
v1.4
Changes
- Fixed issues with empty string assignments (#290)
- Improved
ByRef
to&
conversion - Fixed switch conversions with brackets in SwitchValue
- Fixed
VarSetCapacity
replacing comments - Fixed commented
Goto
s from removing new lines - Added
WinSet, TopMost
conversion - Fixed missing first param for some
WinSet
sub-commands - Added Label -> Func conversion for
Hotstring()
- Improve Goto -> Func conversion
- Fixed gLabel conversion breaking Font and Margin
- Fixed converting
Gui, Cancel
to Hide - Removed
UseErrorLevel
fromHotkey
Converter Gui
- Added warning if script is too large to create the control
Antivirus Warning
Due to the nature of AutoHotkey, Windows smart screen may silently block the executable from running. If this happens you can either add an exclusion or download and run from source
v1.3
Changes
- Fixed
try
inif
statement with no braces from pairing with else (#282) - Removed space when whitespace is present between gui name and sub-command
Fileread
->FileRead
(#283)- Fixed
+hwnd
inGui, New
- Fixed
ByRef
conversion in func calls (#287) - Fixed g being omitted in GUI name (#288)
Antivirus Warning
Due to the nature of AutoHotkey, Windows smart screen may silently block the executable from running. If this happens you can either add an exclusion or download and run from source
v1.2
Changes
- Split
FileReadLine
conversion forErrorLevel
and noErrorLevel
- Fixed pseudo-characters in
StringMid
with L mode VarSetCapacity
is now wrapped in ().Size (NumPut
only)- Readd
SendMessage
conversion - Fixed assumed menu callbacks and menu params
- Fixed "" -> `" conversion in quoted functions (#273)
- Fixed MsgBox continuation sections with vars (#274)
- Fixed missing/blank output for certain conversions (#277)
- Fixed hotkey conversion with characters that have other meanings (
(){}[]:;
) (#279)
v1.1
v1 (ish)
v0.1 - Test Compile
Initial compile test
Binaries will be automatically compiled and uploaded
In future releases a changelog will be here