Re: Starting directory for 'choose file'
Re: Starting directory for 'choose file'
- Subject: Re: Starting directory for 'choose file'
- From: John Delacour <email@hidden>
- Date: Mon, 7 Jul 2003 08:35:20 +0100
- Mac-eudora-version: 6.0a25
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"
It's also unnecessary to use the Finder to get 'path to current user folder'
JD
.
_______________________________________________
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.