Hi Guys,
I've been playing with eventghost for a while and have learnt a lot from the forums, but cannot figure this one out.
I would like eventghost to detect when I run a program, such as steam.exe and disable bluetooth. When steam.exe closes I would like it to re-enable my bluetooth dongle. Is this possible? If so, how do I do it?
Kind regards,
Mx
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Detect running program and disable bluetooth
-
darksupernova
- Posts: 1
- Joined: Thu Feb 27, 2014 9:54 am
Re: Detect running program and disable bluetooth
First you can use some thing like http://www.nirsoft.net/utils/device_manager_view.html and with it use a .bat file to enable and disable any device on your computer. Run the program once and find the exact name of the device you want to enable and disable. (For my purposes my example is my webcam.) I just copied the DevManView.exe to my d: drive for this example. You also might want to set the Window options to "Hidden"
Using the plugin "Process Watcher" use the event Process.Created.Steam This will disable the Bluetooth by run by the Start Application macro Then when the event Process.Destroyed.Steam is done just run a different Start Application with /enable
Using the plugin "Process Watcher" use the event Process.Created.Steam This will disable the Bluetooth by run by the Start Application macro Then when the event Process.Destroyed.Steam is done just run a different Start Application with /enable
-
barnabas1969
- Experienced User
- Posts: 133
- Joined: Sat Feb 04, 2012 1:42 am
Re: Detect running program and disable bluetooth
You could also do it with the DevCon utility from Microsoft. See the following links for information on how to obtain and use DevCon:
http://social.technet.microsoft.com/wik ... n-exe.aspx
http://msdn.microsoft.com/en-us/library ... s.85).aspx
http://social.technet.microsoft.com/wik ... n-exe.aspx
http://msdn.microsoft.com/en-us/library ... s.85).aspx