11 Replies Latest reply: Jul 15, 2012 9:10 PM by wombat2007
wombat2007 Level 1 Level 1 (5 points)

Can you create recordable actions in Aperture, similar to photoshop, either through the interface or through AS ?

The only article I could find was from 2008 with no responses.

 

For example, I simply want to take a selction, do X, Y and Z with a single click within Aperture ( and no, they are not adjustments that I can simply make into a preset ; .> )

 

Anyone ?


iMac, Mac OS X (10.7.4), 32 GB DDR3, Triple TB Display
  • 1. Re: Macros / Actionscript
    Frank Caggiano Level 7 Level 7 (23,865 points)

    You can script Aperture using Applescript (and to a lesser extent Automator) but there is no builtin way to record actions on Aperture for playback.

     

    Automator does have the ability to record your actions and might be useable depending on what you are trying to do and the complexity of the task.

  • 2. Re: Macros / Actionscript
    wombat2007 Level 1 Level 1 (5 points)

    alright - thanks for the thought.

    How does Automator interface with Aperture ?

    Lets take a concrete example -

    I want to STACK and COLLAPSE a selection set with one keystroke.

  • 3. Re: Macros / Actionscript
    Kirby Krieger Level 6 Level 6 (11,945 points)

    The example you give is (relatively) trivial, in that each action has a command, and each command has a keyboard shortcut.  You can concatenate keyboard shortcuts using any of the type-substitution programs, or a dedicated macro program (I use and recommend Keyboard Maestro).  I think you can even do it natively in OS X, but I don't remember how.

     

    Stack = ⌘k

    Collapse Stack = ⇧k

     

    In Automator, you can easily record menu selections:

    (screenshot)

    /___sbsstatic___/migration-images/187/18799302-1.jpg

  • 4. Re: Macros / Actionscript
    wombat2007 Level 1 Level 1 (5 points)

    Kirby

    Thanks. I have yet to really spend any time in Automator - its been on my list ==

    I use QuickSilver for most keyboard stuff == but with Lion it seems to compete with Spotlight.

     

    Anyway - I follow the idea, but how does one assign a hotkey ?

     

    Attached ==

     

    JJScreen Shot 2012-07-05 at 11.54.11 AM.jpg

  • 5. Re: Macros / Actionscript
    wombat2007 Level 1 Level 1 (5 points)

    SO this gets more interesting. I found a few suggestions on how to create shortcuts from Automator.

    You create a 'service' and then the OS picks it up in Prefs, then you can assign a keyboard short-cut.

    It shows up in the Services list in Prefs, but Aperture wont recognize it.

     

    What am I missing ?

     

    Screen Shot 2012-07-05 at 3.47.41 PM.jpg

  • 6. Re: Macros / Actionscript
    Kirby Krieger Level 6 Level 6 (11,945 points)

    This is surely one of those areas that are "fringe" to me.  I recommend listening to someone who understands this stuff.  Frank??  U there?

     

    I will, however, look into it.  The first thing to check is that "⇧⌘k" isn't already "taken" by an Aperture command.

  • 7. Re: Macros / Actionscript
    Frank Caggiano Level 7 Level 7 (23,865 points)

    Does the service show up in  Aperture's Service menu?  If you clcik on Application Shortcuts what shows?

  • 8. Re: Macros / Actionscript
    wombat2007 Level 1 Level 1 (5 points)

    it does not. that's what dogged me ///

     

    it does however show up on the globla services menu.

    in Automator it does not allow me to specify where the srevice lives ( local, global, etc )

  • 9. Re: Macros / Actionscript
    léonie Level 9 Level 9 (51,775 points)

    If the service does not show in Aperture's Apervices menu, you may wish to check two things:

    1. For the service to be available in Aperture, quit Aperture and relaunch; you may even have to log off and on again to ensure that Aperture really quits (with MacOS Lion or later).
    2. How are the "Service receives" setting in the header of Automator? For it to be available in Aperture I'd set this to "Aperture.app" and "no input" (or the the inpit it needs, like "image files").

    With these settings my "WatchMe" appeared in the Aperture Service menu after log off and on again, and it shows the correct hot keys:

     

    watchmewind.png

     

    service.png

    Léonie

  • 10. Re: Macros / Actionscript
    Kirby Krieger Level 6 Level 6 (11,945 points)

    Can you not concatenate menu commands and bind them to a keyboard shortcut or trigger using Quicksilver?  Keyboard Maestro makes short work of this.

  • 11. Re: Macros / Actionscript
    wombat2007 Level 1 Level 1 (5 points)

    leonie

    it works. after some experimentation, it seemed to finally take. thanks again.

    i think the tricks were

    - there WAS an existing hotkey conflict ( you have to check in Commnads / Cusomize ) - thanks Kirby

    - you also have to use your 'no input / app ' for it to focus

    - also get rif of the any timeouts

     

    so, now that I've opned the gate - do you guys have any sources for really useful Aperture services ?

    Or is there a more general site for Service creation that you would reco ?

     

    I love it.