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.

Having prob: Find Window / Bring to Front / Maximize

If you have a question or need help, this is the place to be.
Post Reply
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Having prob: Find Window / Bring to Front / Maximize

Post by Livin »

In order to trigger XBMC I do the following...

Find Window
if unsuccessful, jump to "XBMC-load" (which starts xbmc.exe)
Bring to Front
Maximize

basically, I check to ensure that it is not already loaded before loading it again.

BUT this only works some times.

I find it often will load XBMC even if it already exists... and it does not always Maximize the window.

Anyone else see this issue, or know how to fix?

thx
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
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Having prob: Find Window / Bring to Front / Maximize

Post by stottle »

I don't know if you have the same problem, but I had something similar with J River Mediacenter. I had the WindowMatcher function set up with only the first argument, which was something like "MediaCenter 13". Most of the time that worked, but for whatever reason, occasionally JRMC showed up as "MEDIAC~1". Those times the WindowMatcher function wouldn't work. I ended up using the "Window->Find a window" action so I could get the 2nd and 3rd arguments for WindowMatcher, and I just leave the 1st argument as None. It's worked correctly ever since.

Seems like if the WindowMatcher/Find a Window arguments are occasionally wrong, it would explain what you are seeing.

Brett
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Re: Having prob: Find Window / Bring to Front / Maximize

Post by kricker »

I found different apps need different settings to be found properly. Also some don't respond to "bring to front" or "maximize", but rather "restore".

For XBMC I hae it set to seach invisible windows and:
Program:XBMC.exe
Windows Name:XBMC Media Center
Windows Class:SDL_app

The biggest issue for me is XBMC not wanting to stay minimized and stealing focus from other apps if you launched them via EvenGhost from XBMC.
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Having prob: Find Window / Bring to Front / Maximize

Post by Livin »

thx guys... I'll try your suggestions and let you know how it goes!
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
Post Reply