Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

I was wondering how do I go about creating scripts to have the emulator close using escape key. I already have the 

$ESC::
{
WinClose, ahk_exe TeknoParrotUi.exe
}

which works fine but when running games that use fork emulators like Dolphin, Play and Rpcs3 I can't use the escape key. I tried to add all of these in the running script in teknoparrot:

$ESC::
{
WinClose, ahk_exe TeknoParrotUi.exe
}

$ESC::
{
WinClose, ahk_exe play.exe
}

$ESC::
{
WinClose, ahk_exe rpcs3.exe
}

$ESC::
{
WinClose, ahk_exe dolphin.exe
}

 

But get an error. Any help would be great.

Edited by Joe35car
Posted
2 hours ago, Joe35car said:

But get an error

The error you neglected to tell us even what it was is possibly telling you that you can't set the same hotkey more than once.  Try combing those actions under one hotkey assignment.

Posted
1 hour ago, Joe35car said:

How would it look like? Not by my pc so I don't remember the exact thing the error showed. Thanks again for the help. 

Again, without knowing the error (exact or otherwise), this is just a guess.  Combine the actions (WinClose...) into one hotkey ($Esc::) assignment:

$ESC::
{
   WinClose, ahk_exe TeknoParrotUi.exe
   WinClose, ahk_exe play.exe
   WinClose, ahk_exe rpcs3.exe
   WinClose, ahk_exe dolphin.exe
}

 

Posted (edited)

Thanks it works at closing all those systems now but all except Teknoparrot I get this error when closing the game using esc key.

Untitled.png

Edited by Joe35car
Posted
11 minutes ago, Joe35car said:

Thanks it works at closing all those systems now but all except Teknoparrot I get this error when closing the game using esc key.

Glad to hear.  

The error looks to a TeknoParrot UI error.  I don't use that app, so can't be of any help.  Hopefully someone else can chime in to help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...