I am wondering if there is a possibility for eventghost to auto detect which software is running and switch to it so i can control it without displaying the OS menu.
I thought perhaps analyzing the front window every x seconds/minutes would be a solution, what do you think?
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.
Automatic App switch
Re: Automatic App switch
Simple, use the plugin "Task Create/Switch Events
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: Automatic App switch
Right but how do you automate all this without using the OS menu, is the answer i'm looking for .
Re: Automatic App switch
when the trigger from Task Create/Switch Events goes you just have it enable the correct folder of commands and disable the others. I use this for Foobar2000. I have two folders of the controls (they are exact set of commands but some have had to be modified). One is enabled (active window) when foobar2000 comes into focus and the other is disabled. When I loose focus of foobar2000 the other inactive folder is enabled and the other is disabled. So mine goes something like this
2011-12-28 19:11:28 EVENT: Task.Deactivated.Desktop
2011-12-28 19:11:28 EVENT: Task.Activated.foobar2000
2011-12-28 19:11:28 MACRO: Enable: Foobar2000_PC_Local_Active
2011-12-28 19:11:28 ACTION: Enable: Foobar2000_PC_Local_Active
2011-12-28 19:11:28 ACTION: Disable: Foobar2000_PC_Local_HTTP
2011-12-28 19:11:34 EVENT: Task.Deactivated.foobar2000
2011-12-28 19:11:34 MACRO: Disable: Foobar2000_PC_Local_Active
2011-12-28 19:11:34 ACTION: Disable: Foobar2000_PC_Local_Active
2011-12-28 19:11:34 ACTION: Enable: Foobar2000_PC_Local_HTTP
2011-12-28 19:11:34 EVENT: Task.Activated.EventGhost
2011-12-28 19:11:28 EVENT: Task.Deactivated.Desktop
2011-12-28 19:11:28 EVENT: Task.Activated.foobar2000
2011-12-28 19:11:28 MACRO: Enable: Foobar2000_PC_Local_Active
2011-12-28 19:11:28 ACTION: Enable: Foobar2000_PC_Local_Active
2011-12-28 19:11:28 ACTION: Disable: Foobar2000_PC_Local_HTTP
2011-12-28 19:11:34 EVENT: Task.Deactivated.foobar2000
2011-12-28 19:11:34 MACRO: Disable: Foobar2000_PC_Local_Active
2011-12-28 19:11:34 ACTION: Disable: Foobar2000_PC_Local_Active
2011-12-28 19:11:34 ACTION: Enable: Foobar2000_PC_Local_HTTP
2011-12-28 19:11:34 EVENT: Task.Activated.EventGhost
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: Automatic App switch
It's working if i use Task.Created.dvbviewer , i add this in the switch macro's
The effect now is that i can launch an app with the mouse and eventghost automatically switch to it, i have the control
Picture:

The effect now is that i can launch an app with the mouse and eventghost automatically switch to it, i have the control
Picture:
