Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: MAME TIME on June 05, 2013, 09:48:39 am
-
Hey
just wondering how I can get the pc to shutdown when exiting a game? did a search and came up with nothing. im not using any frontends,
-
Autohotkey cures all, but it's up to you to learn how to use it.
http://www.autohotkey.com/docs/commands/Shutdown.htm (http://www.autohotkey.com/docs/commands/Shutdown.htm)
Can be triggered by http://www.autohotkey.com/docs/commands/_IfWinActive.htm (http://www.autohotkey.com/docs/commands/_IfWinActive.htm)
-
a little more info might be nice. What exactly are you trying to accomplish? are you talking about a game running in Mame? or a pc game? If mame and no front end, how are you launching the game?
-
im launching geometry wars, and once I exit out I wanted the pc to shutdown, im using 2 joysticks and 2 buttons-enter and escape.
-
You could create a simple batch file which launches the game and afterwards shuts down:
c:\game\geometry.exe
shutdown /s
To start the game use the batch file instead of calling the game executable directly.
-
Would my program, "The Launcher" do what you want?
http://files.arcadecontrols.com/details.php?image_id=3565 (http://files.arcadecontrols.com/details.php?image_id=3565)
Image: