Re: text manipulation
Re: text manipulation
- Subject: Re: text manipulation
- From: Jolly Roger <email@hidden>
- Date: Thu, 07 Jun 2001 14:19:30 -0500
On 6/6/2001 7:07 PM, "Jason Davies" <email@hidden> wrote:
>
It seems to me that I should either get FM to do it (which I can't despite
>
trying a few different
>
methods) or get the Finder to rename it. With the latter I tried
>
>
set {file "backup"} to timeStr
>
>
but got an error
>
>
So how do I rename an item in the Finder?
Hi Jason,
To use the Finder, do it like this:
-- begin script
tell application "Finder"
set name of (file myFile) to newFilename
end tell
-- end script
HTH
JR