Recover comments of a file

Check here for answers to frequently asked questions.

Recover comments of a file

Postby jeanguydaoust » Wed Aug 10, 2016 2:27 pm

Does someone know of an applescript that would fetch and return the comments of files? I have a few thousand photos, edited in Lightroom, then exported as tiff or jpg files, of which I would need to recover the comments, which are the keywords added to each photo in Lightroom. And I would like to do it from a SC script embedding the applescript using the «get script(do,"AppleScript",theScript)».
jeanguydaoust
 
Posts: 18
Joined: Wed Jul 09, 2008 8:16 am

Re: Recover comments of a file

Postby Scott » Wed Aug 10, 2016 3:06 pm

Code: Select all
put merge("tell application `Finder`"&CR&"get comment of file `filesPath`"&CR&"end tell") into theScript
get script(do, applescript,theScript)
User avatar
Scott
Site Admin
 
Posts: 1203
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Recover comments of a file

Postby jeanguydaoust » Wed Aug 10, 2016 6:31 pm

Wow! That was fast! Thank you!

Jean-Guy Daoust
jeanguydaoust
 
Posts: 18
Joined: Wed Jul 09, 2008 8:16 am


Return to SuperCard FAQ

Who is online

Users browsing this forum: No registered users and 1 guest

cron