Hi folks, I am using a button press for closing XBMC, a wait, then using a cmd for task killing, then reopening XBMC (I have had to experiment with setting a longer time inbetween kill and open, as 5 seconds is not working any more to fix the issue of "xbmc outputs to 1024x768 default resolution if the PC is turned on while the TV is turned off". For some reason with gotham, 5 seconds isn't enough time for the tv resolution to reset. This of course can be fixed by the win devs of XBMC but that is another story)
I would like to expand on this with the following:
if xbmc is running = run commands to close xbmc, task kill, launch xbmc
if xbmc is not running = command to just open xbmc
is this possible?
Thanks folks!
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.
Open/kill program based on if this or that
Re: Open/kill program based on if this or that
Find window action. If it finds xbmc.exe, continue macro, and vice versa. You can also use the 'jump to' action in conjunction with the find window to do what you want.DeathAxe wrote: if xbmc is running = run commands to close xbmc, task kill, launch xbmc
Here's how I use it in a couple of places: