applescript AppleScript User Interaction

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • display dialog text [default answer text] [hidden answer boolean] [buttons list of text] [default button text/integer] [cancel button text/integer] [with title text] [with icon text/integer/stop/‌note/‌caution/file] [giving up after integer]
  • display alert text [message text] [as critical/informational/warning] [buttons list of text] [default button text/integer] [cancel button text/integer] [giving up after integer]
  • display notification text [with title text] [subtitle text] [sound name text]
  • choose file [with prompt text] [of type text] [default location alias] [invisibles boolean] [multiple selections allowed boolean] [showing package contents boolean]
  • choose folder [with prompt text] [default location alias] [invisibles boolean] [multiple selections allowed boolean] [showing package contents boolean]
  • choose from list [with title text] [with prompt text] [default items list of text/number] [OK button name text] [cancel button name text] [multiple selections allowed boolean] [empty selection allowed boolean]
  • choose URL [showing list of Web/‌FTP/‌Telnet/‌File/‌News/‌Directory/‌Media/‌Remote] [editable URL boolean]
  • choose color [default color RGB color]

Remarks

AppleScript User Interaction is part of Standard Additions. You can find the full documentation in the dictionary StandardAdditions.sdef through Script Editor's Open Dictionary.



Got any applescript Question?