简体   繁体   English

如何在Mac OS X上使用photoshop在滤镜插件中打开文件?

[英]How can I use photoshop to open a file in filter plugin at Mac OS X?

I used the function system("open file"), it works well in any other program. 我使用了系统功能(“打开文件”),它在任何其他程序中都可以正常工作。 For example, system("open /tmp/1.psd"), this code can use photoshop open the file 1.psd . 例如,system(“ open /tmp/1.psd”),此代码可以使用photoshop打开文件1.psd。 But it just don't work in my photoshop plugin program. 但这在我的photoshop插件程序中不起作用。 How can I use photoshop filter plugin to open a file in Mac OS X? 如何使用Photoshop滤镜插件在Mac OS X中打开文件? Now I just want to try other way to open a file in Mac OS X. In windows, the shellExecute works well. 现在,我只想尝试其他方法即可在Mac OS X中打开文件。在Windows中,shellExecute可以很好地工作。 I have read the following links OSX equivalent of ShellExecute? 我已阅读以下链接OSX等同于ShellExecute吗? . It didn't work for me. 它对我不起作用。

您应该阅读 OS X 文件系统编程指南 》。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM