getting across network to older OS
getting across network to older OS
- Subject: getting across network to older OS
- From: doug rogers <email@hidden>
- Date: Mon, 20 Dec 2004 16:27:00 -0500
I run a HyperCard stack in the kitchen on OS8, which is used to
collect information I want to gather to my iBook. Running a stack in
Classic on the iBook, the stacks communicate successfully, in
Hypertalk of course, and the iBook stack even passes the info along in
Applescript, to the OSX apps on the iBook.
I am trying to rewrite the iBook stack to run in OSX. I have tried a
bit in xCode, ran into some problems, tried a bit in Revolution, ran
into a problem, tried again in xCode and now am running into this same
problem of communicating, seemingly across OS's, with protocols that
don't seem to understand each other.
The errors generated in Revolution were the -1701 error, an apple
event error, and 'No Such Program'. Leading me to believe it was a
filepath specification problem Unix vs Mac styles.
found in documentation:
-1701 - errAEDescNotFound - Descriptor record was not found
Is this a response from the OS8 Quadra? or from the OSX iBook?
What is a descriptor? (sounds like one of those ghouly prison guards
from Harry Potter)
If using Choose URL you'll need to strip out the protocol element
(afp, smb,
etc.) and build a new 'eppc://' url using the hostname.
I tried 'choose URL showing remote applications' , which would
generate the eppc url. The quadra (OS8) does not appear in the dialogs.
:-( so I thought I would try 'choose URL showing file servers'. That's
how I got to there.
so, putting together a 'correct' url
tell (application "HyperCard") of machine "eppc://at/quadra 700:*" to
beep
only tells me 'remote Access isn't allowed.' This has something to do
with security then. I recall discussions over Jon's Osax about
bypassing this, or is this the same problem?
Brief discussion on the Revolution list indicates that it can't do
remote appleevents to previous OS versions and that I should use
sockets. Does Applescript do sockets? What is a socket? A small
stocking? Is this failure to communicate to older OS's a limitation of
OSX itself? Why does it work from Hypercard in Classic then?
There is a crack in everything. That's how the light gets in.
__________<http://home.golden.net/~samu>__________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden