[jawsscripts] Re: Script Problem

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 24 Aug 2009 21:08:35 +1000

no probs.

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


> Appreciated, thanks very much indeed!
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Monday, August 24, 2009 11:45 AM
> Subject: [jawsscripts] Re: Script Problem
>
>
> > also, you may wanna begin folllwing the protocols of your variables by
> > putting the lower case letter before the variable name, just to help you
> > in
> > less confusion when reading code back, which variable is what. like,
> >
> > var
> > string sQueueText,
> > Int iQueueValue,
> >
> > etc.
> > one other tip I'd suggest, is when you do things like in the line:
> >
> >>> SayString("Queue Status Is: ")
> > notice how i've inserted a space between the colon, and the closing
quote
> > mark?
> > this will insure the synthesizer separates the hardCoded sayString
> > statement
> > you've got, from the actual variable.  the way you have them coded in
your
> > example, with no space, they would run together, and may not thus
produce
> > the result you'd desire.
> > that's a good practise I think to get in the habit of doing for the
reason
> > specified.
> >
> >
> >
> > ----- 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
> >
>
>
> --------------------------------------------------------------------------
---------------
> 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

Other related posts: