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.

Different macros on the same event, based on context

Got a good idea? You can suggest new features here.
Post Reply
d3cadent
Posts: 4
Joined: Tue Aug 18, 2009 4:50 pm

Different macros on the same event, based on context

Post by d3cadent »

Hi guys,

I am trying to control several devices with one single remote. This is what I'd like to do:
-first press a "mode select" button on the remote. This may be one of Receiver, TV, Cable, VCR, etc. This button press would set the appropriate "context" for EventGhost.
-then, when I press "Channel Up", EG would call the Channel Up macro of the currently active context. If I previously have set TV as context then I need "TV Channel Up" macro, while if I have set Cable as context then I need "Cable Channel Up" macro.

What is the proper way of achieving this?

Thanks a lot,
d3
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Different macros on the same event, based on context

Post by Bartman »

Use Enable Exclusive action to switch between folder. You may also take a look at examples for the Task plug in to use the same button for different programs.
d3cadent
Posts: 4
Joined: Tue Aug 18, 2009 4:50 pm

Re: Different macros on the same event, based on context

Post by d3cadent »

Seems like this feature request is already implemented... Thank you, works perfectly.
Post Reply