file.getLabel

Syntax file.getLabel (path)

Params path is the path name of the file whose label you wish to retrieve.

Action Retrieves the name of the label associated with the file, as it appears in the Finder"s "Label" menu.

Returns A string containing the label name for the file.

Examples file.getLabel ("System:readMe")

   » "Essential"

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

Notes If no label is associated with the file, the string "None" is returned.

If the user changes the label names with the "Labels" control panel, the names returned by this verb will change accordingly.

See Also file.setLabel

Discuss