Name
choose application
Synopsis
application selection dialog
application selection dialog
Puts up a standard Choose Application dialog, listing all applications, with title "Choose Application" and default prompt "Select an application." The user can switch to browsing in a standard Open File dialog. You can specify the window title and prompt. Returns an application specifier, or optionally an alias, or a list if multiple selections are allowed.
Example
set theApp to choose application as alias tell application "Finder" set isScriptable to has scripting terminology of theApp end tell if isScriptable then display dialog "It's scriptable!"
Get AppleScript: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.