Had put high hopes into the script converter, but I still cannot get this to work:
v1:
Code: Select all
MsgBox, 64, Ahk Version: %A_AhkVersion%,
(LTrim
ScriptPath:`t%A_ScriptFullPath%
WorkingDir:`t%A_WorkingDir%
ScriptDir:`t`t%A_ScriptDir%
SendMode:`t%A_SendMode%
TitleMatchMode:`t%A_TitleMatchMode%
)
Return
Code: Select all
MsgBox("
(LTrim
ScriptPath:`t" A_ScriptFullPath "
WorkingDir:`t" A_WorkingDir "
ScriptDir:`t`t" A_ScriptDir "
SendMode:`t" A_SendMode "
TitleMatchMode:`t" A_TitleMatchMode "
)", "Ahk Version: " A_AhkVersion, 64)
Return
Read up on the various sections in the manual, but it's too technical, it sends me jumping from one link to the next.
Example 2:
It's from a popup menu that works fine for me in v1, but throws an error in v2.
v1:
Code: Select all
Menu, MyFoc, Add, CopyAll, #a
Menu, MyFoc, Add, New All-in, All-in
Code: Select all
MyFoc.Add("CopyAll", #a)
MyFoc.Add("New All-in", All-in)
The second should jump to a label.