Re: BrowseMode queries

2012-10-03 Thread RicksPlace
Sorry to interupt but is GW, or the script developers, using UIA to access the IE DOM? I just read something to that effect concerning GW WindowEyes and the IE9 and above DOM. It was not from a GW site but some overview of IE9, plug-Ins and accessing the DOM I started reading after getting inter

Re: BrowseMode queries

2012-10-03 Thread Aaron Smith
If you find yourself with an IHTMLDOMNode2 object, then, yes, you could use ownerDocument. The BrowseModeLine object's DOMNode property, however, only returns IHTMLDOMNode (as far as I know). Aaron On 10/3/2012 10:36 AM, Doug Lee wrote: Can't you use .ownerDocument to get the Document object

Re: BrowseMode queries

2012-10-03 Thread Doug Lee
Can't you use .ownerDocument to get the Document object directly? On Wed, Oct 03, 2012 at 09:31:58AM -0400, Aaron Smith wrote: On 10/3/2012 8:39 AM, Sean Farrow wrote: Firstly, is thee a way to obtain the IHtmlDocument from the BrowseModeObject? You can get an IHTMLDOMNode object fro

Re: BrowseMode queries

2012-10-03 Thread Aaron Smith
On 10/3/2012 9:43 AM, Sean Farrow wrote: 1.Can I obtain the current line that browsemode is on? Alternatively is the htmlDocument interface/window/tab available? Use the BrowseMode's Line property gives you a BrowseModeLines collection. You could always get an IHTMLDocument object from the act

RE: BrowseMode queries

2012-10-03 Thread Sean Farrow
Hi aron: Thanks for this, two follow ups: 1. Can I obtain the current line that browsemode is on? Alternatively is the htmlDocument interface/window/tab available? 2. ifI move the focus using ie's built-in commands will we move with this? Cheers Sean.

Re: BrowseMode queries

2012-10-03 Thread Aaron Smith
On 10/3/2012 8:39 AM, Sean Farrow wrote: Firstly, is thee a way to obtain the IHtmlDocument from the BrowseModeObject? You can get an IHTMLDOMNode object from a BrowseModeLine object. While you can't get a document object from a IHTMLDOMNode, you can walk up the node's parent tree until you f

BrowseMode queries

2012-10-03 Thread Sean Farrow
Hi: I'm currently writing an external script tht is using browse mode and have a few queries: Firstly, is thee a way to obtain the IHtmlDocument from the BrowseModeObject? Secondly, is thee a way using scriptin currently to simulate BrowseMode movement-ienextheading? Help appreciated as always. C