Thanks for the reply. I just tried it, but no luck. Still getting a
"event not handled" error. The script runs fine from the Script editor
so all I can think of is that the subroutine option is broken in both
NSAppleScript and OSAScript. Is this a known bug in Apple's script
frameworks? I'v
Ken Tozier wrote:
I've been trying off and on for a couple of days to run a script that
requires parameters. [...]
My code is running as a Quark XTension so I may be setting up the
"targetAddress" incorrectly.
If you're constructing Apple events to pass to -
executeAppleEvent:error:, the add
Hi
I've been trying off and on for a couple of days to run a script that
requires parameters. The first problem I found was that NSAppleScript
has a bug that wipes out QuarkXPress's event dictionary when loading
scripts containing Quark commands. Someone pointed me to the OSAScript
framew