#Requires Autohotkey v2.0
#SingleInstance Force
esc::ExitApp()
F11::
F12::
{ ; V1toV2: Added bracket
global ; V1toV2: Made function global
MouseGetPos(&mX, &mY)
} ; V1toV2: Added bracket in the end
V2 (Expected):
#Requires Autohotkey v2.0
#SingleInstance Force
esc::ExitApp()
F11::
F12::
{ ; V1toV2: Added bracket
global ; V1toV2: Made function global
MouseGetPos(&mX, &mY)
((A_ThisHotkey="F11") ? announce("x := " mx) : announce("y := " my))
return
} ; V1toV2: Added bracket before function
announce(msg) {
ToolTip(msg)
return
}
Converted code is completely empty/missing or some code is missing from original. I have fixed this and will submit a pull-request.
V1:
V2 (Converted):
V2 (Expected):
Converted code is completely empty/missing or some code is missing from original. I have fixed this and will submit a pull-request.