postmortem
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Posts posted by postmortem
-
-
-
lol thanks for the advice. I'm actually building this mame machine for a friend and was just trying to make it as foolproof as possible. I guess I'll just wait for future updates. Thanks for the info.
-
starting a MAME game by spamming the start button opens multiple instances of MAME. Can this be blocked so it will only open 1 instance of MAME?
Exit any emulator
in Troubleshooting
Posted
After doing a ton of research I found this to be the best script to use. The "~" before the key does the pass-through of the key so you can get rid of the whole last part of your script.
~z::
duration := 0
If GetKeyState("z","p")
{
start := A_TickCount
While GetKeyState("z")
Sleep, 1
duration := A_TickCount - start
if (duration > 3000)
WinClose, ahk_exe {{{StartupEXE}}}
}
Return