OK, here’s a weird one. I’ve got a script that allows me to set a file comment for items in a selection. I want to use it to tag which folder’s I’ve backed up and when, but when I run it with a folder in the selection, it acts like it works (no error message) but doesn’t set the comment.
Any ideas?
set myComment to text returned of (display dialog "Enter comment text" default answer "Backed up")
tell application "Finder"
copy the selection to myList
repeat with myItem in myList
set the comment of myItem to myComment
end repeat
end tell
Model: iMac DV+
AppleScript: 1.9.1
Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0
Operating System: Mac OS X (10.2.x)