also when debugging a script like this, in my experience it's been helpful to put some kind of sayString to the synthesizer, rather than just a system beep, like Saystring ("beep") or better still, some string indicating what point of the functionality has been gotten to in logic by that point etc. ----- Original Message ----- From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Monday, August 24, 2009 7:17 PM Subject: [jawsscripts] Re: Script Problem > thanks, the script is running on a laptp that I am RDP'd to so this may be > effecting something. > The sound has been told to stay on the remote machine. > I will try the delay, thanks for that. > > ----- Original Message ----- > From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Monday, August 24, 2009 10:07 AM > Subject: [jawsscripts] Re: Script Problem > > > > 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 > > > > > -------------------------------------------------------------------------- --------------- > 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 > __________ 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