FileType.MacType

From Xojo Documentation

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

Supported for all project types and targets.

The four-byte string used to identify the type of file in the Mac OS.

Sample Code

The following defines the png file type in code.

Dim pngType As New FileType
pngType.Name = "image/png"
pngType.MacType = "PNG"
pngType.MacCreator="ogle"
pngType.Extensions = "png"