Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How can I launch an app using it's creator code?

Answer: Send an AppleEvent "odoc" with the creator code to the Finder ("MACS"):
Function LaunchByCreator(C As String) As Boolean
Dim A As AppleEvent
A = NewAppleEvent("aevt","odoc","MACS")
A.ObjectSpecifierParam("----") = GetUniqueIDObjectDescriptor("appf",nil,C)
return A.Send
End Function

MBS Xojo PDF Plugins