开发者

Run Javascript from Obj-C/C++ that interacts with Photoshop

Slightly related to my other question, 开发者_开发技巧how do I execute JavaScript from an Obj-C/C++ program on OSX? (I think JavaScript will allow me to do what I need to, even though AppleScript doesn't. According to the Photoshop documentation anyway.)

I need it to be able to interact with Photoshop.


While I really doubt using Javascript will allow you to do what you want (how is Javascript going to achieve what you need if AppleScript can't?), if you're looking to execute Javascript from Cocoa, WebKit is probably your only option. Take a look at this tutorial, and see it will provide you with the tools you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜