It sounds like you don't know what windows you have and what their parents are. So, I'd issue the keystroke you're using to cause the focus to change (so that the window you are interested in has appeared), then hit the hotkey to run the TreeView app so that you can see all the windows, and who is a child of whom. Compare some of the names to those in your log.
Hth, Chip -----Original Message----- From: Rick Thomas [mailto:[email protected]] Sent: Saturday, March 21, 2015 3:21 PM To: 'Chip Orange'; 'Window-Eyes Scripting List' Subject: RE: New Visual Studio Script Hi Chip et al: Below is about as simple as I can get and eliminating the process filter did not help. So you guys are the pros from Dover, what next? Will posting the WEEvent lines help? Which objects or events do you want to see in particular? Do you want to see the properties for the Overlap Window? Option Explicit Logger( "Test Line From Top") Dim windowObj Set windowObj = ClientInformation.Overlap ConnectEvent ClientInformation.Overlap, "OnChildFocus", "OnChildFocus" Sub OnChildFocus( windowObj ) Logger( "OnChildFocus fired") End Sub _______________________________________________ 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
