Re: Starting directory for 'choose file'
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.