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.
start programs after another exits
start programs after another exits
Hi There,
I use this program to start xbmc on an old Aspire3633 acer laptop, to let it run smoothly I had to disable the explorer.exe shell.
Thanks to you guys I'm able to view my movies without glitches....I'm using Evenghost 0.3.7r1194 as the replacement shell thanks thanks
This laptop is for a person that doesn't understand a lot of PC, so telling him to do a CTRL alt Del to start c:\windows\explorer.exe is a no go..
Now the question:
I would like to start c:\windows\explorer.exe after the user quits XBMC.
So in essence I would like to start a program after another one quits..how do I do that?
This is necessary because otherwise the virus update doesn't start and he cant access the web..
Thanks for reading
Guy Forssman
I use this program to start xbmc on an old Aspire3633 acer laptop, to let it run smoothly I had to disable the explorer.exe shell.
Thanks to you guys I'm able to view my movies without glitches....I'm using Evenghost 0.3.7r1194 as the replacement shell thanks thanks
This laptop is for a person that doesn't understand a lot of PC, so telling him to do a CTRL alt Del to start c:\windows\explorer.exe is a no go..
Now the question:
I would like to start c:\windows\explorer.exe after the user quits XBMC.
So in essence I would like to start a program after another one quits..how do I do that?
This is necessary because otherwise the virus update doesn't start and he cant access the web..
Thanks for reading
Guy Forssman
Re: start programs after another exits
Try this plugin Task Create/Switch Events it creates events when programs start and exit.ForSSux wrote:Now the question:
I would like to start c:\windows\explorer.exe after the user quits XBMC.
So in essence I would like to start a program after another one quits..how do I do that?
jonib
Re: start programs after another exits
Hi I noticed it's already in the autostart but how do I proceed?jonib wrote:Try this plugin Task Create/Switch Events it creates events when programs start and exit.ForSSux wrote:Now the question:
I would like to start c:\windows\explorer.exe after the user quits XBMC.
So in essence I would like to start a program after another one quits..how do I do that?
jonib
Thanks for the very fast reply
Re: start programs after another exits
There is a text "Log only assigned and activated events" in the bottom of EventGhost's window, uncheck it if it's checked, now you should get different events in the log window when programs start/stop and others.ForSSux wrote:Hi I noticed it's already in the autostart but how do I proceed?
Check this thread for more information about detecting programs and changing what EventGhost controls.
jonib
Re: start programs after another exits
Hi jonib,jonib wrote:There is a text "Log only assigned and activated events" in the bottom of EventGhost's window, uncheck it if it's checked, now you should get different events in the log window when programs start/stop and others.ForSSux wrote:Hi I noticed it's already in the autostart but how do I proceed?
Check this thread for more information about detecting programs and changing what EventGhost controls.
jonib
thanks for the quick replay...Log only assigned and activated events is unchecked and I see indeed what happens when I start xbmc or when I manually start explorer.exe
I have the xbmc plugin and a macro with....following content
Main.OnInitAfterBoot
Start Program:XBMC.exe
XBMC starts so that's fine, unfortunately when I close XBMC inside XBMC nothing is logged.
I looked in plugins after the Process watcher you mentioned in the other thread.....but I couldn't find it
Thanks for the lightning reply
Guy Forssman
Re: start programs after another exits
that's weird, I get:ForSSux wrote:XBMC starts so that's fine, unfortunately when I close XBMC inside XBMC nothing is logged.
Code: Select all
Task.Deactivated.XBMC
Task.ClosedWindow.XBMC
Task.Destroyed.XBMC
I was sure it was included in EventGhost but I was wrong, you can get it here, maybe it works.I looked in plugins after the Process watcher you mentioned in the other thread.....but I couldn't find it
jonib
Re: start programs after another exits
Thanks,
I'm getting closer; manualy starting the macro's works, but on reboot or manually starting the first one only the first one gets started exiting XBMC doesn't launch the second one when I quit XBMC.
What am I doing wrong?
This is my config... noticed that xbmc is already closed but nothing shows in the event log
Thanks for the premium suport
Guy Forssman
I'm getting closer; manualy starting the macro's works, but on reboot or manually starting the first one only the first one gets started exiting XBMC doesn't launch the second one when I quit XBMC.
What am I doing wrong?
This is my config... noticed that xbmc is already closed but nothing shows in the event log
Thanks for the premium suport
Guy Forssman
Re: start programs after another exits
As you are not running explorer and you don't get any Task events maybe the Task Create/Switch Events needs Explorer, try it with explorer running.ForSSux wrote:What am I doing wrong?
This is my config... noticed that xbmc is already closed but nothing shows in the event log
Edit: I looked in Task Create/Switch Events source and it looks like it uses explorer so it will probably not run without.
Have you tried Process watcher?
If both fail, you could maybe use the Window->Find a window action in a loop with EventGhost->Wait some time action, to look for the XBMC window.
jonib
Re: start programs after another exits
The reason explorer is not running is because XBMC will be to slow to handle video files.... system goes to 100% when I drop the explorer as shell and use a external player like vlc in conjunction with XBMC the CPU usage drops significantly...
This find active window seems complicated, but I will give it a try and let you now my results thanks in advance
Guy Forssman
This find active window seems complicated, but I will give it a try and let you now my results thanks in advance
Guy Forssman
Re: start programs after another exits
You didn't say if you tried the Process watcher plugin? as it don't seem to use Explorer.ForSSux wrote:This find active window seems complicated, but I will give it a try and let you now my results thanks in advance
jonib
Re: start programs after another exits
Process Watcher link... http://www.eventghost.org/forum/downloa ... php?id=483
not sure why it is not in the download-able builds.
not sure why it is not in the download-able builds.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: start programs after another exits
Hi I didn't try it yet...maybe tonight...
I will let you now the results
Thanks for the reply's
Guy Forssman
I will let you now the results
Thanks for the reply's
Guy Forssman
Re: start programs after another exits
Hi There,
Finnally suces with the process plugin, thanks for answering al my questions....
On more, how do I kill Eventghost after succesfully launching explorer?
Many Thanks
Guy Forssman
ps I added my current config
Finnally suces with the process plugin, thanks for answering al my questions....
On more, how do I kill Eventghost after succesfully launching explorer?
Many Thanks
Guy Forssman
ps I added my current config
Re: start programs after another exits
Glad you got it working, and you're welcome.ForSSux wrote:Finnally suces with the process plugin, thanks for answering al my questions....
I couldn't find a simple way, maybe someone else knows.On more, how do I kill Eventghost after succesfully launching explorer?
jonib
Re: start programs after another exits
Hi There,
I have total succes now...
I have created a CloseEventGhost.bat file wich I placed in the c:\Programs Files\EventGhost directory
the content of this file is (TSKILL /A /V EventGhost )
I've inclued my working configuration
Hope other like this to
Thanks
Guy Forssman
I have total succes now...
I have created a CloseEventGhost.bat file wich I placed in the c:\Programs Files\EventGhost directory
the content of this file is (TSKILL /A /V EventGhost )
I've inclued my working configuration
Hope other like this to
Thanks
Guy Forssman
