file.creator

Syntax file.creator (path)

Params path is a legal path name to the file or folder whose creator you wish to determine.

Action Determines the creator of the indicated file.

Returns Returns the file's creator id as a string4.

Examples file.creator ("System:System Folder:System")

   » 'MACS'

file.creator ("System:System Folder:TeachText")

   » 'ttxt'

file.creator ("UserLand Frontier")

   » 'LAND'

file.new ("System:Test File");
file.creator ("System:Test File")

   » '????'

A newly created file has a default file creator of '????'.

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

Notes The Finder uses the creator to determine the application to which a file belongs. Double-clicking on a file launches the application designated by creator (or opens the file, if the owning application is already launched).

See Also file.type

file.setCreator

Discuss