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.

Detecting when a program is started

If you have a question or need help, this is the place to be.
Post Reply
fidoboy
Experienced User
Posts: 74
Joined: Mon Jun 25, 2007 7:48 am

Detecting when a program is started

Post by fidoboy »

Hello, i want to create a macro that detects when a window is running and then it hides that window. For example looking for that window each second. I want to do the same but starting another event when another window is detected...

Many thanks in advance,

Regards
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Post by Bartman »

did you try the Task plugin? It triggers events, when a window is created so you can launch a macro.
fidoboy
Experienced User
Posts: 74
Joined: Mon Jun 25, 2007 7:48 am

Post by fidoboy »

EventGhost rulezzzz... Many thanks!! and how can i hide a window once it's detected??

Regards,,
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Post by Bartman »

Just use the Find Window action to find the appropriate window and after it a minimize action.
Last edited by Bartman on Mon Jun 25, 2007 2:19 pm, edited 1 time in total.
fidoboy
Experienced User
Posts: 74
Joined: Mon Jun 25, 2007 7:48 am

Post by fidoboy »

:cry: It doesn't work for me... i'm trying to hide a splash screen (MediaPortal splash screen) i've configured the name of the window, then the minimize action, but the window is not removed off the screen...

Regards,
fidoboy
Experienced User
Posts: 74
Joined: Mon Jun 25, 2007 7:48 am

Post by fidoboy »

I'm doing multiple test with the FindWindow action, and it doesn't seems to work. There is a simple way to detect the windows?? isn't enought with part of the window name?. For example, i've only checked the window name, and writed the text "MediaPortal" into this field... But this doesn't work :S
Post Reply