First, how do I copy and paste error compile or run time error messages for posting to the list?
Below is the script, only a few lines, with my question Note that in the original script I did not see where windowObj was set to anything - could have been the problem so testing this: ' VS2013 Option Explicit Dim myMSAAEventSource : Set myMSAAEventSource = MSAAEventSource myMSAAEventSource.Process = ClientInformation.ApplicationProcess [The below statement threw an error message, how would I do this?] ' Dim windowObj: windowObj = ClientInformation.Overlap ConnectEvent ClientInformation.Overlap, "OnChildFocus", "OnChildFocus" Sub OnChildFocus( windowObj ) Logger( "OnChildFocus fired") End Sub ' EndOfFile: -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/attachments/20150321/8875e9ba/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/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
