Specifies the creator signature and type signature for saved stack files.
# Metadata
Platforms: desktop, server OS: mac Introduced: 1.0 Security:
# Syntax
set the stackFileType to creator & type
# Examples
set the stackFileType to "myapSTCK"
# Description
Use the stackFileType property to ensure that stacks that a standalone application creates are recognized by the operating system as belonging to the standalone application.
When a file is saved on a Mac OS system, a 4-character file type and 4-character creator signature are saved with it. The creator signature specifies which application owns the file, and the file type is used to determine which applications (other than the owner) can work with the file.
>*Note:* LiveCode's creator signature is 'Revo'. The file type for a > stack file created by LiveCode is 'RSTK'.
The stackFileType property is used to set the type signature and creator signature for stack files your application creates with the save command. (To specify the type signature and creator signature for files created by the open file command or by putting data into a file, binfile, or resfile URL that doesn't yet exist, use the fileType property instead.)
The setting of this property has no effect on Unix and Windows systems.
>*Important:* To avoid conflicts with other applications, register any > new creator signatures with Apple Computer if you > plan to distribute a stack or standalone application that uses > this property.
# Tags
# See
- **keyword:** binfile, file, URL, characters, character, resfile - **property:** fileType - **command:** create stack, save, open file - **function:** stacks, files - **glossary:** property, stack file, creator signature, type signature, standalone application, command - **object:** stack