[jawsscripts] Re: finding objects
- From: Jamal Mazrui <empower@xxxxxxxxx>
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Wed, 24 Sep 2008 17:03:42 -0400 (EDT)
Cool. For completeness, any suggestion for Handle? Also, I'm curious
whether other subtypes can sometimes be used even though direct support is
lacking, e.g., a real number, date, or array.
Jamal
On Wed, 24 Sep 2008,
Doug Lee wrote:
> Date: Wed, 24 Sep 2008 16:24:24 -0400
> From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
> Reply-To: jawsscripts@xxxxxxxxxxxxx
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [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
>
__________
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
- Follow-Ups:
- [jawsscripts] Re: finding objects
- From: Doug Lee
- References:
- [jawsscripts] finding objects
- From: milios awad
- [jawsscripts] Re: finding objects
- From: Doug Lee
Other related posts:
- » [jawsscripts] finding objects
- » [jawsscripts] Re: finding objects
- » [jawsscripts] Re: finding objects
- » [jawsscripts] Re: finding objects
- » [jawsscripts] Re: finding objects
- » [jawsscripts] Re: finding objects
- [jawsscripts] Re: finding objects
- From: Doug Lee
- [jawsscripts] finding objects
- From: milios awad
- [jawsscripts] Re: finding objects
- From: Doug Lee