When you use "tell myTasker to run", I suspect Cocoa is baulking at the AS
keyword. The correct usage would probably be "tell myTasker to |run|()". In
fact, you could make it a class call rather than an instance call and use:
"current application's myTask's |run|()" -- a form that won't even compile
without the pipes, suggesting it's not really legal.
But even with the pipes in the call, it won't work unless you also add the
pipes to the handler itself -- Cocoa just doesn't seem to see a normal run
handler as a method: +[myTask run]: unrecognized selector sent to class
0x20091e3a0. The same goes for idle, open, etc.