Cocoa AppleScript

2011-08-02 Thread John Nairn
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

Re: Cocoa / AppleScript Folder Action

2008-08-04 Thread has
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

Cocoa / AppleScript Folder Action

2008-08-03 Thread John Joyce
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