I’m trying to do somthing like this:
set x to "foobar" my handler x() -- this fails on foobar() log("foobar invoked") end foobar
I’ve tried this a number of ways, but none of them work. How can this be done?
I think it’s possible, because I found a similar question answered in the Apple Mailing List archives. Unfortunately, the answer was truncated and only the first few lines of it remain, and that isn’t enough information for me to piece together the solution.
Thanks in advance.