Post

Replies

Boosts

Views

Created

Dialog Display in AppleScript
Good morning, I use Automator to create a program and I know how to add an AppleScript script to it. I'm looking to create an AppleScript that displays a dialog box with a question and two options (in the form of two buttons), both of which trigger an app to open, but different, when clicked. I don't use Automator's "Ask for confirmation" block, which indeed displays a dialog box with two options, corresponding to what I'm looking for, but I can't customize the action of the two buttons. Can you help me ? Or give me sample code? Thanks in advance :)
2
0
1.8k
May ’23