Re: Leopard and "new file"
Re: Leopard and "new file"
- Subject: Re: Leopard and "new file"
- From: Irwin Poche <email@hidden>
- Date: Sun, 30 Dec 2007 12:30:09 -0600
On Dec 29, 2007, at 1:42 PM, Michelle Steiner wrote: On Dec 29, 2007, at 12:33 PM, Irwin Poche wrote: According to the AppleScript Scripting Additions Guide, pages 37-39...
New File 2 The New File command displays a dialog box like the one in Figure 2-6 to allow the user to specify a filename and a location. New File does not create a new file; rather, it returns a reference to a file with the name and location specified by the user. You can store the reference in a variable and pass it to Open for Access (which in turn creates the file in the specified location) or to any other command for which you want to specify a file that doesn’t yet exist. New File is the only command provided by the New File scripting addition.
Oh, that was changed quite a few years ago; that's the reason I didn't recognize it. Documentation is way out of date.
The new syntax is "choose file name", which is a more accurate description of the command's function. Check the Standard Additions dictionary for more details about it.
Thank you Michelle. Yes, it's out of date by what, 10 years ? |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden