I can't have the MsgBox window moved. The file is test.AHK and the WinTitle was obtained from WinSpy. What am I doing wrong? Please help. Thank you.
Code: Select all
DOS := "11/29/21"
PtName := "John Doe"
BD := "08/22/82"
MsgBox, 4096, DOS-Name-BD, % "DOS:`t" DOS "`n`nName:`t" PtName "`n`nDOB:`t" BD
WinWaitActive, DOS-Name-BD ahk_exe Test.exe
;WinMove, ahk_class #32770, , 82, 300
WinMove, DOS-Name-BD, , 82, 300
;WinMove, ahk_exe test.exe, , 82, 300
;WinMove, DOS-Name-BD ahk_exe Test.exe, , 82, 300
Return