Xojo - some pieces 4u


ready to use

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


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