I wrote lots of scripts/macros for both AttachMate and Reflections in a previous
job. I'm pretty sure I kept copies of some of them as text files and may have
your answer. However, I don't have them here at work. I will check when I get
home and post it then.