News:

If you have an Android device, check out VoxWav!

Main Menu

Group exclusive action

Started by GMib, June 15, 2014, 03:56:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GMib

would it be possible to have an activating group action disabling all the others but keeping in memory status groups.

for example if I have these groups:

default (on)
XBMC (active only for process: XBMC, XBMC not started at this time)
deactivated group (off)
Keyboard (off)

if i exclusive activate Keyboard group, vc respond only command in keyboard group
but if i run xbmc and deactivate Keyboard group i wan't :

default (on)
XBMC (on, xbmc is started)
deactivated group (always off)
keyboard (off)


is it possible to adding this feature ?

Kalle

There are a lot of actions to enable/disable groups available, which you can use with a logic block to get your result. The only thing is, your group names must be organized well.

Example:

If you execute your command to activate the "exclusive keyboard group", the logic block will check if the xbmc process is running and it's true, it enable the XBMC group - if it's false, the group will be disable.

I'm not sure what you mean by the "deactivated group" with off and always off

but it is possible that I misunderstand you  ::hmm
***********  get excited and make things  **********

GMib

yes it's possible but i've not only 4 groups ;) it's only for example.
in my idea, if keyboard group is activated, you can always use group.enable or disable on other group if you wan't, but vc do not execute command on this group while keyboard group is active.

deactivated group is always off because, it was off before activate keyboard group.

it's more simple to have exclusive group than manually enable/disable all group and testing with logic for all program who active group if process running.

Kalle

Ok, thanks for the explanation.
***********  get excited and make things  **********

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames


GMib

cool, waiting for next release ;)
thanks