i.e. Can I do everything I can do with OSA just as well with Cocoa? For example communicate with other open apps and tell them to do a specific thing (resize window, etc.)
Asked
Active
Viewed 136 times
0
-
You can run AppleScripts from Cocoa, but without any help of the Open Scripting Architecture you cannot communicate with other apps. – vadian May 28 '16 at 16:05
-
Take a look at NSScriptCommand. – jtbandes May 28 '16 at 17:16
1 Answers
1
Technically yes. Cocoa supports things like NSAppleScript and NSScriptCommand to accomplish the same things, however they are pretty similar to applescript themselves.

Chase
- 453
- 1
- 5
- 15