[jawsscripts] Re: Script Problem

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 24 Aug 2009 10:07:08 +0100

Beep may be a confusing name for this function.  On my system it produces 
the system 'alarm' sound, which is more like a short drum beat.  Also, Jaws 
scripts are notorious for not waiting for previous lines of code to finish, 
so you may find this sound seems simultaneous with the start of your speech 
function.  Try introducing Delay (20, 1) before the beep, which will wait 
for two seconds.

  hth

Martin


----- Original Message ----- 
From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, August 24, 2009 9:11 AM
Subject: [jawsscripts] Script Problem


> Hello friends,
> thanks to everyone's help on the list, I have a really useful script 
> defined.  I just need to attach it to a frame event which shouldn't be a 
> problem.
> Just one issue, the Beep() statement doesn't seem to do anything or 
> produce any system sound, does anyone know why this may be please?
>
> My script is below:
>
> Script OverallStatus ()
>
> var
>
> String QueueText,
>
> Int queueValue
>
> JAWSCursor()
>
> MoveTo(177,351)
>
> ;SayWord()
>
> Let QueueText=GetWord()
>
> Let QueueValue=StringToInt(QueueText)
>
> SayString("Queue Status Is:")
>
> SayString(QueueText)
>
> SayInteger(QueueValue)
>
> If (QueueValue>1) then
>
> Beep()
>
> EndIf
>
> Beep()
>
> ;SayFrame ("Queue")
>
> ;;GetTextInFrame (Queue,queueText)
>
> ;SayFrame("AgentsAvailable")
>
> ;SayFrame("AgentsLoggedIn")
>
> ;SayFrame("WaitTime")
>
> PCCursor()
>
> EndScript
>
>
> -----------------------------------------------------------------------------------------
> The information in this e-mail and any attachments is
> confidential and is intended for the attention and use of the
> named addressee(s).  It  must not be disclosed to any other
> person  without our authority.  If you are not the intended
> recipient, or a person responsible for delivering it to
> the intended recipient or are aware that this e-mail has been
> sent to you in error, you are not authorised to and must not
> disclose, copy, distribute, or retain this message or any part of it.
>
> We sweep all outgoing messages for the presence of computer
> viruses. However, we cannot accept any responsibility for any
> loss or damage to your systems due to viruses or malicious
> code not detected.
>
> The statements and opinions expressed in this message are
> those of the author and do not necessarily reflect those of the
> organisations within the Cornwall & Isles of Scilly Health
> Community.
>
> This email may be disclosed under the Freedom of Information
> Act 2000 or the Environmental Information Regulations 2004.
> -----------------------------------------------------------------------------------------
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.65/2323 - Release Date: 08/24/09 
06:05:00

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: