The online racing simulator
Windows 7 issue?
(3 posts, started )
Windows 7 issue?
Hi again all.

I just bought an computer with Windows 7 Professional and I´m having problems starting an AutoHotkey script.

I have a line in LFS autoexec that start up an AutoHotkey script, and all this works fine in Windows 8 and 0.6P version of LFS.

Now i tried to do the same in Windows 7, (and 0.6P) and I get a message in LFS that says: autoexec:line 15 - "Parameter is not valid",
and the AddAi script doesnt start up. I can start it manually by doubleclicking the script, so this must be an LFS/Windows 7 issue..??

The line in Windows 8 is : /exec C:\AutoHotkey\AutoHotkey.exe C:\LFS\docs\AddAi.ahk
and this works fine.

The line in Windows 7 is slightly different because Autohotkey is installed in Program Files directory:

/exec C:\Program Files\AutoHotkey\AutoHotkey.exe C:\LFS\docs\AddAi.ahk

Can You give me a hint why this isn´t working?

Thanks
#2 - Bean0
Maybe it doesn't like the space in the file path.

You could try putting quotes around it...

/exec "C:\Program Files\AutoHotkey\AutoHotkey.exe" C:\LFS\docs\AddAi.ahk

or maybe try installing autohotkey into a folder that does not have a sapce in its name.
Hi

Incredible!

You solved my problem, THANKS THANKS THANKS!

All the best to YOU :-)

Meseplayer.

Windows 7 issue?
(3 posts, started )
FGED GREDG RDFGDR GSFDG