Platforms to show: All Mac Windows Linux Cross-Platform

/MacClassic/AppleScript/AppleScript with Parameter


Required plugins for this example: MBS MacClassic Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacClassic/AppleScript/AppleScript with Parameter

This example is the version from Wed, 27th Oct 2020.

Project "AppleScript with Parameter.xojo_binary_project"
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu7 = ""
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
MenuItem UntitledMenu6 = ""
MenuItem UntitledMenu5 = ""
MenuItem UntitledMenu4 = ""
End MenuBar
Class App Inherits Application
EventHandler Sub Open() dim a as AppleScriptMBS dim s(0) as string a=new AppleScriptMBS // compile this source code a.Compile "on test(s)"+chr(13)+"display dialog s"+chr(13)+"end test" MsgBox a.Source s(0)="Good Morning!" // and run it a.ExecuteEvent "test",s MsgBox a.Result Quit End EventHandler
End Class
ExternalFile info
End ExternalFile
End Project

See also:

The items on this page are in the following plugins: MBS MacClassic Plugin.


The biggest plugin in space...