Remote AppleEvents to older OS
Remote AppleEvents to older OS
- Subject: Remote AppleEvents to older OS
- From: doug rogers <email@hidden>
- Date: Wed, 22 Dec 2004 18:34:40 -0500
set u to (choose URL) --showing Remote applications)
set L to characters 8 thru -1 of u
set u to "eppc://MyName:MyPassw@" & (L as string)
tell application "Hypercard" of machine u
using terms from application "HyperCard"
beep 2
end using terms from
end tell
-- get popup button in dialog
-- get afp url with name of machine 'quadra 700'
-->Hypercard got an error: Could not establish connection to host
set u to (choose URL showing Remote applications)
set L to characters 8 thru -1 of u
set u to "eppc://MyName:MyPassw@" & (L as string)
tell application "Hypercard" of machine u
using terms from application "HyperCard"
beep 2
end using terms from
end tell
-- no quadra in list in dialog
-- get only 'eppc:/' in result
set u to (choose URL showing File servers)
set L to characters 8 thru -1 of u
set u to "eppc://MyName:MyPassw@" & (L as string)
tell application "Hypercard" of machine u
using terms from application "HyperCard"
beep 2
end using terms from
end tell
-- get afp url with name of machine 'quadra 700'
-->Hypercard got an error: Could not establish connection to host
-- get afp url with number address for G3 (OS9)
--> Hypercard got an error: AppleEvent timed out.
--> Hypercard got an error: User canceled out of wait loop for reply or
receipt.
SThe beep command does not act on the remote machine
and we could not establish a connection to host. And the host is ?
(heavenly hosts sing hallelejuyah...)
So, if HyperCard GOT an error, then the error was in the sending of the
message... and we are actually talking to the remote application?
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