file.setComment

Syntax file.setComment (path, string)

Params path is the path name of the file whose comment you wish to set.

string is the new comment information for the file at path.

Action Changes the comment associated with the file at path to string.

Returns True

Examples file.setComment ("System:System Folder:Sample Application", "This is a sample application intended to be scripted by UserLand Frontier.")

   » true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes The comment is the information you see in the "Comments:" box of the window displayed by the Finder's "Get Info" command.

Comments are limited to 200 characters; longer comments are truncated.

On a floppy volume, or any other volume that does not contain a Desktop Database, file.setComment returns false, but does not generate an error.

See Also file.getComment

file.setFullVersion

Discuss