PDA

View Full Version : Quick PC Game Exit/Close



teacworms
07-09-2011, 10:20 AM
Does anyone have an efficient and clean way of closing/exiting pc games using hyperlaunch? My current AHK script waits for me to completely exit out of the software using a games native "exit" before hyperlaunch closes. Totally basic.

I'm looking for a faster exit, more like how the mame emulator exits. Quickly. I'm sure this involves some "Kill Process" command, is this not recommended?

Anyone? This is the last big hurdle before I start building my cab! :proud:

_worms

Hypnoziz
07-09-2011, 09:40 PM
I personally wouldn't recommend it solely for the fact that it could potentially cause file corruption or data loss when force-closing PC applications. For example, I'm sure you've seen when games say things such as "Saving game, please don't turn off the power". Yeah...that warning is there for a reason - to protect data. However, that doesn't mean that it necessary WILL wipe anything out in your case. It depends on the game and when that game decides to access data.

Also, not to mention the fact that most programs have cleanup protocols when shutting down to flush your RAM of anything left over.

But...if you're looking to achieve a "kill process" command, you might wanna look into sending an Alt+F4 keystroke through AHK. Sorry, but I currently don't know how to do this. I'll look it up and see what I can find. In the meantime, if there's someone else on these forums (chillinwater!) that can do it, please post here and educate us both. =)

teacworms
07-11-2011, 02:58 PM
Thank for the feedback Hypnoziz