Hi John: I am not a scriptor and while I understand what you say I have little and less understanding of how to implement it in VbScript. I am leaning twoard trying to create a simple script to try and test any solutions to the problem defined in that posting including the one you mention. If you used it which program did you script and did it work? Thanks for the time and the response. Rick USA -----Original Message----- From: Jonathan C. Cohn [mailto:[email protected]] Sent: Saturday, March 21, 2015 8:20 AM To: Rick Thomas; Window-Eyes Scripting List Subject: Re: Really short abstract of only key items for test
It was recommended to me to connect the handler to the desktop and then disconnect when the application is in background. Some applications recreate their overlap window and that would cause your event handlers to have a filter that would never match. Sent from my iPhone > On Mar 20, 2015, at 2:47 PM, Rick Thomas via Scripting <[email protected]> wrote: > > Hi: Really short abstract of only key relevant items organized easier > to > read: > > It appears the ClientInformation.Overlap window is not triggering the > OnChild event to fire its sub: > > Here are the logger statements followed by the output from the test > for each statement of iterest: > > Logger( "Test Line From Top") > > Test Line From Top (from logger) > > Logger( "Second Line") > > Second Line (from logger) > > Dim myINIFile : myINIFile = ClientInformation.ScriptPath & "\vs2008.ini" > (from code) > > [RicksNote there is no INI file in the installed files for VS 2008 > script only the vbs and xml files] > > Dim myXMLFile : myXMLFile = ClientInformation.ScriptPath & "\vs2008.xml" > (from code) > > Logger( ClientInformation.ScriptPath & " > ClientInformation.ScriptPath") (from logger) > > C:\Users\ricksdell\AppData\Roaming\GW Micro\Window-Eyes\users\default > ClientInformation.ScriptPath (from logger) > > Logger( myINIFile & " myINIFile") > > C:\Users\ricksdell\AppData\Roaming\GW > Micro\Window-Eyes\users\default\vs2008.ini myINIFile (from Logger) > > Logger( myXMLFile & " myXMLFile") > > C:\Users\ricksdell\AppData\Roaming\GW > Micro\Window-Eyes\users\default\vs2008.xml myXMLFile (from logger) > > Logger( ClientInformation.Overlap.ModuleName & " OverlapWindow > ModuleName") > > DEVENV OverlapWindow ModuleName (from Logger) > > Logger( ClientInformation.Overlap.Name & " Overlap Window Name") > > HwndWrapper[DefaultDomain;;bc6a Overlap Window Name (from logger) > > Later in the code: > > RtHere this line should have wired up the OnChildFocus Event Handler > for the Overlap window and was executed according to the Logger Printout. > > ConnectEvent ClientInformation.Overlap, "OnChildFocus", "OnChildFocus" > (from > code) > > Logger( "ConnectEvent ClientInformation.Overlap, OnChildFocus, > OnChildFocus") > > ConnectEvent ClientInformation.Overlap, OnChildFocus, OnChildFocus > (from > logger) > > RtHere This is the event that should, but doesnt, fire upon the > OnChildFocus event of the OverlapWindow with module name DEVENV notice > the print statement and no corresponding output in the logger output. > > Sub OnChildFocus(windowObj) (from code) > > Logger( "OnChildFocus fired") > > (Nothing in logger since did not fire) > > Finally here is the output from WEEVent: > > 3554 Keyboard.OnKeyDown VirtualKeyCode = 13, keyModifiers = 0 > > ... > > RtHere Here is the OnChildFocus event firing as listed in WEEvent, > should have fired the OnChildFocus Event Handler and printed a line in > the Logger Output but didnt: > > 3566 Window.OnChildFocus, Handle = 280484, Module Name = DEVENV, Class > Name = HwndWrapper[DefaultDomain;;92c786c5-60d2-4d93-9780-9c347e84, > Title = Start Page - Microsoft Visual Studio > > 3567 Speech.OnSpeak, "Start Page" > > ... exited everything > > EndOfMessage > > -------------- next part -------------- An HTML attachment was > scrubbed... > URL: > <http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/at > tachments/20150320/8429aaf0/attachment.htm> > _______________________________________________ > Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. > > For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/jon.c.coh n%40gmail.com. > For subscription options, visit > http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com > List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com _______________________________________________ Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com. For subscription options, visit http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com
