Re: open for access help
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?