Execute a string

Is there anyway to define a callback handler as a string and tell Applescript to issue it?

Basically, I’d like to know if it’s possible to define a command as a string and have Applescript execute it.

Thanks,

Hi,

No, AppleScript can not subscribe to any callbacks or notifications, but you could use launchd.

Yes, you can execute literal strings with the run script command

You rule. I’ll write my own callbacks using this then.