I've got EG setup to control Mediaportal, which works nicely.
What I now want to do is be able to adjust the Master volume of my PC with the remote when not using MP (or any of the other programs I want to have EG profiles for, like XBMC), so that I can easily adjust the volume when playing games.
The problem is, with two or more profiles enabled they clash, so that if the Mediaportal profile is highest in the list it traps the key press before my Volume profile, so that the autorepeat is trapped by the MP profile and the Master volume command only gets sent once, when I release the key. If I put the Volume profile above the MP one, that works and the MP command only gets sent once when I release the key but obviously that wouldn't work well if MP was running and I wanted to control the volume inside that.
I got an idea from somewhere that somehow I can enable/disable profiles depending on whether the application is running but I can't work out how to do this. This would allow me to disable the MP and XBMC profiles when they're not running and enable the MP profile and disable the Volume profile when Mediaportal is started. I have the Power button on my remote mapped in EG to launch MP, so it's easy enough to launch it (and when running, this is used for something else in MP).
What I now want to do is be able to adjust the Master volume of my PC with the remote when not using MP (or any of the other programs I want to have EG profiles for, like XBMC), so that I can easily adjust the volume when playing games.
The problem is, with two or more profiles enabled they clash, so that if the Mediaportal profile is highest in the list it traps the key press before my Volume profile, so that the autorepeat is trapped by the MP profile and the Master volume command only gets sent once, when I release the key. If I put the Volume profile above the MP one, that works and the MP command only gets sent once when I release the key but obviously that wouldn't work well if MP was running and I wanted to control the volume inside that.
I got an idea from somewhere that somehow I can enable/disable profiles depending on whether the application is running but I can't work out how to do this. This would allow me to disable the MP and XBMC profiles when they're not running and enable the MP profile and disable the Volume profile when Mediaportal is started. I have the Power button on my remote mapped in EG to launch MP, so it's easy enough to launch it (and when running, this is used for something else in MP).