November 2003
Beginner to intermediate
480 pages
15h 3m
English
choose file name — file save dialog
Puts up a standard Save File dialog (default button “Save”), with title “Choose File Name” and default prompt “Specify new file name and location”. The user can also create a new folder. If the user types the name of an existing file, goes through the usual “Replace?” rigmarole. Returns a file URL (which appears as a file specifier). If the user cancels, an error is thrown (-128: “User canceled.”) Does not actually save anything.
set f to choose file name with prompt "Where shall I save this stuff?"
Read now
Unlock full access