Re: file is already open & file wasn't open
Re: file is already open & file wasn't open
- Subject: Re: file is already open & file wasn't open
- From: Gil Dawson <email@hidden>
- Date: Sat, 21 Apr 2007 17:54:20 -0700
What a great group to work with. I've learned everything I need for now.
Thank you! Thank you!
At 3:23 P -0700 4/20/07, Gil Dawson wrote:
I'm trying to port a procedure that works in Tiger to MacOS 9.2.2
At 1:18 A +0200 4/21/07, Arnaud Nicolet wrote:
The file is previously open (either by your script or by another application).
What is 9.2.2 error code -49?
File already open with write permission.
I read somewhere that a major difference between Mac OS X and Mac OS
9 is that, under Mac OS X, you can now open a file for access even
if it is already open by another application...
At 2:22 P +0200 4/21/07, Emmanuel wrote:
This suggests that you can open a given file for access with write
permission from two different applications, which may be misleading
as such...
At 9:38 A -0600 4/21/07, Doug McNutt wrote:
Has Apple modified the "It's UNIX underneath" kernel?
At 6:54 P +0200 4/21/07, Emmanuel wrote:
the locking scheme that we are using here is 100% AppleScript-internal.
At 1:44 P -0400 4/21/07, deivy petrescu wrote:
You are opening a file and you are trying to close another, at least
according to AS.
be rude and impolite, do not ask for permission just write to the
file... go ahead and just write:
At 11:14 A -0700 4/21/07, Michelle Steiner wrote:
I'm not able to write to a file via an applescript unless it was
opened with write permission.
At 8:18 P +0200 4/21/07, Emmanuel wrote:
"Just do it"
At 11:36 A -0700 4/21/07, Michelle Steiner wrote:
OK; it works with an existing file. You can't create a file and
write to it...
At 3:57 P -0400 4/21/07, deivy petrescu wrote:
You can run script 1 again and again. No problem
But, run script 2.
At 1:17 P -0700 4/21/07, Michelle Steiner wrote:
I'm at an age where I can satisfy my wants without too many guilt feelings.
Thanks for a wonderful dialog ultimately providing me with a very
good understanding!
Now I know exactly what to do... to both scripts.
I very much appreciate your help.
Thanks to you all.
--Gil
_______________________________________________
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