I have a program called Amblone that I have assigned to a keystroke on my remote. I would like to close it with another key stroke. Is this possible in Eventghost?
Thanks very much.
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.
Can you close a program in Eventghost?
Re: Can you close a program in Eventghost?
I do that with a cmd-file with the following content:
taskkill /F /IM program.exe
You only have to link this cmd-file with in EG with "Start application" (I do not know what that means in english-version of EG, I use german).
Siutsch.
taskkill /F /IM program.exe
You only have to link this cmd-file with in EG with "Start application" (I do not know what that means in english-version of EG, I use german).
Siutsch.
Re: Can you close a program in Eventghost?
Did you look in the EG Action area?queequeeg78 wrote:I have a program called Amblone that I have assigned to a keystroke on my remote. I would like to close it with another key stroke. Is this possible in Eventghost?
Thanks very much.
Close/exit?
eventghost.net
Be there or be square.
Be there or be square.
-
eatmeimadanish
- Experienced User
- Posts: 118
- Joined: Thu Oct 01, 2009 5:11 pm
Re: Can you close a program in Eventghost?
I normally use both. I close the app with the comon close command, then kill the process just to make sure. For instance XBMC sometimes doesnt want to close nicely, but force killing works everytime.
-
queequeeg78
- Posts: 9
- Joined: Wed Feb 23, 2011 6:28 am
Re: Can you close a program in Eventghost?
Can you tell me exactly how to do that eatmeimadanish (btw the best screen name!) Here is my problems. I recently built a Ambient lighting system for my TV and well first problem is when I am in XBMC i have a button configured to start the lights up BUT it seems that XBMC goes in the background and windows is now running in front...its because of that my rewind, fast foward, any buttons dont work, except stop (which I assigned to turn the movies PLUS the lights off). Second problem is when I do shut off the lights with the kill process cmd file windows taskbar is visable and my remote becomes uselss and I need to use the mouse to make XBMC the first running progam again.
Re: Can you close a program in Eventghost?
If you use the XBMC2 plugin to control XBMC then it will work even if XBMC is not in focus.queequeeg78 wrote:Here is my problems. I recently built a Ambient lighting system for my TV and well first problem is when I am in XBMC i have a button configured to start the lights up BUT it seems that XBMC goes in the background and windows is now running in front...its because of that my rewind, fast foward, any buttons dont work,
You can also use the action Bring to front to make XBMC in focus.Second problem is when I do shut off the lights with the kill process cmd file windows taskbar is visable and my remote becomes uselss and I need to use the mouse to make XBMC the first running progam again.
jonib
-
eatmeimadanish
- Experienced User
- Posts: 118
- Joined: Thu Oct 01, 2009 5:11 pm
Re: Can you close a program in Eventghost?
Under Start an Application select the drop down window "Window Options" and select hidden. This will run it in the background and not steal focus.
