Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
samfisherirl authored Oct 24, 2023
1 parent 951a76c commit 59708d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions required/convert/converterMod.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@
new_outscript .= "`n"
FindMenu := 1
}
else if InStr(Trim(A_LoopField), ".New(") {
;fix naming convension of Menu
new_outscript .= StrReplace(A_LoopField, ".New(", ".Opt(")
new_outscript .= "`n"
Continue
}
else if (FindMenu = 1) && (InStr(Trim(A_LoopField), "Menu.Add(")) {
;fix naming convension of Menu
if (StrSplit(Trim(A_LoopField), "(")[1] = "Menu.Add") {
Expand Down

0 comments on commit 59708d0

Please sign in to comment.