Platforms to show: All Mac Windows Linux Cross-Platform
/MacCF/SMJobBless in Xojo/Helper
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacCF/SMJobBless in Xojo/Helper
This example is the version from Tue, 5th May 2014.
Project "Helper.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
EventHandler Sub Open()
dim u as string = str(getuid)
dim e as string = str(geteuid)
dim p as string = str(getpid)
dim s as string = "Hello world! uid = "+u+", euid = "+e+", pid = "+p
System.log System.LogLevelWarning, s
quit
End EventHandler
ExternalMethod Function geteuid() As integer
ExternalMethod Function getpid() As integer
ExternalMethod Function getuid() As integer
End Class
MenuBar MainMenuBar
MenuItem FileMenu = "&File"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem EditSeparator1 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "#App.kEditClear"
MenuItem EditSeparator2 = "-"
MenuItem EditSelectAll = "Select &All"
End MenuBar
ModifyInfoPlistScript
End ModifyInfoPlistScript
End Project
See also:
The items on this page are in the following plugins: MBS MacCF Plugin.