Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Help with script for closing a process


  • Please log in to reply
No replies to this topic
chewz0712
  • New members
  • 1 posts
  • Last active: Oct 28 2016 04:18 PM
  • Joined: 13 Oct 2015

Hi,

 

I found a great little basic script for closing a running process. It's for an emulator front end which allows closure of a specific emulator and then return to the front end among other things.

 

But it is too basic and I need extra functionality. The script lets me press 1 joystick button to perform the action of killing a single process as shown below. BUT I need the script to press 2 joystick buttons at the same time to kill the process.

 

$Joy9::
Process, close, psxfin.exe
 
As an example joy9 and joy7 I'd like to use. How to only kill the process once they are both pressed together?. As an extra, what would I need to add to simulate an ESC key press?.
 
Thanks!!