Xojo - some pieces 4u


Xojo Code Example: Using Applescript for Automation (macOS) 0.8.0

  1. Read the Description
  2. Download and try it yourself
  3. Do you like it? Does it help you? Has it saved you time and money?
    You're welcome - it's free... If you want to say thanks I appreciate a message or a small donation.
         contact

Description:
There used to be a time where any application just could execute AppleScripts to Automate other applications such as: 'tell application X to do Y'.
That's no longer the case starting with macOS 10.14. It's become a bit trickier to use with Xojo, since not everything is built in.

This example project shows:









How to use with your own Xojo-built .app?
1. drag the example Info.plist into your project. Edit it and change the NSAppleEventsUsageDescription to fit your app's purpose.
2. copy-paste the Module modAppleScriptUtils into your project.
3. use the provided Methods it in a similar way to this example project.







back to overview

contact: Juerg Otter