Can I use AppleScript from a XOJO application to activate the Mail app on iPhone/iPad? I can add a simple compiled AppleScript (display dialog…) to a XOJO iOS application but the display dialog text “Hello World” is not displayed on the simulator. No problem when I drag the same AppleScript in a XOJO DeskTop application. Are there any known issues with AppleScript on iOS or is it a problem with the Xcode simulator?
There is no Applescript on iOS/iPadOS, so this can‘t work.
I didn’t know… Is it possible to give a warning or runtime error when using an unsupported AppleScript?
Shouldn’t a “mailto:” URL link open the Mail app automatically?
At least that’s how it’s done in Swift…
You specified only to open the Mail app…so you want to display the mail message dialog with a predefined mail recipient?
Some say that open Mail app only works on the device, not on simulator:
2 Likes
That’s a good idea and you should make a feature request. An iOS project shouldn’t even allow you to add an AppleScript project item.