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.

identify active window

If you have a question or need help, this is the place to be.
Post Reply
Stefan_tf
Posts: 13
Joined: Mon Dec 22, 2008 1:35 pm

identify active window

Post by Stefan_tf »

is it possible to identify the active window ? Problem: i try to control two or three windows, which are parallel open in the same programm and have - depending on the active window - different function on the same buttons. The method "find windows" allways find the window even if its not active.

Stefan
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: identify active window

Post by CollinR »

Use the tasks pluing, Task.*.Activated and Task.*.Deactivated will let you know whats in focus and when focus changes. Combined with some exclusives and you should be good to go.
Windows XP Pro sp3 - Several Machines usually latest beta but who knows.
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
Stefan_tf
Posts: 13
Joined: Mon Dec 22, 2008 1:35 pm

Re: identify active window

Post by Stefan_tf »

is there a special action for the task-plugin (haven't found) ?
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: identify active window

Post by CollinR »

No just add the plugin an watch the log as you min/restore the applications of interest to you.
Windows XP Pro sp3 - Several Machines usually latest beta but who knows.
Inputs: TCP / IR (USBUIRT) / RF(X10 Remote) / CLI-Batch / CCTV Motion / Ocelot
Outputs: TCP / IR (USBUIRT) / SageTV / SageTV Clients / YAC CallerID / HAL v3.7.3 / Ocelot
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: identify active window

Post by jinxdone »

Be a bit more specific, I didn't understand whether you have:

1. A single program running that has multiple windows inside the same program. In that case the task switch plugin wont notice when you change windows inside the same program.

2. Multiple instances of one program, but you just can not target the right one with the 'find window' action.


Knowing the above would help troubleshoot your problem.
Stefan_tf
Posts: 13
Joined: Mon Dec 22, 2008 1:35 pm

Re: identify active window

Post by Stefan_tf »

thank you for answers.
the programm uses multiple instances (like the tabs in IE or firefox), so the task-action doesn't work for my purposes.
Any other ideas ?

Stefan
Post Reply