I have always run AppleScripts with a single Cocoa call:
NSAppleEventDescriptor *result=[script executeAndReturnError:&errorInfo];
but things seemed to have change in Lion. The first symptom is that scripts
that used to run fine, now quit with an "AppleEvent timed out" error. The only
one
John Joyce wrote:
I know I can do awkward things with AppleScript and Folder Action
scripts,
but is there a strictly Cocoa/Objective-C way to do something like
Folder Action scripts short of a daemon?
Try kqueue or FSEvents.
HTH
has
--
Control AppleScriptable applications from Python, Ruby
I know I can do awkward things with AppleScript and Folder Action
scripts,
but is there a strictly Cocoa/Objective-C way to do something like
Folder Action scripts short of a daemon?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do