Getting the comment from a folder

I am trying to get the comments from the get info option on the folder. I have tried the following, but can’t seem to get it.

I am getting an error on the comment line and have no idea what I am doing wrong.

Your help would be very appreciated


property this_folder : "eMotion:Production:Upload:proof images:"

set myInfo to info for (this_folder as alias)
tell application "finder"
set mycomment to comment for (this_folder as alias)
end tell

This should work:

set this_folder to choose folder -- set this_folder to "eMotion:Production:Upload:proof images:" as alias
tell application "Finder"
	set this_comment to comment of this_folder
end tell

It looks like only the finder can read comments (10.3.9).

BTW, you seem to get the info for the folder (variable myInfo), but then you don’t actually use it.