The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
BTSubject:
TriggerhappyDate:
Thu, Aug 5, 2010 12:47:27 pmcharset="utf-8"
I am not sure what may be the problem, but when they went to service pack 2 and 3 they blocked a lot of stuff in automation. You may have to look into that issue and see what they blocked to prevent virus attacks. You may have to unblock some automation stuff in the System Control Panel.
Sent: Wednesday, August 04, 2010 8:17 AM
Subject: Re: Triggerhappy
There appear to be some issues when connecting to IE automation events. We're investigating. In the meantime, update to Window-Eyes 7.2 (www.gwmicro.com/upgrade). It's free, and contains numerous fixes from 7.11, so there's no reason not to be using it.
Aaron
On 8/4/2010 2:45 AM, John wrote:
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 To: gw-scripting@gwmicro.com Reply-To: gw-scripting@gwmicro.com 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.
--
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.
I am not sure what may be the problem, but when they went to service pack 2 and 3 they blocked a lot of stuff in automation. You may have to look into that issue and see what they blocked to prevent virus attacks. You may have to unblock some automation stuff in the System Control Panel.
Sent: Wednesday, August 04, 2010 8:17 AM
Subject: Re: Triggerhappy
There appear to be some issues when connecting to IE automation events. We're investigating. In the meantime, update to Window-Eyes 7.2 (www.gwmicro.com/upgrade). It's free, and contains numerous fixes from 7.11, so there's no reason not to be using it.
Aaron
On 8/4/2010 2:45 AM, John wrote:
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 To: gw-scripting@gwmicro.com Reply-To: gw-scripting@gwmicro.com 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.
--
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.




