Supposedly I was signed up to receive posting notifications, but apparently not.
Apparently I did not test using a NULL object. I will look at that.
Yes, the notification can indeed be easily delayed. Premise uses the ActiveScript engine, and all callbacks are performed on the same thread. Additionally, although the timer may update the object without too much delay (in fact, you could likely probe the value and see that it has indeed been changed), synchronizing with the VBScript execusion is another matter.
Yes, just passing a script, or a path to a method would be useful. I was trying to decrease overhead, but at some point the thing has to sync with the scripting engine. Plus the whole context issue with a this pointer.
Actually, I was vbscript in an attempt to delay rewriting an old Premise driver to use a new interface I have to its bus, which changes completely how packets are handled (Phast/Panja h/w with an interface I finally got working to talk directly to the Lonmark bus, removing the MCU). The timer was just to handle things like transitioning a button Press to a Hold, or AutoReset of a relay.