Should have told I tried the CreateObject from WE and could not get it to work. But did not include the connect event part as I followed examples showing the sub would be called based on the create without Connect. But that's for examples using VBScript general. That's why I attempted the wscript.createobject as I found other examples via Google doing that. Will do some more testing using connect.

Clarification on NO browsemode event. Prerequisite: WE 7.11, IE7, Browse Mode off, any webpage. When monitoring all browsemode events using the event monitor script, in that case NO event is received when a link is clicked and a new page is shown. (Obvious lot of events occur on the window object, speech, msaa, etc)

BR, John

From: Aaron Smith <[email protected]> To: [email protected] Reply-To: [email protected] Subject: Re: Triggerhappy On 8/3/2010 7:54 AM, John wrote:
>  I want a script to take action after a webpage is loaded (check if it
>  is page this-or-that and then do some extra stuff).
You do want the BrowseMode OnStateChange event for this.
>  I've tried OnChildSummary but this doesn't occur if BrowseMode is on.
>  BrowseMode events don't occur when BrowseMode is off.
OnChildSummary is the event that fires when a speak summary is requested
(pressing Control-Shift-S, for example), and doesn't have anything to do
with web page loading. You said that BrowseMode events don't occur when
BrowseMode is off, but Browse Mode being off is one of the possible
Browse Mode event values. Can you clarify your findings?

>  And I don't see a way to recieve the navigateComplete2 event from
>  explorer itself as Wscript.CreateObject() gives an Error in WE.
Use the CreateObject that the Window-Eyes Script object provides, such as:

Set IE = CreateObject("InternetExplorer.Application")

Then, in theory, you could do something like:

ConnectObject IE, "IE_"

Sub IE_NavigateComplete2(webBrowserObj, URL)
      Speak "Just navigated to "&  URL
End Sub

I say theory, because, at first glance, this doesn't work as expected.
I'll keep poking at it.

Aaron

-- Aaron Smith Product Support Specialist * Web Development 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.

Reply via email to