Author Topic: Using same commands in two different programs  (Read 1418 times)

0 Members and 2 Guests are viewing this topic.

crawfofd

  • Jr. Member
  • **
  • Posts: 29
  • Karma: 3
    • View Profile
Using same commands in two different programs
« on: July 13, 2013, 11:31:06 AM »
Can you use the same commands in two different programs. 
If I have the 'play' command in WMC  can I also have 'play' in XBMC. 

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Using same commands in two different programs
« Reply #1 on: July 13, 2013, 12:14:47 PM »
Yes, but it is a bit more complicated to set up.  If the same phrase is used for two different commands, then VC won't necessarily trigger the correct one.  The solution is to turn "groups" of commands on and off.  If a group is off then vVC will ignore all commands in that group.  A group that is off, is still in memory and can be turned back on very quickly.

You can right-click a group in the tree editor to access its properties.  Here you can set which process the group is associated with. In the field "active only for process", you can type a process name.  Then this group will only be on when that program has focus.

You can also turn groups on and off using the actions:
VC.EnableGroup
VC.DisableGroup
VC.EnableGroup*
VC.DisableGroup*

If you right-click a group you can also set it to be off by default when VC starts.
« Last Edit: July 13, 2013, 12:29:56 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Using same commands in two different programs
« Reply #2 on: July 13, 2013, 12:22:58 PM »
the 4 actions mentioned above can be found here:

http://voxcommando.com/mediawiki/index.php?title=Actions#EnableGroup
« Last Edit: July 13, 2013, 12:33:19 PM by jitterjames »

crawfofd

  • Jr. Member
  • **
  • Posts: 29
  • Karma: 3
    • View Profile
Re: Using same commands in two different programs
« Reply #3 on: July 13, 2013, 01:05:30 PM »
Awesome, will try it today. Thanks for the quick response!