• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leopard and "new file"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Leopard and "new file"
      • From: Irwin Poche <email@hidden>
References: 
 >Leopard and "new file" (From: Irwin Poche <email@hidden>)
 >Re: Leopard and "new file" (From: Michelle Steiner <email@hidden>)
 >Re: Leopard and "new file" (From: Irwin Poche <email@hidden>)

  • Prev by Date: Re: Open Safari and Script
  • Next by Date: Account Mail Question
  • Previous by thread: Re: Leopard and "new file"
  • Next by thread: Re: Leopard and "new file"
  • Index(es):
    • Date
    • Thread