Posts: 1,507
Threads: 143
Joined: May 2007
I am using the TTS system to send out messages, and some are a bit lengthy. I am trying to figure out the best way on the IV to let the user know that they can't do anything until the TTS action completes, should they select an item that will provide them information via TTS. I have an Animated Image that I want to display (Spinning Hour Glass).
I can set an IV popup, with that image, and it will work, but the image is static while running the long TTS. Is there a way to show an image or any other display to let the users know it's going to be awhile, and execute the TTS commands?
Posts: 720
Threads: 124
Joined: May 2019
Could you use a
Field Check Box? It has
OnFalseClick and
OnTrueClick, as well as State Based colors, images, and Expression settings.
Perhaps when they click the button, the button changes color and will not do any further actions until a certain field is back to a certain setting?
I use the Field Check Box in the HVAC portion of my iPhone IV to indicate which mode is selected on the AC for both cooling and fan. The little vertical, rectangular image super-imposed on top of the button is a
Field Animated Image that I have set to blink (light green image and dark green image) when the AC is actively cooling, etc.
Posts: 1,507
Threads: 143
Joined: May 2007
That is more or less what I am doing - changing the text of the box to "Please Wait". I was hoping that I could display the hour glass, but not a show stopper. I am going to play with it a bit more, see if I can use a state to allow it to pop up when waiting on the TTS command to finish.
Posts: 40,483
Threads: 491
Joined: Aug 2002
You can use a state and show it when the state is true of course. Though it's not a popup in the sense of a real popup, so it won't stop them from interacting with anything else so it might get in the way if it's not placed somewhere appropriate (that would stay appropriate if they continued forward to do other things.)
Dean Roddey
Explorans limites defectum
Posts: 1,507
Threads: 143
Joined: May 2007
(09-20-2019, 12:34 PM)Dean Roddey Wrote: You can use a state and show it when the state is true of course. Though it's not a popup in the sense of a real popup, so it won't stop them from interacting with anything else so it might get in the way if it's not placed somewhere appropriate (that would stay appropriate if they continued forward to do other things.)
I tried doing that, where I changed the flag within the action that would allow the image to become "unhidden", but since I was doing that within the action, it never unhid the image as it was processing a pretty lengthy TTS announcement. I went to plan B and just put the HourGlass wait image as a popup template, and placed all of the actions needed within that, and then did an exit() at the end to get back to where it was.