file.setCreator

Syntax file.setCreator (path, type)

Params path is the path name of the file whose creator you wish to change.

type is a string4 value that defines the creator of a file.

Action Changes the creator of the file at path to type.

Returns True if the file is found and its creator is successfully reset, false otherwise.

Examples file.setCreator ("System:Frontier Folder:Test Document", 'LAND')

   » true

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

Errors If path points to a folder or volume, the verb returns false but it is not an error.

Notes The icon of the file won't change in the Finder until you force an update by closing the window displaying the icon and then reopening it.

Discuss