Re: open for access
Re: open for access
- Subject: Re: open for access
- From: Luther Fuller <email@hidden>
- Date: Mon, 1 Dec 2008 13:53:08 -0600
Yes! I needed to restart! (I had been Relaunching the Finder.)
On Dec 1, 2008, at 1:31 PM, Luther Fuller wrote:
On Dec 1, 2008, at 1:17 PM, Emmanuel Levy wrote:
At 12:04 PM -0600 12/1/08, Luther Fuller wrote:
I need to do this (in 10.5.5) ...
set refNr to (open for access htmlFile with write permission)
but I keep getting the error -54, "File permission error". I've
checked permissions and I (the current admin user) do have read-
write permission.
That's the message when another process on the same machine already
opened the file with that same AppleScript command. I wonder
whether the files opened by a process close magically when it
quits. I would think that no.
That's what I was thinking, so the original code said this ...
try
close access htmlFile
end try
try
set refNr to (open for access htmlFile with write permission)
so I shouldn't be getting the error for that reason. Perhaps I need
to restart?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden