Run AppleScript from Cocoa Application

Is it possible to run an AppleScript code inside an Cocoa Application?

I've tried NSAppleScript class, but no success.

Also, does Apple allow this?

12
задан Fábio Perez 13 August 2011 в 02:36
поделиться