Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Dragonman73 on June 20, 2009, 06:12:20 pm

Title: Need help with script for autohotkey
Post by: Dragonman73 on June 20, 2009, 06:12:20 pm
Hey Everyone,

I'm running a atomicfe front end with several game emulators (Sega, Mame, N64, Super Nintendo, Nintendo) and need a way to force the #1 and #2 button on my keyboard pressed at the same time to simulate escape only when one of the games are running.

 From default the atomicfe front end uses the #1 and #2 buttons to toggle back and forth between game systems..you need to use escape to shut the game down and go back to the frontend to select another system.....but if you hit escape any other time other than exiting a game it shuts the frontend down.

Here is the path to my mame front end as an example

C:\AtomicFe_v20\Projects\Install\emulation\Arcades\Mame\Mame.exe

How would the code need to look to make this work?  Thanks in advanced  :)
Title: Re: Need help with script for autohotkey
Post by: Dragonman73 on June 20, 2009, 07:02:58 pm
Hey guys I got it figured out, AtomicFe has a feature to run and kill programs when a emulator starts. I just linked my autohotkey exe with the script to force #2 to become escape in the atomicfe settings for each emulator.

Works like a charm  :)