Cannot use Automator to Find Aperture Albums - just get errors

I've been trying to use Automator to automate the process of Exporting my Portfolio from Aperture to jpegs, then uploading these via FTP. However, whenever I try to use the automator actions "Choose Albums" and "Find Aperture Items" I get either errors or no items returned. I've eventually concluded that both the 'Choose Albums' and the 'Find Aperture Items' (with 'Albums' selected from the drop-down) can only find albums which are inside Projects, and cannot find albums which are not (i.e. are just in a folder).
For example, I am able to use Find Aperture Items (but not Choose Albums, incidentally) to find an album called 'Landscapes' which is inside a PROJECT called 'Portfolio', but not able to find an album called 'Landscapes' which is inside a FOLDER called 'Portfolio'. (Note the folder is not inside anything else, just under the Library heading in the inspector).
Since I store my portfolio as a set of albums inside a folder, and do not want to store it as Projects inside a folder (as this would require the photos to be moved to that project, rather than residing in their original project and having a reference to them in the album), can you suggest any way that I can use Automator to find these albums which are not inside folders and hence export my versions?
I should mention that when I try to use Choose Albums to find anything I get error messages, and when I try to use Find Aperture Items to find albums which are not inside projects I simply get no results.
Also, I'm running Automator 2.2.2, Aperture 3.2.3 and Lion 10.7.3.
Thanks

Thanks for your help Léonie. As you suggested, AppleScript seems to be the way to go, so I learnt to use it and came up with the following...
set rootExportFolder to "path:to:export:location"
set albumNames to {"Foo", "Bar", "Etc"}
set exportFolderNames to {"foo", "bar", "etc"}
with timeout of (30 * 60) seconds
   tell application "Aperture"
      launch
      set fileNamingPolicy to file naming policy "Index only"
      set exportLargeSetting to export setting "Web Large"
      set exportThumbSetting to export setting "Web Thumb"
      repeat with i from 1 to count albumNames
         set albumName to albumNames's item i
         set allImages to get every image version in album albumName of library 1
         set exportFolder to rootExportFolder & ":" & {exportFolderNames's item i}
         set exportThumbsFolder to exportFolder & ":thumbs"
         export allImages to exportFolder using exportLargeSetting naming files with fileNamingPolicy
         export allImages to exportThumbsFolder using exportThumbSetting naming files with fileNamingPolicy
      end repeat
   end tell
end timeout
A quick rundown from the top:
First I set some variables. The path to the place where I want my portfolio exported, and the names of each of the Albums my portfolio is sorted into plus the folder name for each album.
Next I set a timeout - this is required because Apple Events time out after two minutes by default, so when exporting a large number of versions the script would time out and fail. So I set the timeout to 30 minutes instead.
Next I launch Aperture (in the background) and select my file naming policy and version export settings. These are selected from those that I have set up in Aperture.
Then for each of the Albums specified earlier, I get the contents of the album and export it, using Aperture's 'export' AppleScript command. For my purpose, I export both a large version and a thumbnail sized version. The thumbnails go in a folder which is in the folder where the full sized versions go.
That's about it. My actual script contains a bit of extra code to only export versions with Green colour labels, but that's just specific to how I have my library set up, so I haven't included it here.
Hope that's useful to anyone else who wants to export their Albums to folders!

Similar Messages

  • I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support?

    I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support in the UK?
    Thanks

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • I have just purchased an iMac which has no CD Drive, when I downloaded my Elements 8 from my external drive onto my new iMac I just get Error Code 150.30 does this mean that I have no way of retreiving my existing software?

    I have just purchased an iMac which has no CD Drive, when I downloaded my Elements 8 from my external drive onto my new iMac I just get Error Code 150.30 does this mean that I have no way of retrieving my existing software?

    According to Adobe instructions installation files are not available for Elements 8?
    Languages
    Mac OS X
    Windows
    English—International
    English—Universal
    German
    Japanese
    French
    French—Canada
    Chinese—China
    Dutch
    Italian
    Portuguese—Brazil
    Spanish
    Spanish—Latin America
    Spanish—North America
    Swedish
    Not available
    File 1 of 2 (1.2 MB)
    File 2 of 2 (1.1 GB)

  • HT1725 i rented "this is the end" and it never fully downloads   just get error msg saying it cant download at this time

    i rented "this is the end" and it never fully downloads   just get error msg saying it cant download at this time

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Store and sign out and sign back in
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings. You will have to rejoin all wifi networks
    - Try when connected to another network
    - Contact iTunes
    Apple - Support - iTunes - Contact Us

  • Google Maps dowloaded, but don't know how to use it or find what I just downloaded?

    just bought a blackberry curve and know nothing about it. I went to google maps and clicked download, and it finished downloading and now I do not know how to use google maps or find where it is on my phone. How do I find where it is on my phone? (When I finished downloading it asked if I wanted to "run" or something else, I checked the other box - Also, if I go back to google and try to download google maps again it says it was already downloaded on my phone!)
    I do know how to use google maps on a computer, just not on my phone.

    Assuming that it downloaded and installed ok on your Curve, the first step is to find the application icon.  Depending on your theme you're using, you may need to press the menu button to display the full list of applications. Do that by pressing the button to the right of the trackball (with the dots). 
    The google maps icon is kind of orange and looks like a little folded map. After you click on that, it's pretty straight forward. Click on the menu button to search for a location and get directions.
    Hope that's not too basic of instructions.  Besides from email, google maps is the thing I use the most.  Verizon cripples the GPS, but the approximate location based on cell towers is still super useful.  Enjoy!

  • I have updated to the latest OIS on my IPad but cannot install the update for ITunes.  I get error messages that I must log on as administrator (don't know how) and I can't use my ITunes now. Help please

    I have updated to the lastest OS on my IPad3. No problem there. Then found I could no longer access my Itunes as there was a message 'Cannot be used as it requires version 10.6.3 or later. Go to ... and download'.  I have tried four times and it won't work.  I get another message saying I must sign in as administrator or contact my system administrator.  I am the only one who uses this PC and have no idea what my administrator password is.  Now I cannot use ITunes. Please help if you can.  Thank you.  Eileen Frost

    Many thanks diesel.  I cannot remember ever having an administrator password. Looks like I shall have to do a restore on my PC and not bother with the updates.  Or maybe I could find my password from somewhere ? When I went into control panel I found a box with administrator and my name and it said password protected so I must have had one at some time. Any ideas on how I could find it ? Many thanks anyway. I always use a password to sign on but obviously that is not it.  Eileen

  • The file "Acceptance Letter.pages" doesn't exist. Since installing Yosemite on MacBook Pro I cannot save or export from Pages. Just get the message at beginning of this post. How to solve problem?

    I cannot save or export from Pages since installing Yosemite on MacBook Pro . I just get the message at beginning of this post “Acceptance Letter.pages” doesn’t exist or whatever file title I have inserted How to solve problem?

    Thanks Peter but I was not seeking to store with I-Cloud. In fact I never store documents with I-cloud.
    I was in fact trying to store the files to Documents, which is where I usually keep such things.
    Have now discovered that if I leave the file untiled and simply close it, rather than saving it then it will save, oddly, to Documents. I then have to re-title it and move to the folder I want it in.
    Despite the above, even once it is titled and saved in Documents then if I reopen it I still cannot then Export it to a Word or PDF file. I still just get the message . xxxxxx.pages does not exist!
    Bad news as I am constantly exporting documents to Word and PDF to send to others who do not use a Mac

  • I have purchased Photoshop and it went through the download process.  I cannot use the software, however.  I keep getting a "Trial Expired" message & it will not launch from my desktop.

    I purchased Photoshop CC and downloaded it.  I keep getting a message that my trial has expired and cannot use the software.  Have I missed a step, or is something not working properly?

    Hi,
    Please refer to the help document below:
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    Regards,
    Sheena

  • When using field point I/O points i get error message

    when labview 1st loads and i open my FP vi which uses FP I/O points to specify the channels, they are all greyed out and the error "unable to bind to comm port" is returned. on running the program a second time, no errors are returned. also i cannot get an executable of the program to run without producing that error.
    Any ideas?

    Hi Stewbert,
    The "Unable to bind to COM port" error indicates that FieldPoint Explorer cannot use the specified COM port for communication. The two general cases that cause this error are that either the COM port is not configured properly or does not exist, or that the COM port is already in use by another program. To check the COM port and eliminate this error, follow the steps below.
    First, quit all other applications that may use the COM port. Note that the serial cradles for the popular Palm or Handspring Personal Digital Assistants (PDAs) can connect over a serial port, and therefore you may need to quit the "Hot-Sync Manager" program if your computer is configured to use a Palm.
    If closing all other programs that use the COM port does not elimin
    ate the error, then next check that the COM port is configured properly. From the Windows task bar, Select "Start >> Settings >> Control Panel >> System >> Device Manager >> Ports". Confirm that the COM port you have specified is in the list, and that Windows indicates that "the device is working properly". Additionally, if the COM port has been added through additional hardware, then use any available diagnostic utility that may have come with the board to test the COM ports. For example, if the COM port is added through a NI-Serial board (PCI-232, etc), then selecting "Start >> Programs >> National Instruments >> NI-Serial >> Diagnostic" will run a diagnostic of those COM ports. Correct any problems that are found, and then continue with configuration in FieldPoint Explorer.
    Please let me know if that helps
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • I cannot log in to iTunes I keep keep getting error "0x80092013"

    I keep getting error message "0X80092013" when I try to log in to iTunes.  It just says that it cannot connect me try later.  Any suggestions?

    Hi,
    Hope this helps. There is a link to a repair utility half way down the page. Tell me if this works.
    http://www.wiki-errors.com/wiki-errors.php?wiki=0X80092013#1
    xxmitchxx90

  • I cannot download trial of photoshop elements 10, keep getting error#2032

    cannot download trial version of photoshop elements 10, keep getting error#2032

    No. Your browser is something like Microsoft Internet Explorer verson 5. Please give us the name and version of the software you use to browser the internet with. Please let us know what version of Windows XP (give us the service pack you are running).
    It appears that a 2032 error might relate to an url (internet resource or file) that cannot be located. Is it possible that you are behind a company firewall that is preventing access to the file you are trying to download?

  • Iphoto will go to e-mails but will not go to Facebook. I use my Facebook id and password but get "Error"

    My iphoto works on emails. But when I try to put it on Facebook and use my account and password, it says "unknown error". I have updated and restarted, but nothing changes. What is wrong?

    I've seen a few other posts on this problem but I've seen no answers. In my case sharing to Facebook works just fine.
    I'm wondering if there might be a problem with the permissions in facebook. In order for an app to post to Facebook the user must sign in to Facebook and give that ap permission. You might check your Facebook account to see if iPhoto for iOS has permission or might be blocked.

  • Using OWB in MOC map i am getting error:java.lang.reflect.invoc

    Hi All,
    When i am trying to deploy any of the ammping using OWB for oracle MOC.
    As part of the deployment, when I tried for the first following mapping:
    using MTH-->MTH_TARGET--> Mapping
    · List of deployable objects and category (EBS-Specific / Non-EBS Specific)
    · EBS Specific-Maps : MTH_WO_OI_INIT_DMF_MAP
    I am gettinge the following error while opening the map :
    java.lang.reflect.invocationtargetexception
    Because of that its not deploying at all for any of the mapping.
    I am sometimes getting error nested transactions are being carried out .But if I logging in and logging out this error doesn't comes but the error which I mentioned comes. (java.lang.reflect.invocationtargetexception)
    Will appreciate, if anybody gets teh same error or have some solution.
    Regards,
    Ashok.

    your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?

  • Using wall charger for first time I get error message "charging not supported by this accessory."  Been using since December and not seen this before.

    Using wall charger and am now getting error message "charging not supported by this accessory."  Have been using since December and this is first time I have encountered this.

    Did you look to see if there is debris or dust causing the problem? Get a flashlight and take a look to make sure.
    Is there something in the USB end of the cord perhaps?
    You didn't answer this question ....Are you using the charger and cord that came with your iPad?
    You could try changing cords if you have another one available to see if it is the cord. Have you tried connecting to your computer to see if you get the same message?
    You could try a hard reset by holding down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears, let go of the buttons and let the iPad restart. Then try the charger again.

  • I cannot open applications or jpg files. I get error -10810

    I cannot open applications on my iMac snowleopard. Nor jpg files. And who knows what other files.  I get error -10810. I repaired permissions when I identified this problem. But that didn't help. What can I do?

    Found this article that may be of help...
    http://reviews.cnet.com/8301-13727_7-10365239-263.html
    Regards,
    Rich

Maybe you are looking for