Help desk has requested I post the question on the board.
I'm using an android speaker client, the voice commands are working fine if i keep the event trigger as a simple phrase. ( " garage lights dim " ) if i try to add some dynamic to the trigger it does not work, even when the log recognizes the command. ex:
garage [lights] dim
Even when the log recognizes this command and shows both "garage dim" and "garage lights dim".
the second part of the problem is when I'm using LastVoiceCommand or LastVoiceCommandRaw, both of these commands return nothing. according to the help documentation they should return a string, however I am unable to get anything from either one.
just to keep things simple.
Sub Main(ByVal Parms As Object)
Dim LCmd
LCmd = hs.Lastvoicecommand
'or even using hs.LastVoiceCommandRaw
hs.writelog("Test","VR: " & LCmd)
End Sub
Returns nothing where the variable should be.
If anyone could please help on either or both of the problems i would appreciate it as the help desk is telling me things like:
1. The command appears to be "broken".
2. The help documentation is not accurate and is a copy from HS2 so the help on this topic needs updating.
3. VBScipt scripts(which you posted) are no longer supported.
Sorry for the long post and minor rant but this task has been daunting ( for some strange reason )
I'm using an android speaker client, the voice commands are working fine if i keep the event trigger as a simple phrase. ( " garage lights dim " ) if i try to add some dynamic to the trigger it does not work, even when the log recognizes the command. ex:
garage [lights] dim
Even when the log recognizes this command and shows both "garage dim" and "garage lights dim".
the second part of the problem is when I'm using LastVoiceCommand or LastVoiceCommandRaw, both of these commands return nothing. according to the help documentation they should return a string, however I am unable to get anything from either one.
just to keep things simple.
Sub Main(ByVal Parms As Object)
Dim LCmd
LCmd = hs.Lastvoicecommand
'or even using hs.LastVoiceCommandRaw
hs.writelog("Test","VR: " & LCmd)
End Sub
Returns nothing where the variable should be.
If anyone could please help on either or both of the problems i would appreciate it as the help desk is telling me things like:
1. The command appears to be "broken".
2. The help documentation is not accurate and is a copy from HS2 so the help on this topic needs updating.
3. VBScipt scripts(which you posted) are no longer supported.
Sorry for the long post and minor rant but this task has been daunting ( for some strange reason )
Comment