Re: Leopard and "new file"
Re: Leopard and "new file"
- Subject: Re: Leopard and "new file"
- From: Michelle Steiner <email@hidden>
- Date: Sat, 29 Dec 2007 12:42:22 -0700
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. -- "If I were not an atheist, I would believe in a God who would choose to save people on the basis of the totality of their lives and not the pattern of their words. I think he would prefer an honest and righteous atheist to a TV preacher whose every word is God, God, God, and whose every deed is foul, foul, foul." -- Isaac Asimov
|
_______________________________________________
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