This is somewhat of a follow-up to an answer here.
I have a custom ActiveX control that is raising an event (\"ReceiveMessage\" with a \"msg\" parameter) that needs
I was able to get this working using the following script block format, but I'm still curious if this is the best way: