如何使用AppleScript获取xmp文件中存在的评级。 xmp文件属于CR2文件。我尝试使用photoshop cc 2017库。但我不能让它发挥作用。
答案 0 :(得分:0)
我总是发现exiftool可以方便地阅读/编写XMP
http://www.sno.phy.queensu.ca/~phil/exiftool/
如果您需要从AppleScript访问它,那么您可以使用以下内容:
set theFile to choose file
set theInfoFromExiftool to do shell script "/usr/local/bin/exiftool -CreateDate " & quoted form of POSIX path of theFile
当然,您需要将CreateDate更改为您感兴趣的任何标记的名称。
希望得到一些帮助。