Re: I've changed the name of a file (etc.)
Re: I've changed the name of a file (etc.)
- Subject: Re: I've changed the name of a file (etc.)
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 03 Nov 2000 15:26:40 -0500
- Organization: [very little]
Michelle Steiner wrote:
>
>
On 11/3/00 10:11 AM, Marc K. Myers <email@hidden> wrote
>
>
>file (vPathName as text)
>
>
--> Can't make some data into the expected type.
>
>
--Michelle
Ooops. I neglected to mention that the file reference has to be in a
tell to the Finder:
set avar to alias "SETI RAM Disk:SETI@home
Data:work_unit.sah"
tell application "Finder"
file (avar as text)
end tell
set theText to (alias "SETI RAM Disk:SETI@home
Data:work_unit.sah") as text
tell application "Finder"
set theFile to file theText
end tell