Re: Re : Renaming file bug
Re: Re : Renaming file bug
- Subject: Re: Re : Renaming file bug
- From: Roger Howard <email@hidden>
- Date: Mon, 13 Dec 2004 11:51:12 -0800
On Dec 13, 2004, at 1:15 AM, JM wrote:
tell application "Finder"
set ThisFile to make new file in ThisFolder
-- later
set the name of ThisFile to ThisName
end tell
JM, why not just do the following:
tell application "Finder"
set ThisFile to make new file in ThisFolder with properties (name:ThisName}
end
That way you avoid having to rename at all - just set the name from the start.
Hope this helps,
Roger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden