osx - AppleScript executed with NSAppleScript does not work -
I call and execute apple scripts in the main speech
NSAppleScript * as = [[NSAppleScript alloc] initWithSource: @ "Application to request \" explorer \ ""];]; [Executed and return as: zero]; [Release]]; but the script
tell the application finder to call works well in AppleScript Editor is .
Your comment is welcome
How to check this result and error From
NSDictionary * Errors = Zero; NSAppleEventDescriptor * Result = [Executed Andrator As Error: & amp; Errors]; NSLog (@ "Result:% @", Results); NSLog (@ "Errors:% @", Errors);
Comments
Post a Comment