Skip to content

Releases: mmikeww/AHK-v2-script-converter

v1.6

19 Jan 08:00
Compare
Choose a tag to compare

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 and Input 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 replacing ByRef 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 using Options instead of Opt

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

21 Dec 04:48
31a4644
Compare
Choose a tag to compare

Changes

  • Functionally the same as v1.0.5, just updated to fix compiling

v1.5

21 Dec 02:24
Compare
Choose a tag to compare

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 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

04 Nov 00:35
Compare
Choose a tag to compare

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 Gotos 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 from Hotkey

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

09 Sep 10:05
a4edf00
Compare
Choose a tag to compare

Changes

  • Fixed try in if 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 in Gui, 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

08 Aug 11:41
ad7f3ec
Compare
Choose a tag to compare

Changes

  • Split FileReadLine conversion for ErrorLevel and no ErrorLevel
  • 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

20 Jul 04:43
a709015
Compare
Choose a tag to compare

Changes

  • Fixed directives that changed script syntax (#242)
  • Updated comments for clarity (#257, #260, #264)
  • More "" -> `" fixes (#259)
  • Fixed converting objects created by VarSetCapacity() (#265)

v1 (ish)

15 Jul 03:28
e4849c9
Compare
Choose a tag to compare

Changes

  • Fixed bug with StringMid when L mode was on and no count param

This release is mainly to setup getting code from master branch and after merging #251
Expect future releases to be after every couple of commits (or any major changes)

v0.1 - Test Compile

14 Jul 00:47
Compare
Choose a tag to compare

Initial compile test
Binaries will be automatically compiled and uploaded
In future releases a changelog will be here