file.setLabel
| Syntax |
file.setLabel (path, string)
|
| Params |
path is the path name of the file whose label you wish to set. string is the name of the new label for the file at path.
|
| Action |
Changes the label associated with the file at path to the one named string.
|
| Returns |
True if a label named string exists on the current system, false otherwise.
|
| Examples |
file.setLabel (Frontier.getProgramPath (), "Hot") » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
To remove a label from a file, set its label to "None". If the label named in string is not valid on the current system, as per the settings in the "Labels" control panel, this verb returns false but does not generate an error.
|
| See Also |
file.getLabel
|