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.

Action that changes plug ins / start / opens an EG Tree?

If you have a question or need help, this is the place to be.
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

How could you open (and close the currently active EG Tree if necessary) by remote control one of your own (predefined) EG Tree files containing other plug ins (or the same plug ins having other keys / key sets toggled), so that you can use the same keys sending other actions?

So, it would be the same, I assume, as if you would use different profiles.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:How could you open (and close the currently active EG Tree if necessary) by remote control one of your own (predefined) EG Tree files containing other plug ins (or the same plug ins having other keys / key sets toggled), so that you can use the same keys sending other actions?

So, it would be the same, I assume, as if you would use different profiles.
Add action\EventGhost\Enable an item, Disable an item and Exclusive enable a folder/macro.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

Thank you, jonib,

Yes, that seems to work like I think, so in this way you can have different "profiles", if I see right.

Thanks again.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:Yes, that seems to work like I think, so in this way you can have different "profiles", if I see right.
Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.
Sorry, I do not understand, these plug ins already are in EG, obviously, and what does that mean, to detect profiles etc. How does it work?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:
Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.
Sorry, I do not understand, these plug ins already are in EG, obviously, and what does that mean, to detect profiles etc. How does it work?
They create events for when you start/stop programs, windows becomes active/inactive and other events too. So you can for example enable all XBMC macros when you get the "start XBMC" event or XBMCs window becomes active or any other program/window.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

That is great, good to know, thank you, I will try it by the next occasion.

By the way, is there a portable version of EG?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:That is great, good to know, thank you, I will try it by the next occasion.
You should checkout the Example.xml example EventGhost config (In EventGhosts install dir) as it contains an example to control different programs, automatically enabling configs when they come in focus.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

You should checkout the Example.xml example EventGhost config (In EventGhosts install dir) as it contains an example to control different programs, automatically enabling configs when they come in focus.
OK, I will just do it.

I assume, there does not exist a portable version of EG and it cannot be used portable.
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.
To use different "profiles" in any case I have to assign different actions to the same keys, e.g. "Play" to start playing foobar and "Play" to start playing XBMC and so on, is that right?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:
Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.
To use different "profiles" in any case I have to assign different actions to the same keys, e.g. "Play" to start playing foobar and "Play" to start playing XBMC and so on, is that right?
Yes. Look in the Example.xml as it shows one way to do it.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:I assume, there does not exist a portable version of EG and it cannot be used portable.
I haven't seen a portable version so don't know if it exists. I don't know if it's possible to make it portable, sorry. You could always try to copy the EventGhost files to another computer and see if it works or what it complains about. :D

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

Thanks, will just try it out.
Biff
Experienced User
Posts: 56
Joined: Mon Mar 25, 2013 11:06 am

Re: Action that changes plug ins / start / opens an EG Tree?

Post by Biff »

Then you can use "process watcher" or "task create/switch events" plugins to detect what "profiles" to activate automatically.
I added these two plug ins, but when I have foobar opened, its window is in front, XBMC is accessed by pressing the keys of the remote control.

The volume control buttons toggled with the volume of foobar do not work with foobar, no reaction.
Bild-001.jpg
Bild-002.jpg
What might be the reason for it?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Action that changes plug ins / start / opens an EG Tree?

Post by jonib »

Biff wrote:I added these two plug ins
You only need one of the plugins you can probably disable "Process Watcher".
but when I have foobar opened, its window is in front, XBMC is accessed by pressing the keys of the remote control.
You need to use the events you get when a window gets in focus to activate/deactivate the folders containing the macros. Like "Task.Activated.foobar200" and "Task.Activated.XBMC".
The volume control buttons toggled with the volume of foobar do not work with foobar, no reaction.
Don't know have not used it.
What might be the reason for it?
You can't just add a plugin and expect EventGhost to do what you want. You really need to look at the "Example.xml" file included with EventGhost as it is an example of how to control several programs by enabling/disabling the folders with the program specific macros.

Edit: look at these threads here and here. There are a bunch of other threads too if you search.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply