• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Image Meta data Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Meta data Question


  • Subject: Re: Image Meta data Question
  • From: Martin Orpen <email@hidden>
  • Date: Wed, 16 Apr 2008 22:33:11 +0100

On 16 Apr 2008, at 20:49, Oakley Masten wrote:
Is it possible to get Meta data out of a PhotoShop
file without opening the file?  If so where do I look
to do it?

Yes.

Look at using mdls:


tell application "Finder" to set foo to POSIX path of (selection as alias)
display dialog (do shell script "mdls -name kMDItemDescription " & quoted form of foo)



Which will retrieve the IPTC "description" data from an image that you have selected in the Finder - including native PSD.


Changing the "mdls -name kMDItemDescription " to just "mdls " will show you all the metadata fields and their names.

Regards

--
Martin Orpen
Idea Digital Imaging Ltd


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

This email sent to email@hidden
References: 
 >Image Meta data Question (From: Oakley Masten <email@hidden>)

  • Prev by Date: Re: Getting elements of a list
  • Next by Date: Re: Getting elements of a list
  • Previous by thread: Image Meta data Question
  • Next by thread: Re: Image Meta data Question
  • Index(es):
    • Date
    • Thread