Re: Image Meta data Question
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