[jawsscripts] Document Object From Window Handle?

Does anyone know if it's possible to get the browser document object using a 
window handle?

For instance IEGetCurrentDocument will only return the current document 
object within the current window, but I need to get the document object 
within another window without having to focus to it beforehand.

Thanks,

Bryan
----- Original Message ----- 
From: "Tim Burgess" <tim@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, October 08, 2008 8:26 AM
Subject: [jawsscripts] Re: FormatString function usage


> Doug,
>
> Thanks for that.  Most lucid!
>
>
> Best wishes.
>
> Tim Burgess
> Raised Bar Ltd
> Phone:  +44 (0)1827 719822
>
> Don't forget to vote for improved access to music and music technology at
>
> http://www.raisedbar.net/petition.htm
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Doug Lee
> Sent: 08 October 2008 16:19
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: FormatString function usage
>
> FormatStringWithEmbeddedFunctions returns the string you pass it after it
> translates any function calls in angle brackets into their return values.
> The following input strings result in the indicated outputs:
>
> My name is <getUserName()>
> Returns "My name is Doug" on my machine.
>
> <getWindowType(65556)
> "Desktop" on this machine.
>
> <getWindowClass(getFocus())>
> "Invalid window handle" or "" depending on JAWS version
>
> The last example is not allowed; no nested calls.  You also can't do 
> things
> like <3+4>, refer to variables, or do anything with objects or 
> by-reference
> parameters.  Still, it's a cool function.
>
> On Wed, Oct 08, 2008 at 03:48:11PM +0100, Tim Burgess wrote:
> Hi,
>
> Can anybody elucidate on the usage of this function and its parameters,
> please?
>
> Best wishes.
>
> Tim Burgess
> Raised Bar Ltd
> PO Box 4442
> Atherstone
> Warwickshire
> CV9 9AT
>
> Phone:  +44 (0)1827 719822
> Email:  tim@xxxxxxxxxxxxx
> Web:  http://www.raisedbar.net
>
> Don't forget to vote for improved access to music and music technology at
>
> http://www.raisedbar.net/petition.htm
>
>
> __________?
> 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
> 

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