5 Replies Latest reply: May 2, 2013 12:35 PM by Jeffrey Jones2
hayesk Level 1 (10 points)

I have an image version in my AppleScript. Is there a way to get the path to the image file? Or at the very least the image bytes of the current image version?



  • pjdube Level 3 (830 points)

    Please upload your script.

  • Frank Caggiano Level 7 (25,722 points)

    The short answer (to the image file question) is no. The file path is not available to an AppleScript. This has been asked before (if you look at the more like this box on the right you'll see)


    As to your second question



    Or at the very least the image bytes of the current image version?


    not sure what you're  looking for here. Do you mean the size of the current image? That I think is possible, if you look at http://images.apple.com/aperture/resources/pdf/Aperture_3_AppleScript_Reference. pdf  it lists all the metadata you can access via AppleScript.



  • hayesk Level 1 (10 points)

    Actually the "More like this" has ambiguous titles that do not necessarily indicate what I want. I did a search too and found nothing.


    In my second question. I'm asking for the actual byte content of an image. I want to transmit the image to a client over a local network. There seems to be no way to access the actual image content through Applescript or other means.


    Thank you for your response.

  • Frank Caggiano Level 7 (25,722 points)

    Master File Name in AppleScript: Howto?


    Didi you look at the Aperture AppleScript reference manual? Is the data you want listed?

  • Jeffrey Jones2 Level 6 (8,615 points)

    An Aperture Version is not a file. It is an image derived from an Original. The Original is a file, but the Version is a virtual entity consisting of the Original and any adjustments that have been applied to it. So there is no "path" to an image version. There is optionally a Preview, which is a JPEG stored in the Aperture Library, but that is usually a lower resolution than the Version itself.