I did a search and did not find it but I'm thinking this has been worked before...
I want detect that app is not already in memory and do specific actions, including load the app.
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 when an application is loaded?
Detect when an application is loaded?
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: Detect when an application is loaded?
Just use the Find Window action to search for the app's main window and do a conditional fump if the previous action was not succesful.
Re: Detect when an application is loaded?
The idea is to check to see if XBMC is open before attempting to open it, and then enabling the keyboard emulation. Don't enable KB emulation until XBMC is already running... in case it fails to run.Bartman wrote:Just use the Find Window action to search for the app's main window and do a conditional fump if the previous action was not succesful.
I ended up doing it like the attached pic. Let me know what you think.
- Attachments
-
- eg.jpg (32 KiB) Viewed 1783 times
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: Detect when an application is loaded?
Were you able to do it?
I tried this sequence:
Event: X10.D
Find Window: XBMC
If successfull jum to Show Home Screen
Start Program XBMC.exe
if XBMC is open everything is fine
if XBMC is NOT open the log does not go to the IF but dies on the Find Window.
Can you help me?
Mf
I tried this sequence:
Event: X10.D
Find Window: XBMC
If successfull jum to Show Home Screen
Start Program XBMC.exe
if XBMC is open everything is fine
if XBMC is NOT open the log does not go to the IF but dies on the Find Window.
Can you help me?
Mf