03-23-2014, 09:23 PM
(This post was last modified: 03-23-2014, 09:29 PM by pablocrossa.)
(03-23-2014, 09:19 PM)guru8bit Wrote: Okay, now it's working. I had some problems with JoyToKey not closing, but it was because the program's name is "JoyToKey" and not "Joy2Key".
One last thing, can I make the time the batch takes to close down the programs shorter by having it check if GSdx is open more frequently?
Yes, change the "ping -n 6 127.0.0.1" to "ping -n NumberOfSeconds+1 127.0.0.1" so to check every second you should do "ping -n 2 127.0.0.1"
EDIT: Note though, that the initial waiting time will also decrease, you should increase the value of the first ping before the ":loop" parameter
EDIT2: Will clean up the script to use the correct name etc