• 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 help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open for access help


  • Subject: Re: open for access help
  • From: g3pb <email@hidden>
  • Date: Fri, 20 Apr 2001 18:56:25 -0800

try
tell application "Finder" to set startupDisk to name of startup disk
set fRef to ""
set fRef to open for access file (startupDisk & ":Desktop Folder:try")
with write permission
write "hcir" to fRef
close access fRef
on error errMsg number errNum
if fRef is not "" then
close access fRef
end if
end try

-- hcir
mailto:email@hidden


> I am trying to use open for access to create a file. All I get is an
> error message saying the file is not found. Has anyone else made it
> work?


References: 
 >open for access help (From: "Miles M. Sakaguchi" <email@hidden>)

  • Prev by Date: Re: open for access help
  • Next by Date: Re: Finder error: AppleEvent timed out
  • Previous by thread: Re: open for access help
  • Next by thread: Re: open for access help
  • Index(es):
    • Date
    • Thread