[jawsscripts] Re: using IE objects

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 2 Mar 2009 11:18:38 -0800

I doubt there is a graceful way of doing this.

This is why it would be great if Freedom Scientific provided a function to 
get the DOM of an IE Document Object by referencing a window handle, as the 
GetWindowText function does. If this were possible, then you could just get 
the DOM for the specific window handle, parse the elements to check for 
specific element types and attributes, and do whatever is necessary, without 
having to route the current cursor all over the place just to have it within 
each of those windows in order to capture the DOM.

I've never been a fan of combining IE components within Windows software 
apps for this reason, that it combines two mutually incompatible user 
interfaces. When one is active, the other can't be easily accessible, and 
visaversa.

Sorry, guess that's not much help.

----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, March 02, 2009 8:58 AM
Subject: [jawsscripts] Re: using IE objects


>I know a little about this one, having talked last night to her about
> it in Skype and then having directed her to this list as a general
> resource for info...
>
> She has a program that presents an HTML window for typing--in other
> words, at least I assume, an editable HTML document.  But not all HTML
> windows in this app are editable.  Turning off the virtual cursor
> helps in the editable ones, but the VPC is nice in read-only HTML
> windows.  I told her she'd probably have to use IEGetCurrentDocument()
> and a COM call or two to figure out which HTML windows are editable.
> I just didn't remember, off the top of my head, exactly what property
> to check and on which element in the document.  I think it's
> .IsContentEditable, but I don't know which element(s) that would be
> set on.  I scripted something like this late last year, but I don't
> have access to it right now to look at.
>
> On Mon, Mar 02, 2009 at 04:32:40PM -0000, Sean Randall wrote:
> Desyree,
>
> I'm drawing a blank on this one.  The only thing I can think of is you
> making some sort of textarea form input in Com?
>
> Sean.
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Desyree Vaughn
> Sent: Monday, March 02, 2009 3:55 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] using IE objects
>
> I am looking for help as to how to code an IE com object that will allow 
> me
> to type in a html message body for an email client.
> the script has nothing in it right now just the start and end stuff.
>
> thanks
> Desyree
>
> __________?
> 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

Other related posts: