This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed.(January 2019) (Learn how and when to remove this message)
The creator code is responsible for linking the file and the program that will launch when the file is double-clicked. This Mac OS window show four files of the same type code (MP3), but with four different creator codes: Audn (Audion), hook (iTunes), SCPL (SoundApp) and NSWa (Winamp).
A creator code is a mechanism introduced in the classic Mac OS to link a data file to the application program which created it. The similar type code held the file type, like "TEXT". Together, the type and creator indicated what application should be used to open a file, similar to (but richer than) the file extensions in other operating systems.
Creator codes are four-byte OSTypes. They allow applications to launch and open a file whenever any of their associated files is double-clicked. Creator codes could be any four-byte value, but were usually chosen so that their ASCII representation formed a word or acronym. For example, the creator code of the HyperCard application and its associated "stacks" is represented in ASCII as WILD, from the application's original name of WildCard. Occasionally they represented inside jokes. For instance, the Marathon computer game had a creator code of 26.2 (the approximate length, in miles, of a marathon) and Marathon 2: Durandal had a creator code of 52.4.
The binding are stored inside the resource fork of the application as BNDL and fref resources. These resources maintained the creator code as well as the association with each type code and icon. The OS collected this data from the files when they were copied between mediums, thereby building up the list of associations and icons as software was installed onto the machine. Periodically this "desktop database" would become corrupted, and had to be fixed by "rebuilding the desktop database."[1]
The key difference between extensions and Apple's system is that file type and file ownership bindings are kept distinct. This allows files to be written of the same type - TEXT say - by different applications. Although any application can open anyone else's TEXT file, by default, opening the file will open the original application that created it. With the extensions approach, this distinction is lost - all files with a .txt extension will be mapped to a single text editing application of the user's choosing. A more obvious advantage of this approach is allowing for double click launching of specialized editors for more complex but common file types, like .csv or .html. This can also represent a disadvantage as in the illustration above, where double clicking the four mp3 files would launch and play the files in four different music applications instead of queuing them in the user's preferred player application.
macOS retains creator codes, but supports extensions as well. However, beginning with Mac OS X Snow Leopard, creator codes are ignored by the operating system. Creator codes have been internally superseded by Apple's Uniform Type Identifier scheme, which manages application and file type identification as well as type codes, creator codes and file extensions.
To avoid conflicts, Apple maintained a database of creator codes in use. Developers could fill out an online form to register their codes.[2] Apple reserves codes containing all lower-case ASCII characters for its own use.
Creator codes are not readily accessible for users to manipulate, although they can be viewed and changed with certain software, most notably the macOS command line tools GetFileInfo and SetFile which are installed as part of the developer tools into /Developer/Tools.
^"Mac OS: Rebuilding Desktop File and icon recovery", Apple
^Sydow, Dan Parks (2002). Mac OSX Programming. New Riders. ISBN 9780735711686.
creatorcode is a mechanism introduced in the classic Mac OS to link a data file to the application program which created it. The similar type code held...
Debugger when compiled from source code. Clang is also supported. Development of what would eventually become Qt Creator had begun by 2007 or earlier under...
A creator deity or creator god is a deity responsible for the creation of the Earth, world, and universe in human religion and mythology. In monotheism...
System stores codes for creator and type as part of the directory entry for each file. These codes are referred to as OSTypes. These codes could be any...
a file's content from its MIME type, filename extension, or type or creatorcode. UTIs use a reverse-DNS naming structure. Names may include the ASCII...
2011. IM Creator's tools allow individuals and businesses to create and maintain HTML5 websites, blogs and online stores without writing code. All services...
operating systems rely on this stupid convention instead of the better creatorcode or a metadata model, but great that they now support longer file extensions...
The Game Creators Ltd (TGC; formerly Dark Basic Software Limited) is a British software house based in Macclesfield, Cheshire, England, which specialises...
provides specifications for creator credits that govern its members. The Producers Guild of America's corresponding code for producers defines "Executive...
such as the creation and modification timestamps, the file type and creatorcodes, and fork lengths. Some files have only a resource fork. One example...
entirely; it used, instead, a distinct file type code to identify the file format. Additionally, a creatorcode was specified to determine which application...
evolve, some of the brands that began as online database creator apps are evolving into low-code development platforms for both the databases and the custom...
3DS) Inputting the code on the title screen results in an animated looping clip of an 8-bit recreation of Adventure Time's creator, Pendleton Ward dancing...
illustrations he had drawn based on his children's sketches. Code Lyoko (creator) Code Lyoko: Evolution (creator) Ōban Star-Racers (character design, director) Aria...
extension") Interchange File Format Magic number OSType creatorcode type code The Type/Creator Database "Signatures of Macintosh Files". Logiciels & Services...
Work for it began in March 1985 under the name of WildCard (hence its creatorcode of WILD). In 1986, Dan Winkler began work on HyperTalk and the name was...
name that was "too musical", under a 1991 settlement. Jim Reekes, the creator of the new sound alerts for System 7, had grown frustrated with the legal...
TeachText was automatically associated with all TEXT type codes for files with an unknown Creatorcode. That is, if a user attempted to open any text file and...
Simula. Rasmus Lerdorf, creator of PHP. Rich Hickey, creator of Clojure. Robert Gentleman, co-creator of R. Robert Griesemer, co-creator of Go. Robin Milner...
in macOS Catalina in 2019. Creatorcodes have had their priority in the application selection process reduced (Creatorcodes are per-file metadata attributes...
Mac ROM is significantly larger (64 kB) and holds key OS code. Much of the original Mac ROM code was written by Andy Hertzfeld, a member of the original...
functionality similar to MPW Worksheets and Emacs shell buffers. BBEdit's creatorcode R*ch refers to Rich Siegel, one of Bare Bones Software's founders and...
is a static code analysis tool for the C and C++ programming languages. It is a versatile tool that can check non-standard code. The creator and lead developer...
Matrix digital rain in Rust Examples of Matrix digital rain implementations on Rosetta CodeCreator of The Matrix code reveals its mysterious origins...
Apple intended Copland as a fully modern system, including native PowerPC code, intelligent agents, a microkernel, a customizable interface named Appearance...