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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -