FolderItem.MacCreator

From Xojo Documentation

Property (As String )


aFolderItem.MacCreator = newStringValue
or
StringValue = aFolderItem.MacCreator

Supported for all project types and targets.

For documents, the 4-character code that identifies the application that would be launched and would open the FolderItem if it were opened from the desktop.

Notes

Assign the 4-character string to this property. If the FolderItem refers to a directory on macOS, MacCreator returns "MACS". MacCreator is macOS-specific. MacRoman encoding is used.

Sample Code

Dim f As New FolderItem
f = GetOpenFolderItem("text/plain")