Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator and Aperture in Leopard

I'm trying to build an Automator script for Aperture in Leopard. But, when I try to add an Aperture item to the workflow, I get the following error:

* -[NSNull length]: unrecognized selector sent to instance 0xa063f020

Has anyone else seen this? Is there a fix for this?

Macbook Pro, Mac OS X (10.5)

Posted on Nov 9, 2007 4:55 PM

Reply
22 replies

Jan 3, 2008 11:44 PM in response to Aaron Perry-Zucker

The automator actions are missing in Leopard for some reason, leading to the Null value problem. The actions are all located in the Automator installer. If you open the package, you can find the actions and copy them all to /Library/Automator. Most things then work, although I still have a problem with 'Choose Album' and with the naming profiles.

Jan 18, 2008 2:58 AM in response to Kerry M

What has happened is that the Aperture Automator actions have been removed from /System/Library/Automator on installing Leopard (probably with Archive and Install).

I've been having this same issue and couldn't for the life of me figure out what was wrong.
The hint provided by the previous poster put me on the right track.

The Aperture Automator actions are located in the the Aperture application.

Steps to take for repairing the situation:

1. Open a Finder window and navigate to /System/Library/Automator
2. Open a second Finder window and navigate to /Applications/Aperture
3. Execute a Show package Contents of Aperture (you should get a third Finder window).
4. Now navigate to Contents/Library/Automator
5. Select everything (.definition and .action) in that folder
6. Copy with option drag to the folder in the window created in step 1.
You will be asked for the administrator password.
7. Close superfluous windows.
8. Start Automator and enjoy.

In short: copy the contents of /Applications/Aperture.app/Contents/Library/Automator to
/System/Library/Automator

I've done this and no longer get the NS Null error messages. I can now access the actions and will see if they actually work some time in the next few days.

Cause: Apple Leopard Installer.
Remedy: Apple should have warned beforehand that something like this would happen and should have provided the solution.

happy automating

Berend

Automator and Aperture in Leopard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.