Meta data help
Meta data help
- Subject: Meta data help
- From: Oakley Masten <email@hidden>
- Date: Tue, 1 Jul 2008 09:33:01 -0700 (PDT)
On Fri,
27 Jun 2008Martin
Orpen WroteOn the supject: Meta data help Reboot!
;-) I'm
using 10.5.3 and kMDItemKeywords works as expected -- so maybe there
is a problem in 10.4 or more likely you've got a local problem with
your Mac? The
script shouldn't be returning a file path, just the name of the field
that you've requested and if it is empty then it should also return
"(null)". tell
application "Finder" set foo to POSIX path of (choose file) set bar to (do shell script "mdls -name kMDItemKeywords " &
quoted form of
foo) if bar contains "(null)" then display dialog "No keywords here" else display dialog (items 23 thru -3 of bar) as string end ifend
tell -->
"spot colour", PMS, TOYO, PANTONE Regards --Martin
OrpenIdea
Digital Imaging Ltd
It does appear to be a problem with 10.4.
I tried it at home on my 10.5.4 and it worked fine with one small exception.
It does not work on .eps files. .tif great/.jpg great/.psd great.
Only the requested info or null was returned as you
said would happen.
Not sure what to do next. Even if we upgrade to Leopard we still need .eps files to place in Quark. The final desired result is to place the image in Quark along with its name and the keywords.
Thanks
Oakley
_______________________________________________
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