14 Replies Latest reply: Aug 25, 2013 6:42 AM by snapppdragon
141FD Level 1 (0 points)
Okay its a matter for me to stick with it or pick up something else. I am hoping someone could help me here.

How do I change date format of project name while importing. Whenever I try to import whether from camera or local folder, it always gives the date format MMM DD, YY (Dec 30, 2010). Therefore, A3 gives the same name to the project regardless what date format I have set on my MBP. I tried many options, changing my input locals, date/time format, language, etc... nothing helps. Automatically split projects is also enabled and leaving project name blank as I want A3 to import it and put them in a separate project by date with specific format.

All I want is A3 import into different date format automatically the way I prefer such as YYYY-MM-DD, YYYYMMDD, DDMMYYYY or DD-MM-YYYY. Seems a simple task but I have been trying different methods for the last 4-6 months - no success. I searched through this forum but no results come up. Any help would be highly appreciated. Thanks
  • Chris Semmens Level 2 (190 points)
    Once you have opened import. On the right hand side hit import settings and rename on import. Use the custom and set up what you want.

  • 141FD Level 1 (0 points)
    Thanks but I meant to rename project name inside A3 library, not renaming the files.
  • Frank Caggiano Level 7 (25,715 points)
    To rename a project highlight it then click it. The name will get a blur box around it then you can edit it. Works just like in the Finder.
  • 141FD Level 1 (0 points)
    Rename the projects manually every time I import? It's a very simple task, not sure A3 is restrict with MMM DD, YYYY format only when we import. I have photos in my camera shot on different days, I want A3 to import them and separate them in different projects by any other date format. We can rename files the way we want, but can't rename projects while importing.

    Why there is an option in preference auto split into projects - one project per day, when we can't set the day format.

    Message was edited by: 141FD
  • 141FD Level 1 (0 points)
    Forgot to mention - Nikon Transfer does this very basic job perfectly.
  • Frank Caggiano Level 7 (25,715 points)
    The default project name based on dates seems to be fixed. I've never been able to find a way to change the default. If anyone knows of a way I'd love to hear it.
  • Panda is Panda Level 1 (0 points)
    Exactly the same challenge! I was trying hard to change "project name" while importing as above, but failed. Does anyone know plugins or whatever that could help the job?
  • Panda is Panda Level 1 (0 points)
    Somebody has solved this problem with apple script.
    I tried it on aperture 3.3 and it works!

    Check the following URL:

    I think there is a small bug in the 3rd line of the script.
    Please change "untitled folder" to "untitled project"

    Good Luck!
  • jake4700 Level 1 (0 points)
    I don't know how to use scripts, so a little more info would be helpful.

    Why Aperture doesn't have something like this built-in is beyond me.
  • MLModel Level 1 (0 points)

    I agree with this being a bizarre omission from Aperture.


    I had the clever idea that maybe it was following one of the formats defined in the International preference pane, but changing them had no effect.


    Fortunately, Aperture 3 allows running an AppleScript after import. Choose Actions from the Import settings and select an AppleScript file you want to run after the images have been imported. The documentation provided in the Aperture AppleScript Reference provides an example on page 30. What is left unsaid is that the handler is called once for each project created during the import, with the input argument being a list of images added to that project.


    Here's an AppleScript you can save and use as an import action. It changes the name of each folder to a date string in the form yyyy-mm-dd. It should be pretty easy to change if you want some other format. It should also be pretty easy to change if you want to add the date as a suffix to the project name you provided in the input settings if you didn't leave that blank.


    (* Aperture 3 Script by Mitchell L Model, mlm at acm dot org, May 28, 2011 *)


    (* Choose this script to run after importing images with automatic split

    selected; it will rename the projects created for each date to the format

    defined by the crude handler formatImageDate defined below.


    Yes, that handler could have been written as:

            return do shell script "date +'%Y-%m-%d'"

    but this way demonstrates the use of EXIF tag values.


    Change or generalize the formatting as you wish.


    It would be nice if Aperture used one of the date formats set in the International

    Preference Pane -- in particular the short date -- so that you could simply change

    that to be the way you want the split folders to be named, but it deosn't.



    -- Experimentation shows that the handler is called once for each project created by the import,

    -- with input a list of images placed in that project

    on ImportActionForVersions(input)

        tell application "Aperture"

            set the name of the parent of the first item of input to my formatImageDate(the first item of input)

        end tell

    end ImportActionForVersions


    -- Note: numerical EXIF tag values are real numbers and must be converted to integers for these manipulations

    to formatImageDate(theImage)

        tell application "Aperture"

            set y to the value of EXIF tag named "CaptureYear" of theImage

            set m to the value of EXIF tag named "CaptureMonthOfYear" of theImage

            set d to the value of EXIF tag named "CaptureDayOfMonth" of theImage

            return (y as integer as string) & "-" & my twoDigitString(m) & "-" & my twoDigitString(d)

        end tell

    end formatImageDate


    on twoDigitString(num)

        set n to num as integer -- to handle floats

        if n < 10 then

            return "0" & n as string

        end if

        return n as string

    end twoDigitString

  • Joaquim Neto Level 1 (0 points)

    Works like a charm. I whish I could bend my mind around applescript, it is too weird.

  • siegfriedfromwien Level 1 (0 points)

    Thanks for the script! Works great.


    Any Scripting Guru around who might explain how to apply this to "old" folders which have the undesired automatic name?

  • Paddy99 Level 1 (0 points)

    Thanks for sharing the script - it worked perfectly.

  • snapppdragon Level 1 (0 points)

    It worked for me as well, thanks!