Author Topic: "Wait For Spoken Response" response(s) in action list  (Read 107 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1414
  • RTFM
"Wait For Spoken Response" response(s) in action list
« on: June 09, 2018, 08:08:44 pm »
Currently the "Wait For Spoken Response" generates "Wait for spoken response" in the action list, I feel it would be useful to have some indication as to which response is expected.

Personally I feel having the literal string from the "Responses" field(Or the first X amount of characters) would be fine, as the syntax is the same as the "When I say" field, so should be familiar enough to interpret.


EDIT: Implemented in v1.7.0.12
« Last Edit: June 16, 2018, 11:04:28 am by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1548
Re: "Wait For Spoken Response" response(s) in action list
« Reply #1 on: June 09, 2018, 09:10:15 pm »
Done.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1414
  • RTFM
Re: "Wait For Spoken Response" response(s) in action list
« Reply #2 on: June 12, 2018, 03:32:19 pm »
It's nitpicky, but most actions have their strings encapsulated in single quotes, E.G.
Code: [Select]
Say, 'test'
Write (do not overwrite), 'test' to file 'test'
Set Text [test] to 'test'
While this action doesn't:
Code: [Select]
Wait for spoken response: test


While I'm nitpicking,
Code: [Select]
Write '[Blue] test' to logSeems off, as it'll print "test" to the log, not "[Blue­] test".

Would
Code: [Select]
Write [Blue] 'test' to logMake sense? The character count remains equal, so does the position of the actual string.

I'll admit, I've thought about this one before, but I searched the feature requests forum and it seems I've not mentioned it yet :-X



 :P

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1548
Re: "Wait For Spoken Response" response(s) in action list
« Reply #3 on: June 12, 2018, 04:05:10 pm »
I see what you're saying.  The responses are going to usually be multipart/dynamic for the most part (which is why there are no quotes).  I can slap quotes around the whole thing, though:

Wait for spoken response: 'yes;no;fire[weapons;squirrels;]'.


I agree about the color being outside the quotes.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1414
  • RTFM
Re: "Wait For Spoken Response" response(s) in action list
« Reply #4 on: June 12, 2018, 04:27:36 pm »
I can slap quotes around the whole thing, though:

Wait for spoken response: 'yes;no;fire[weapons;squirrels;]'.
That's exactly what I meant ;D