Hi Rick,
First of all, thank you very much for a detailed introduction to event-driven scripts!
Now, I also know that you have a blog, which is great.
I do have a couple of questions.
1. It not clear to me how to add a "Registered" script to the FM script catalog. This option is not documented well. The FM help says that adding a script as registered is described "in the appendix", which does not exist.
2. In the sample script you presented on your blog, the following line is not defined anywhere else. How does this work?
Notification (Constants.FA_Note_PostGenerate, true);
3. function Notify (note, object, sparam, iparam) has 4 params, but only 2 of them are actually used. Why do you need to use "object" and "sparam" in this function?
4. When running the command code checking script, and then importing formats from another file, I get [Object InvalidObject] alert and not the command number. Please, advise!
5. Why would the Notify event be actually called twice?
Thank you a million! You are great!
My best wishes,
Roman