Announcement

Collapse
No announcement yet.

event vs script to handle IR device voice commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    event vs script to handle IR device voice commands

    From the help file:
    -----------------------
    Formatting Voice Commands

    There are some tricks you can use to format voice commands.
    For instance, say you would like to give a command that changes your television to a specific channel. You could do this by creating a voice command for every possible channel, but that's impractical. Instead, your voice command can contain ranges of words. The recognition engine will accept any one of the words. The command that will change your television to any channel would look like this:
    TV channel (0|1|2|3|4|5|6|7|8|9)+

    This configuration will accept any command like "tv channel 0 1", or "tv channel 1 3 6".
    -------------------------------------------

    Is it possible to construct an Event "Action" that would then send the received numbers as multiple IR commands or

    Am I forced into writing a Script that would accept an arbitrary number sequence from the VR engine and issue the appropriate sequence of HS.IRSEND commands?

    I'm guessing this is a common application. Someone must have already written such script. Where would I starting looking?
Working...
X