Author Topic: Group and Commands organization  (Read 1913 times)

0 Members and 3 Guests are viewing this topic.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Group and Commands organization
« on: October 14, 2014, 09:13:06 PM »
I am not sure this qualifies as a feature .... but here you go:

since VC do not support nested groups ... I have been using empty groups and commands to Organize my command tree

till now I get a warning about them but all function perfect.

Now I started to use enable and disable groups I start to get error messages (see attached image)

if you find my approach is usueful, maybe you can make the compiler and group command to ignor anything that starts with "---" three dashes or four or any other combination you see fits...
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Group and Commands organization
« Reply #1 on: October 14, 2014, 09:43:25 PM »
Let me think about this for a while.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Group and Commands organization
« Reply #2 on: October 15, 2014, 12:43:56 AM »
Let me think about this for a while.

 ;D ;D ;D ;D
does that mean you have something cooking !!!
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Group and Commands organization
« Reply #3 on: October 15, 2014, 12:16:07 PM »
No. It means I need to think about it.  Hopefully I can come up with something that will help you without being too confusing, and without taking me too much time to implement.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Group and Commands organization
« Reply #4 on: October 15, 2014, 02:09:58 PM »
I was hoping for "am looking into nested groups"  ;) ;)
Just kidding ... In fact I have never seen any developer who respond to user needs like you ...

I think I big thank you due again ....

When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Group and Commands organization
« Reply #5 on: November 16, 2014, 06:08:53 PM »
Take a look at version 2.1.2.1 (on the download page).

We now have something called "group collection".  You can't create collections of collections, but you can create collections of groups.

It was a several days of work to implement it and there are probably some small bugs in the editor still.  There are so many possible combinations of drag, drop, copy, paste, insert, etc. to keep track of.  Other parts of the program had to be updated as well, but hopefully everything else will behave as before.

Pay attention to the new icons in the editor as well.

Empty groups will not be loaded at runtime.  I think the error you were getting was actually because of the way you were naming the groups, with no valid filename characters.  A file is created for each group to store the compiled grammars.  But anyway since it won't try to process an empty group you can name it whatever you want now,  even just:  ________________________

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Group and Commands organization
« Reply #6 on: November 17, 2014, 07:19:34 PM »
 :clap :clap :clap ::bow ::bow

thank you James ... I downloaded the new version and organized some groups in collection ... testing time ... if any thing pops up will report

VC just keeps getting better

P.S. so you did have something cooking :D
When Voice command gets tough, use hand gestures