It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Thanks for the tips, everyone! I will play with some of my old games this weekend. I am sure some of those old games will never make it here, so now I can get them to open up a little easier.
avatar
eyeball226: I was just going to suggest he drops one of the -conf arguments, but this is really cool! I can think of loads of applications for this.
Heh, actually, the reason I tried out and started using AutoHotkey (and Inno Setup), was because GOG uses them.
avatar
eyeball226: I was just going to suggest he drops one of the -conf arguments, but this is really cool! I can think of loads of applications for this.
avatar
Miaghstir: Heh, actually, the reason I tried out and started using AutoHotkey (and Inno Setup), was because GOG uses them.
What do GOG use AutoHotkey for?
avatar
eyeball226: What do GOG use AutoHotkey for?
I don't actually know, but I'm pretty sure it's for gogwrap.exe. I don't know the exact workings of it, but it seems to take a single argument then looks up a key of the same name in the registry (at "HKLM\SOFTWARE(\Wow6432Node)\GOG.com"), and reads settings from there telling how to launch the game.
Post edited May 21, 2011 by Miaghstir
avatar
eyeball226: What do GOG use AutoHotkey for?
avatar
Miaghstir: I don't actually know, but I'm pretty sure it's for gogwrap.exe. I don't know the exact workings of it, but it seems to take a single argument then looks up a key of the same name in the registry (at "HKLM\SOFTWARE(\Wow6432Node)\GOG.com"), and reads settings from there telling how to launch the game.
Has anyone worked out what gogwrap.exe does?

I think I'll probably just be using AutoHotkey to make tiny .exes that replace batch files.
Post edited May 21, 2011 by eyeball226
avatar
eyeball226: Has anyone worked out what gogwrap.exe does?
Not exactly, no. But the above is what I'd call an "educated" guess, since I've only gone by basic observed behaviour, not tried to dig deeper and get more informed.
#NoEnv
SendMode Input

Run, G:\Games\DOSBox\DOSBox.exe -conf "G:\Games\DOSBox\dosbox.conf" -conf "G:\Games\DOSBox Game Launcher\profiles\163.conf" -noconsole, G:\Games\DOSBox Game Launcher\dosroot
avatar
Miaghstir:
I've just downloaded AutoHotKey and I've been reading through the help file and trying to understand your script.

I understand it all except for the purpose of SendMode Input, could you explain its usage in this script?
avatar
eyeball226: I understand it all except for the purpose of SendMode Input, could you explain its usage in this script?
Part of the default script they think you should build everything from, I don't know exactly what it does though it may be used to determine how automatic key presses and mouse actions are sent to other applications... you can use AutoHotkey to script a fully GUI application, by telling it to send keys and mouse actions to windows and elements (buttons, text boxes and whatnot).

The only line I added was the "Run" one.
Post edited June 03, 2011 by Miaghstir