Perfect icon indicating copy to clipboard operation
Perfect copied to clipboard

How to execute NSAppleScript?

Open fisherjoe opened this issue 7 years ago • 1 comments

When I run NSAppleScript in Perfect , the service stop at the point executeAndReturnError with not any error message. I search NSAppleScript on web and found it is not thread-safty however Perfect is not runing on main thread. The question is: How could I run NSAppleScript in Perfect or get main thread? Is it special way to realize?

PS: It is wired that it is fine when run release exec but in xcode.

fisherjoe avatar May 27 '18 05:05 fisherjoe

If you want to run on main thread you call Swift's DispatchQueue. This issue has nothing to do with Perfect. Please close.

kuhl avatar Nov 15 '18 20:11 kuhl