Evening All,
I would like to use Applescript, via Butler, to append Spotlight comments to files and folders. I’ve googled & searched here, but don’t think that I’ve found what I want.
Is this possible?
If so, can someone show me what to do please.
Best wishes
Simon
Model: Mac Mini 1.66
AppleScript: 2.0
Browser: Safari 525.18
Operating System: Mac OS X (10.5)
Spotlight comments are Finder properties of a file that can be read into a script or set from a script. If you have a file with a comment, this will read the comment:
set tFile to choose file
tell application "Finder" to set C to comment of tFile
If you want to set one, this will do it:
set tFile to choose file
set tComment to text returned of (display dialog "Please enter the comment below" default answer "Comment Here")
tell application "Finder" to set comment of tFile to tComment
Thanks for the replies. It was the script in the link that was what I was after.
Many thanks again.
Best wishes
donkeyotay