[jawsscripts] Re: finding objects

I saw your question both times but don't really understand what you
want.  Here are a couple of answers to things I think you may be
asking:

If you want to find out what objects are referenced in a specific set
of scripts, look for the word object, because it occurs in most script
commands that obtain object (GetObject, CreateObject, GetFocusObject,
GetCurrentObject, etc.).  A few script commands, like
IEGetCurrentDocument, don't contain the word "object" though.

If you want to know the objects an application would let you reach
from a script, which is actually what I think you're asking, there's
not really a bullet-proof technique I've found.  I've done any of the
following things trying to get an answer to that question for various
applications over the years:

1.  Asked on programming mailing lists about the application to see if
it has an object model.

2.  Asked developers of the application when possible.

3.  Scanned the system registry for references, which I find easiest
to do with a good text editor and a text copy of the registry.  That
one is time-consuming, so I don't do it often and don't remember a lot
of details about how I did it at the moment.

4.  Used Microsoft Word's Object Browser to look for things that
seemed relevant to the application.

5.  Used a COM object viewer to examine DLL, TLB, and EXE files that
are part of the application.  The Word Object Browser can do this
also.

Finally, regarding the o.accName, o.accRole, etc., you mentioned:
Those are MSAA object methods and properties and are not actually
provided by the application.  They are basically provided by Windows
and assigned values and behavior by the application.  Searching the
Microsoft Developer Network (MSDN) documentation should net some info
about MSAAA.

On Wed, Sep 24, 2008 at 11:09:04PM +0300, milios awad wrote:
hi listers
i posted a question to the list about objects but no respond
i hope someone could help me.
this is my question again:
what is the way to to get all objects names in a spacific aplication? i found 
in skype.jss something like: o.accchildCount and o.AccRole... as i think these 
are objects name isn't it? so how to get these names when scripting an 
aplication? 
thanks in advance

milios awad

skype ID: milios949
MSN: nt_lebanon@xxxxxxxxxxx
mailto:milios@xxxxxxxxxxxx

__________?
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

-- 
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________ 
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: