• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: open for access failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Prev by Date: I Need an Apple Script!
  • Next by Date: FW: Paper size in QX
  • Previous by thread: open for access failure
  • Next by thread: Re: -8850 error from info for
  • Index(es):
    • Date
    • Thread