Re: set "busy status" ?
Re: set "busy status" ?
- Subject: Re: set "busy status" ?
- From: Ed Stockly <email@hidden>
- Date: Sat, 28 Jun 2008 10:21:39 -0700
I haven't tried this with iWork docs, but I had the same issue with a
script that opened bbedit docs off the network and the solution was
to use appleScript's
set openFile to open for access myFile with write permission
While the script was using bbedit to work the file and
close access openFile
just before saving from BBEdit.
HTH,
ES
On Jun 28, 2008, at 8:24 AM, KOENIG Yvan wrote:
Hello
System Events define a disk item property named "busy status".
It is defined as read only.
Is there a way to change this status thru a shell script?
I wish to write a script used as a substitute to the Open function
in iWork components.
These programs doesn't set the "busy status" to busy when they open
a doc.
So, it's technically possible to a user B to open a file stored on
a network when the user A is already using the file.
The result is: the document is killed.
As I can't change the busy status, at this time I hope (just hope)
that if a shell script give the ability to set the flag to busy, an
attempt to open it will send an alert to the second user.
Yvan KOENIG (from FRANCE samedi 28 juin 2008 17:23:55)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40aol.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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