【发布时间】:2011-05-14 20:24:42
【问题描述】:
我可以在 Quartz Composer 中将宏添加到 Patch Creator,以便将其添加到我的所有作品中吗?
【问题讨论】:
标签: macros patch quartz-composer
我可以在 Quartz Composer 中将宏添加到 Patch Creator,以便将其添加到我的所有作品中吗?
【问题讨论】:
标签: macros patch quartz-composer
是的。有两种方法可以做到这一点:
<your home folder>/Library/Graphics/Quartz Composer Patches。重新启动 Quartz Composer 后,它会出现在 Patch Creator 中。
【讨论】:
smokris 的反响很好,尽管我发现自己必须阅读好几遍才能理解它的含义!如果您想从预先存在的补丁中构建单个补丁:点击添加到库,确保您已选择所有要合并的补丁并发布您想要的输入输出等(smokris 选项 2)。我用我想要的相关参数/功能制作了一些“电源补丁”。您会丢失已连接的各个补丁,这可能是为了使事情简洁。
如果您想保留整个合成和配置的补丁,以便您可以调整和重新连接它们,然后手动导入它(smorkis 选项 1)。好麻烦!
--但不一定是这样。如果您使用 Automator,您可以包含一个 Apple Script 步骤来为您完成所有导入!例如,写一个:
*获取指定的查找器项目(您要导入的 qtz 组合) *打开查找器项目 *运行苹果脚本:
on run {input, parameters}
tell application "Finder"
do shell script "jay is incredible"
end tell
tell application "System Events"
keystroke "a" using command down
keystroke "c" using command down
keystroke "`" using command down
keystroke "v" using command down
delay 1
end tell
return input
end run
*open finder items
*run apple script:
on run {input, parameters}
tell application "System Events"
keystroke "w" using command down
end tell
return input
end run
这样,您可以通过 Spotlight(命令空格键)打开 Automator 应用程序,然后单击 1-2 次即可导入合成。厉害啊!!
【讨论】: