PDA

View Full Version : Debugging autohotkey



Keyser_Soze
06-03-2011, 03:17 PM
Hi Everbody,

I'm trying to log a couple of variables to the autohotkey log that's generated in the HyperSpin directory but can't seem to figure out how that's done in the .ahk file.

I also tried throwing in a the odd MsgBox command, but that doesn't seem to work either.

Any tips for debugging would be appreciated. It makes me appreciate the .net development environment. It practically holds you hand for troubleshooting.

Does Hyperlaunch.exe even get called when you use a single system and have PC Games that use a lnk file?

Thanks
Marc

Keyser_Soze
06-03-2011, 04:18 PM
For god sakes. I had hyperlaunch=false for PC games. I thought I was losing my mind.

Thanks anyways.

blur
06-04-2011, 11:04 AM
to debug hyperlaunch run it with ahk not with exe

run:

hyperlaunch.ahk sysname romname

from command line or from shortcut

then you will be able to go to tray and open ahk window and watch all variables and lines executed

Keyser_Soze
06-07-2011, 06:21 AM
Thanks blur, I'll have to try that.