One thing you have to bear in mind is that we're dealing with two different
elements here. scripting or programming; such as using VBScript or Power
BASIC is one thing. Employing COM automation from within a program is
another. Because the VBScript run-time engine is incorporated within the
Window-Eyes server, learning VBScript is the way to go, in my opinion. But
that's just the programming aspect. Through a program is how you access the
Window-Eyes object model. One thing to keep in mind while looking at scripts
is that the simple period (.) is a big red flag waving at you saying, I am
part of the object model. So connecting the dots equals object model
references. Minus a literal file name or decimal number in program code,
anything connected with dots is an object element. For example:
Set myClips = ActiveWindow.Clips.FilterByType(ctText)
should tell you that the myClips variable (left of the equals sign) is being
"Set" to contain a collection of clips from the active window which are
filtered by the type, text.

So essentially, in that statement, what's left of the equals sign is part of
the programming language and what's right of it are elements of the object
model. What you do with that information will then be managed by the
programming language and/or the object model, depending on what you're
doing. For instance, reformatting data will be done like any other
programming task. Once that task is done, however, and you want to speak
your spiffed up text and insert additional data you'll use an object model
command to do so, such as in the following.
Speak "Current state is: " & spiffedUpVariable
"Speak" is a method (function) of the object
model and spiffedUpVariable is a product of your programming.

Under the first heading of the Window-Eyes scripting manual, An Introduction To Window-Eyes Scripting, there is the "Additional resources" sub-section. There are several links to VBScript tutorials and help files there.

Hth,
Tom

----- Original Message ----- From: "net bat" <[EMAIL PROTECTED]>


hi,
is there any w e tutorials to help for writeing w e scripts.
i do not mean useing existing scripts as examples. they don't mean a thing
to me.

i mean like  power basic  or the old gw basic i learned with dos.  where it
listed the commands and how the work and how to use them.  etc.
i have gotten nothing from useing existing scripts as examples. i do not
know what all these command lines mean.
do i need a program, note pad, etc. right now the programing is over my
head.
i have one program lotto pro where the check boxes will not speak. this is
the only place where w e will not speak  in the program. so i can not choose
the numbers i want to use from the list.
they do have a 15 day free trial.
windowslotto.com
gw has told me a script may work buy detecting the change in the color
attribute  of the check boxes. maybe scripters could help since there are
more people now with scripting experiance..
thanks for any help.


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3453 (20080918) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Reply via email to