• 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: Starting directory for 'choose file'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting directory for 'choose file'


  • Subject: Re: Starting directory for 'choose file'
  • From: Richard Morton <email@hidden>
  • Date: Mon, 7 Jul 2003 18:50:12 +1000

On Monday, July 7, 2003, at 05:35 PM, John Delacour wrote:

At 4:39 pm +1000 7/7/03, Richard Morton wrote:

Michelle posted this, which works for me:

tell application "Finder"
set MyHomeFolder to home as string
end tell
choose file name default name MyHomeFolder & "Documents:"

That's a rather roundabout way of doing it when 'choose file' provides

choose file default location path to "docs"

'choose file name' is intended for use when you want to suggest a name for the new file:


choose file name default location (path to "docs") default name "My new file"

That's great, though it must be fairly new too - neither of those compile for me under 10.2/AS1.9.

J2D2
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Starting directory for 'choose file'
      • From: John Delacour <email@hidden>
    • Re: Starting directory for 'choose file'
      • From: Gary Lists <email@hidden>
References: 
 >Re: Starting directory for 'choose file' (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Starting directory for 'choose file'
  • Next by Date: 24U 'post notification'
  • Previous by thread: Re: Starting directory for 'choose file'
  • Next by thread: Re: Starting directory for 'choose file'
  • Index(es):
    • Date
    • Thread