file.setType
| Syntax |
file.setType (path, type)
|
| Params |
path is a legal path name to the file whose type you wish to set. type is a string4 value identifying the type of the file, which in turn determines how the application that created the file interprets or deals with it.
|
| Action |
Changes the type of the file.
|
| Returns |
True when the file's type is successfully set, false otherwise.
|
| Examples |
file.setType ("System:tmp", 'TEXT') » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
When you create a new file in Frontier with file.new, you must usually set its type using file.setType before the file can be used by another application.
|
| See Also |
file.type
|