November 2003
Beginner to intermediate
480 pages
15h 3m
English
choose file — file selection dialog
Puts up a standard Open File dialog, with title “Choose File” and default button “Choose”. Returns an alias. If the user cancels, an error is thrown (-128: “User canceled.”)
set f to choose file with prompt "Pick a text file:" of type "TEXT"
Read now
Unlock full access