How can I display the file’s comments? My script (below) does not work.
on adding folder items to this_folder after receiving these_items
repeat with an_item in these_items
--set file_info to info for an_item
set file_comment to comment for an_item
end repeat
display dialog file_comment
end adding folder items to
on adding folder items to this_folder after receiving these_items
repeat with an_item in these_items
tell application "Finder" to set file_comment to comment of an_item
end repeat
display dialog file_comment
end adding folder items to