Jump to content

Autohotkey help needed


subwyking

Recommended Posts

Posted

I'm asking here, because in the world of AHK and emulators you guys are the best. I'm trying to set up an AHK script that will, when selecting a rom from a list in a GUI (rom collection browser for Kodi) it launches the selected rom and remaps the exit key to backspace. The script works fine for launching the emulator and remapping the key, but it isn't launching the rom. What additional script do I need to pass on the "%ROM" parameter to AHK?

Thanks

Russ

run, Project64.exe

SetWorkingDir, E:\ROM Collection\N64

sleep 1000

SetTimer, close_script_on_game_close, 1000

return

close_script_on_game_close:

Process,Exist,Project64.exe ;name of the executable

If !ErrorLevel

ExitApp

return

#IfWinActive, Project64

Backspace::Send !{F4}

Sent from my iPhone using Tapatalk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...