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 active
window's NativeObjectModel property. For example:
Set ieChildren = ActiveWindow.Children.FilterByClassAndModule("Internet
Explorer_Server", "MSHTML")
For Each ieChild In ieChildren
If ieChild.Visible Then
Set NOM = ieChild.NativeObjectModel
If Not NOM Is Nothing Then
Set currentDocument = NOM.document
If Not currentDocument Is Nothing Then
If TypeName(currentDocument) = "HTMLDocument" Then
Set location = currentDocument.location
If Not location Is Nothing Then
Speak "The URL of this page is " & location.href
End If
End If
End If
End If
Exit For
End If
Next
2.ifI move the focus using ie's built-in commands will we move with this?
Not while you're in browse mode in the current version of Window-Eyes.
With the upcoming version, that will probably, maybe work.
Aaron
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.