Adding a quartz composer macro to the patch creator

Can I add a macro in Quartz Composer to Patch Creator to add it to all my compositions?

+3
source share
2 answers

Yes. You can do this in two ways:

  • Save the macro as a composition and put the composition file in <your home folder>/Library/Graphics/Quartz Composer Patches. After restarting Quartz Composer, it will appear in Patch Creator.
    • Warning. When you use a macro saved this way, a link is created (rather than copying the actual contents of the macro), so you need to manually set the macro to make it work.
  • Mac OS 10.6 . , , "" " ".
    • . , , 10.6 .
+3

smokris , , , ! : " ", , , , , , .. ( smokris 2). " " /, . , , , , .

, , ( smorkis 1). !

- . Automator, Apple Script, ! , , :

* ( qtz, ) * * apple script:

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

, Automator Spotlight ( ), 1-2 . , !

0

All Articles