Re: default folder for 'choose file name'
Re: default folder for 'choose file name'
- Subject: Re: default folder for 'choose file name'
- From: Michelle Steiner <email@hidden>
- Date: Tue, 24 Jun 2003 22:11:09 -0700
On Tuesday, June 24, 2003, at 05:30 PM, Steven D. Majewski wrote:
'choose file name default name ...' fills in the default name in the
dialog, but it doesn't set the default folder to the folder of my
default.
Is there any way to set the default folder for any of the choose *
dialogs ?
yup. Just specify it in the default file name parameter.
tell application "Finder"
set MyHomeFolder to home as string
end tell
choose file name default name MyHomeFolder & "Documents:"
The above will select the current user's Documents folder using
"Untitled" as the default file name.
To set a recommended file name, you can use this:
tell application "Finder"
set MyHomeFolder to home as string
end tell
choose file name default name MyHomeFolder & "Documents:My File"
--Michelle
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
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.