Okay I've been coding with XP and finally need to code on Win7 (yuck). Latest version installed into directory C:\Program Files\AutoIt3 NOT C:\Program Files (x86) This single line program works in XP but gives an error in Win7 - what am I doing wrong?? MsgBox(0,"",@ScriptLineNumber) Here's the error in the console window: ! Unable to determine the location of the AutoIt3 program directory! >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /