file.getComment
| Syntax |
file.getComment (path)
|
| Params |
path is the path name of the file whose comment you wish to retrieve.
|
| Action |
Retrieves the comment text that appears in the Finder's "Get Info" window for the file.
|
| Returns |
A string containing the comment text for the file.
|
| Examples |
file.getComment ("System:System Folder:Sample Application") » "This is a sample application intended to be scripted by UserLand Frontier."
|
| 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. On a floppy volume, or any other volume that doesn't contain a Desktop Database, file.getComment returns the empty string, but does not generate an error.
|
| See Also |
file.setComment
|