FileType.MacCreator

From Xojo Documentation

Revision as of 19:05, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As String )
aFileType.MacCreator = newStringValue
or
StringValue = aFileType.MacCreator

Supported for all project types and targets.

The four-byte string used to represent the application that owns the file in the Mac OS.

Sample Code

The following defines the jpeg file type in code.

Dim jpegType As New FileType
jpegType.Name = "image/jpeg"
jpegType.MacType = "JPEG"
jpegType.MacCreator = "prvw"
jpegType.Extensions = "jpg;jpeg"