VoxCommando

New Features and Feature Requests => Feature Requests => Topic started by: GMib on June 15, 2014, 03:56:23 AM

Title: Group exclusive action
Post by: GMib on June 15, 2014, 03:56:23 AM
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 ?
Title: Re: Group exclusive action
Post by: Kalle on June 15, 2014, 07:48:39 AM
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
Title: Re: Group exclusive action
Post by: GMib on June 15, 2014, 08:05:56 AM
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.
Title: Re: Group exclusive action
Post by: Kalle on June 15, 2014, 08:14:38 AM
Ok, thanks for the explanation.
Title: Re: Group exclusive action
Post by: nime5ter on June 25, 2014, 09:06:47 PM
http://voxcommando.com/mediawiki/index.php?title=ChangeLog#Other_Plans
Title: Re: Group exclusive action
Post by: jitterjames on August 20, 2014, 12:47:43 PM
I am working on this now for the next release:

http://voxcommando.com/mediawiki/index.php?title=ChangeLog#New_updates_currently_in_progress
Title: Re: Group exclusive action
Post by: GMib on August 20, 2014, 02:17:16 PM
cool, waiting for next release ;)
thanks