Re: open for access failure
Re: open for access failure
- Subject: Re: open for access failure
- From: Michelle Steiner <email@hidden>
- Date: Wed, 27 Jun 2001 11:41:24 -0700
On 6/27/01 9:30 AM, Roderick Scott Corporation <email@hidden> wrote:
>
For some unknown reason, I cannot run the following example. It
>
creates an error "Can't make "System disk:Desktop Folder:file.txt
>
into a file specification"
>
>
set myfile to (path to desktop folder as string) & "file.txt"
>
set myref to (open for access myfile with write permission)
set myref to (open for access file myfile with write permission)
You have to convert the reference to a file; it's currently a string.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------