Re: Script Server?
Re: Script Server?
- Subject: Re: Script Server?
- From: "Jason W. Bruce" <email@hidden>
- Date: Sat, 09 Dec 2000 11:31:44 -0600
Keith Paul asked:
>
Does anyone know if it's possible to store scripts on a server and give
>
users aliases to those scripts? I realize this sounds simple but what
>
if 2 users hit on the same script simultaneously. Would that cause a
>
problem? Would the script not run correctly? Would it crash somewhere?
>
>
This would greatly simplify the distribution of some of my commonly used
>
scripts if this were possible.
>
>
>
Thanks in advance.
>
Keith
I was hoping someone would answer this because it's very complicated.
Bill Cheeseman's website, the AppleScript Sourcebook, has a description of
the use of script servers on a single machine, but I don't think he
discusses their use over a network. I think the general rule regarding
scripts in a multi-user environment is that if a script receives a hit while
it's handling another hit, it stops processing the first hit and processes
the second hit. After it finishes the second hit, it then returns to the
first hit.
I presume you could give users access to a script from a server using
filesharing and Appletalk. It's probably better to have separate scripts on
each client machine which query the server script or load the server script
into themselves. But if you're going through the trouble of this and your
scripts aren't frequently updated, it might be easier just to give each
client machine a copy of the server script.
Jason Bruce