April 23, 2024, 05:03:18 am
Home
Help
Search
Login
Register
News:
Support this site
Shop
Amazon
through our link. Thank you!
Forum notices to gmail.com addresses are working. Microsoft addresses are still not.
The NEW Build Your Own Arcade Controls
|
Main
|
Software Forum
|
AutoHotKey script request - makaron
Main
Restorations
Software
Audio/Jukebox/MP3
Everything Else
Buy/Sell/Trade
Project Announcements
Monitor/Video
GroovyMAME
Merit/JVL Touchscreen
Meet Up
Retail Vendors
Driving & Racing
Woodworking
Software Support Forums
Consoles
Project Arcade
Reviews
Automated Projects
Artwork
Frontend Support Forums
Pinball
Forum Discussion
Old Boards
Raspberry Pi & Dev Board
controls.dat
Linux
Miscellaneous Arcade
Wiki Discussion
Old Archives
Lightguns
Arcade1Up
Try the site in https mode
Site News
Unread posts
|
New Replies
|
Recent posts
|
Rules
|
Chatroom
|
Wiki
|
File Repository
|
RSS
|
Submit news
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: AutoHotKey script request - makaron (Read 1487 times)
0 Members and 1 Guest are viewing this topic.
incrediblehark
Trade Count:
(
0
)
Jr. Member
Offline
Posts: 4
Last login:January 10, 2024, 03:44:15 pm
I want to build my own arcade controls!
AutoHotKey script request - makaron
«
on:
November 20, 2018, 06:35:05 pm »
I was wondering if anyone could help me set up an ahk script to exit makaron properly from attract mode. When you exit makaron with f8 there is still a window open that needs to be closed. So I would like to be able to press esc to send f8 to close the emulator, then wait a second or 2 and send the alt+f4 command to close the remaining window. If possible I would like this function to only work if each of these windows is running, so that pressing esc while not running makaron will not trigger the f8 and alt+f4 commands. Any and all help is very much appreciated! Thanks!
Logged
incrediblehark
Trade Count:
(
0
)
Jr. Member
Offline
Posts: 4
Last login:January 10, 2024, 03:44:15 pm
I want to build my own arcade controls!
Re: AutoHotKey script request - makaron
«
Reply #1 on:
November 20, 2018, 11:06:20 pm »
Got it to work!
#SingleInstance force
#If ( WinActive("NAOMI") )
Esc::
SetKeyDelay, -1, 110
Send {F8}
Sleep, 3100
WinClose, NAOMI emulator
#If
Return
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
The NEW Build Your Own Arcade Controls
|
Main
|
Software Forum
|
AutoHotKey script request - makaron