[jawsscripts] Re: Script help

Hi,

If you place Jaws cursor in the text you want to read, and press 
Insert+control+F1, what you get?

Rui

----- Original Message ----- 
From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, February 17, 2009 8:31 AM
Subject: [jawsscripts] Re: Script help



Hi,

here is my script minus the ;'s at the moment as unfortunately it still
doesn't seem to work, can anyone run their eye over it for me please?
I still have to get the number of the window handle and add it in as well.

Script Test ()

;Var Handle hWindow

;Let hWindow =FindWindowWithClassAndId (GetAppMainWindow

;(getCurrentWindow()),hWindow,0)

;SpeechOff ()

;MoveToWindow (hWindoww)

;Pause ()

;RoutePcToJaws ()

;PcCursor ()

;PerformScript SayAll()

;EndScript

----- Original Message ----- 
From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, February 16, 2009 4:11 PM
Subject: [jawsscripts] Re: Script help


> Hi Steven:
>
> You will first need to define your variable before you can use it.
>
> at the top of your script, you will use the var statement to define
> your variable.  In this case your variable needs to be a handle to hold
> the handle of the window that you are trying to move to.  If you are
> using the example that Rui sent, your var statement would look like
> this:
>
> var handle hWindow
>
> You will need to use home row mode to determine the class of the window
> you are trying to move to.  when you set the output mode to speak the
> class for the window you are looking for, you can use control+f1 to copy
> this value to the clipboard.
>
> You will need to place this value in the line where Rui specified
> "Your Window Class".  Be sure to surround this value with Quotes.
>
> You are also going to need to determine the control id for this window.
> select the Control  output mode in homerow and then use control+f1 to
> copy the control id to the clipboard.  You should then copy this id to
> the field following the window class you specified earlier.
>
> Here is something else you can do to test to see if Jaws was able to
> return the handle for your window.
> place the following statement after the line you just changed.
> Sayinteger (hWindow)
> this will speak the value contained in the hWindow variable.
> If Jaws says 0 then you will know that the window was not found.
> If Jaws speaks another value, then you can assume that jaws found the
> window you wanted.
> Hopefully jaws will then also speak the contents of this window for
> you.
>>>> "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx> 03:22 am
> Monday, February 16, 2009 >>>
>
> Just get an error unknown variable HWindow.
>
>
>
> David Farough
> Application Accessibility Coordinator/coordonateur de l'accessibilité
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> Tel. / Tél:    (613) 992-2779
> __________
> 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: