Jump to content

Run Program on Emulator Start


pjbridger

Recommended Posts

Posted

Hi Guys,

 

There is probably a really easy way to do this and im being stupid, but......

 

How do I run a program when an Emulator launches,

 

Specifically, I would like to run a script I have to enable my dolphin bar on Dolphin start up and one to disable it on exit,

 

The Dolphin bar messes wiht my other controllers so I want to take it out of the picture when not using dolphin,

 

Thanks,

 

P

Posted

Thanks for the reply JHell86,

 

Is there any way you could help me with the code I need to input?

 

I had a look at the module and I dont really want to mess it up,

 

The Code in the BAT file is - 

 

C:\Windows\System32\devcon disable "USB\VID_057E&PID_0306&REV_0100"
C:\Windows\System32\devcon disable "USB\VID_057E&PID_0306"
 
Or could I get it to point directly at the BAT file?
 
The name for this is - 
 
Disable Dolphinbar.BAT
 
Also how would I get to run the Enable script on Exit?
 
Thanks again,
 
P
Posted

Thanks for the reply,

 

I have been trying to adapt the module but everything I do seems to make it not work,

 

If anyone could help me out with implementing the code I would be really grateful,

 

P

Posted

If you use RocketLauncher you can use the user built in functions for that. Just follow what was made on other similar threads (there are many like that on rl forums, just use the search):

 

http://www.rlauncher.com/forum/showthread.php?132-Global-AHK-Script

http://www.rlauncher.com/forum/showthread.php?1941-Can-a-Batch-file-be-added-previous-to-RL-starting-a-emulator&p=17167#post17167

 

Any doubt about that, just create a thread on the RocketLauncher forums.

Posted

Thank you for the reply bleasby and JHell,

 

I will check those threads and see if i can make it work,

 

If not I will set up a new thread on RL and give you a shout JHell,

 

Thanks a lot guys,

Archived

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

×
×
  • Create New...