| Main > Main Forum |
| Shutting pc down when exiting program |
| (1/2) > >> |
| MAME TIME:
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, |
| BadMouth:
Autohotkey cures all, but it's up to you to learn how to use it. http://www.autohotkey.com/docs/commands/Shutdown.htm Can be triggered by http://www.autohotkey.com/docs/commands/_IfWinActive.htm |
| severdhed:
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? |
| MAME TIME:
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. |
| EMDB:
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. |
| Navigation |
| Message Index |
| Next page |