[jawsscripts] Re: countdown timer question

  • From: "Steve Spamer" <stevespamer68@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 23 Apr 2021 20:23:18 +0100

Hi John. Here's the script and function you can use. I didn't use a global. 
Just assign a keystroke to the script, amend the message to what you want and 
the length of time to what you want. 10 is equal to 1 second I think.

Script Test ()
ScheduleFunction ("SayMessage", 100, FALSE)
EndScript

String Function SayMessage ()
SayUsingVoice(VCTX_MESSAGE, "put the message to speak here", OT_STRING)
EndFunction

Best Steve.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of John P. Thomas
Sent: 23 April 2021 20:12
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: countdown timer question

Hi Brian, Bob, and others,

I am very interested in using this tool, but I am not as advanced in my 
understanding of how to apply this information.

So, If I create a script with a key to start the script, then  do I just put 
all this information in the script? It seems like there is more to the 
scripting process. Please explain how to turn this information into a timer 
script.

John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Bryan Schulz (Redacted sender "b.schulz" for DMARC)
Sent: Wednesday, April 21, 2021 3:27 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: countdown timer question

Hi,

I figured it couldn't be that easy.
Your code works great.
I had to flip true to false as I'm on a web app and I have to use other script 
keys to read a name, address, specialty, etc. and false keeps the count from 
being interrupted.
Thanks so much,
Bryan



-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Udo Egner-Walter
Sent: Wednesday, April 21, 2021 1:04 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: countdown timer question

Hi Bryan, 

As far as I know you can't use parameters within ScheduleFunction. You could 
use global variables to solve the problem: 

<code start>

globals 
string gsMessage

void Function SpeakMyMessage ()
SayString (gsMessage)
EndFunction 

.... 
gsMessage = "Message to speak"
ScheduleFunction ("SpeakMyMessage", 600, True)

<code end>

Good luck with your script 
Udo 


Am 21.04.2021 um 19:58 schrieb Bryan Schulz (Redacted sender "b.schulz" for 
DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

Hi,

Would you know what is exactly correct?
ScheduleFunction ("SayString (wake up)", 600, True)
Wouldn't compile.
Bryan

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of gerry.chevalier@xxxxxxx
Sent: Wednesday, April 21, 2021 12:13 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: countdown timer question

You could investigate 
ScheduleFunction ("SayLine", 600, True)       
Which would do a SayLine in 60 seconds or whatever time you wish to delay 

Gerry

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Bryan Schulz (Redacted sender "b.schulz" for DMARC)
Sent: Wednesday, April 21, 2021 9:33 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] countdown timer question

Hi,


Other than pause with say line, is there a jaws block that will count to x
seconds and speak a message?

I have to wait 3 or 5 minutes in certain situations before ending a call.

I alt-tab to teams/outlook to read chat posts and end up burning time when I
should have ended the call.

Thanks,

Bryan








--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


__________�

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts



-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: