将 Quartz Composer 宏添加到 Patch Creator
我可以将 Quartz Composer 中的宏添加到 Patch Creator 中,以便将其添加到我的所有作品中吗?
Can I add a macro in Quartz Composer to the Patch Creator, so I can add it to all my compositions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。有两种方法可以执行此操作:
<您的主文件夹>/Library/Graphics/Quartz Composer Patches
中。重新启动 Quartz Composer 后,它将出现在 Patch Creator 中。Yes. There are two ways you can do this:
<your home folder>/Library/Graphics/Quartz Composer Patches
. After you restart Quartz Composer, it'll appear in the Patch Creator.smokris 有一个很好的回应,尽管我发现自己必须读几遍才能明白它的含义!如果您想从预先存在的补丁中构建单个补丁:点击“添加到库”,确保您已选择要合并的所有补丁并发布了您想要的输入输出等(smokris 选项 2)。我已经制作了一些“电源补丁”,其中仅包含我想要的相关参数/功能。您会丢失已连接的各个补丁,这也许可以使事情变得简洁。
如果您想保留整个合成和配置的补丁,以便可以调整和重新连接它们,则手动导入它(smorkis 选项 1)。真麻烦啊!
——但不一定是这样。如果您使用 Automator,您可以包含一个 Apple 脚本步骤来为您完成所有导入!例如,写一个:
*获取指定的查找器项目(您要导入的 qtz 作文)
*打开查找器项目
*运行苹果脚本:
这样,您可以通过 Spotlight(命令空格键)打开 Automator 应用程序,只需单击 1-2 次即可导入合成。厉害了哈!!
smokris has a good response although I find myself having to read it several times to get what it means! If you want to build a single patch out of pre-existing patches: Hit Add to Library, making sure you have selected all the patches you want to consolidate and the published the inputs outputs you want, etc (smokris option 2). I've made some of these "power patches" with only the relevant parameters/features I want. You lose the individual patches you've connected, which is maybe ok to make things concise.
IF you want to preserve the entire composition and configured patches so you can tweak and rewire them, then manually import it (smorkis option 1). What a hassle!
--BUT it doesn't have to be. If you use Automator, you can include an Apple Script step to do all the importing for you! For example, write one that:
*get specified finder items (your qtz composition you want to import)
*opens finder items
*run apple script:
That way, you can open that Automator application via Spotlight (command spacebar) and it'll import the composition in 1-2 clicks. Awesome huh!!