I'm an EG user for a while now. I've been using it to control BeyondTV. But Now I'd like to add XMBC. VLC and WMC to my remote. I've been trying to figure out how to have EG detect which application has the focus, so that I can then direct it to the correct configuration folder. IE I'd have one for BeyondTV, XBMC, VLC and WMC.
I've tried the task create/switch plugin as some people have suggested. But I just cant figure it out. I've tried finding a python script, but dint have any luck.
Basically, what I'm looking for is:
if program A is in focus-then go use this this folder A1 (of commands)
If program B is in focus-then go use folder B1
if program C is in focus-then go use folder C1
I'm sure what I'm looking for is possible, but I'm not sure how to accomplish this task.
Can anyone help?
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.
if program is in focus..
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: if program is in focus..
you have to use events , for xbmc these 2 events:
Process.Created.XBMC
Task.Activated.XBMC
You create a macro in the switch folder
event- Process.Created.XBMC
event- Task.Activated.XBMC
action - enable exclusive (which should point to xbmc folder in the programs folder)
downlaod my config to see how it work: http://www.mediafire.com/view/?bf58n15mb4ye8yu
Process.Created.XBMC
Task.Activated.XBMC
You create a macro in the switch folder
event- Process.Created.XBMC
event- Task.Activated.XBMC
action - enable exclusive (which should point to xbmc folder in the programs folder)
downlaod my config to see how it work: http://www.mediafire.com/view/?bf58n15mb4ye8yu
Re: if program is in focus..
thanks. this is exactly what I was looking for.
Re: if program is in focus..
Hi!
The link to this example is dead.
Could somebody re-upload/post it again thanks
The link to this example is dead.
Could somebody re-upload/post it again thanks
-
themaster1
- Experienced User
- Posts: 133
- Joined: Wed Feb 03, 2010 9:02 pm
Re: if program is in focus..
I have re uploaded it for you see below:
http://www.mediafire.com/view/?4opdstzfnnz4bwa
This is my config xml it auto detect the apps you launch either manually(with the mouse) or with the OS menu
Controlled apps: mce, VLC, xbmc, dvbviewer totalmedia theatre... among others apps
By default the osd menu pop up on monitor 2 so you may want to change that if you don't have two monitors (just Put Osmenu1 macro above Osmenu2 in the switch folder)
Screenshot:
http://imageupload.org/en/file/247240/osmenu.jpg.html
http://www.mediafire.com/view/?4opdstzfnnz4bwa
This is my config xml it auto detect the apps you launch either manually(with the mouse) or with the OS menu
Controlled apps: mce, VLC, xbmc, dvbviewer totalmedia theatre... among others apps
By default the osd menu pop up on monitor 2 so you may want to change that if you don't have two monitors (just Put Osmenu1 macro above Osmenu2 in the switch folder)
Screenshot:
http://imageupload.org/en/file/247240/osmenu.jpg.html
Re: if program is in focus..
Ahh, thanks a lot!
When you see an example it's so much easier.
Already got it figured out
When you see an example it's so much easier.
Already got it figured out