Script Changes when copied
Script Changes when copied
- Subject: Script Changes when copied
- From: "ken " <email@hidden>
- Date: Tue, 24 Sep 2002 14:06:53 -0500
I asked this last week but saw no responses,
so I'll try again.
I am trying to set up program linking with OS X
as the Master computer calling a script on OS 9
as a slave computer. OS X is updated to 10.1.5
now, so the program linking bug should not be
an issue (crossing fingers now...).
The script that initiates the linking will be run
from the OS X machine, however I am
developing the code from the OS 9 machine. I
don't think this should be a problem. In the
script, I have the following:
tell application "PLTest" of machine
"eppc://192.68.2.8" -- IP of the slave computer
w/OS 9
--code here
end tell
I save this as an OS X application, no splash
screen and not stay open. I mount the OS X
machines hard drive and copy the applet from
the Finder.
When I run this applet from the OS X machine, I
get a dialog asking me to enter user name and
password (not the problem I'm asking
about--yet), but I notice that the machine it's
trying to connect to has the IP address
"2.168.2.8" instead of what I typed in the script
which is "192.68.2.8"
If I open the applet in Script Editor on the OS X
machine, sure enough the code now has the
same truncated IP address! Why is this
happening?
If I try to simply adjust this on the OS X machine
by adding the missing "19" in Script Editor, I get
an error message "Can't get the application's
event dictionary." and it won't compile. The slave
script is running as a stay open applet this
whole time, program linking turned on in app
and file sharing, etc.
HELP!!!
Thanks.
Ken Fleisher
--
====================================================
"I just know that something good is going to happen..."
- Kate Bush
====================================================
--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.