That should work great. Thank you very much.
I take it the %Actions variable would be set up in the Variables window for the Scripts editor, rather than in the script itself. How would it be set up there? I was checking the Help file, but it didn't help too much. I'm rather script illiterate.