An Appleworks script won't run from net-booted iMacs...
An Appleworks script won't run from net-booted iMacs...
- Subject: An Appleworks script won't run from net-booted iMacs...
- From: Dennis Tokaryk <email@hidden>
- Date: Sat, 27 Jan 2001 19:25:17 -0400
Hi:
I've run into a strange problem running a script to perform linear
regressions from an AppleWorks 5 spreadsheet. If the script is run
from our net-booted iMacs, it will hang IF we run AppleWorks 5 either
from another server on our network, or from the version on our
net-booted applications image. However, if the script is run from a
version on the client's local hard drive, it works perfectly, even if
we have net-booted! I have never had a problem with the script on
non-netbooted machines.
We are running Mac OS X Server on the system that serves to our
iMacs. Appleworks 5 from the other server is locked, and the version
from our own applications image is also protected (you can't write to
that image).
I have done a little more diagnosis by examining the Events Display
as the script is run from the Script Editor. The code that hangs me
up is:
Tell application "AppleWorks"
set PartI to column 1 of selection
set PartII to column 2 of selection
end tell
The script assumes that an AppleWorks spreadsheet is up, and that two
columns of data are highlighted. If I run AppleWorks from the local
hard drive, I receive the following Events for the given code:
get column 1 of selection
get column 2 of selection
and everything runs fine.
If I run from the net-booted image or from the other server, I get
get column 1 of selection
get column 1 of selection
and AppleWorks hangs. Note that it seems to want to access column 1 twice!
Has anyone any insight into this odd problem?
Thanks,
Dennis Tokaryk
--
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Dennis Tokaryk (email@hidden)
Assistant Professor, Mount Allison University
Department of Physics
67 York Street, Sackville, New Brunswick E4L 1E6
phone: 506 364 2586 FAX: 506 364 2583
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+