Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3798

Create AppleScript as application programatically

$
0
0

Hello,

I would like to create an AppleScript as an application, from my XOJO app, so that when it is launched it runs immediately.

I did this:
Dim TheAppleScriptScript as FolderItem
TheAppleScriptScript = SpecialFolder.Desktop.child(“TheAppleScriptScript.applescript”)

I added the appropriate code and it is launched in the ScriptEditor but I have to click the “Run” icon for it to be executed.

How do I save that script as an application so that when it is launched it runs?

Thanks.

Lennox

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3798

Trending Articles