Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dabbling with EXIF



Title: Re: Dabbling with EXIF
On 26.6.2006 17:25, entity "Wayne Melrose" <email@hidden> spake thus:

so you have code for reading this info? 

I'd really love to have a look at it if you don't mind ;) 

Considering using iView Media Pro, you could throw in this piece:

set selectedItems to GetSelection()

tell application "iView MediaPro"
    repeat with theItem in selectedItems
       set TheAperture to aperture of theItem
       set HowFast to shutter speed of theItem
       set ISOspeed to ISO speed of theItem
       display dialog (TheAperture & return & HowFast & return & ISOspeed) as text
   end repeat
end
tell

on GetSelection()
    set selectedItems to {}
    tell application "iView MediaPro"
        if catalog 1 exists then set selectedItems to the selection of catalog 1
    end tell
   if number of items in selectedItems is 0 then
       display dialog ¬
            "Please select at least one picture in the front catalog." buttons {"OK"} default button ¬
            "OK" with icon note giving up after 10
        error number -128
    end if
   return selectedItems
end GetSelection

As I said, retrieving the info is not really the problem, it’s writing it back to a jpeg or tiff file that I’m getting at...

Best,

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com


P Please consider the environment before printing this email.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.