Since I now realize your living and well Matt, could you please give me an idea
were I'm getting off base trying to send an apple event to a remote machine on a
LAN. I am basing my code off the example on page 597 - 600 of your first
edition. Both machines are set up for program sharing and are connected (at
least they seem to be). I first tried the Apple Event Scriptability example
which was successful. My next step was to try the remote Targets example Page
597 to bring up the "About This Computer" window. This did not work. I did not
even get the remote login dialog the first time I ran it. I was wondering what
the port code should be? What application am I sending it to (the Finder)?
MACSep01, excluding the ep01 looks like a creator code of some app you are
running (confused).
After failing here, I attempted to send an appleevent from a remote machine on
the LAN to snortiblog, which did not work either. I know this is my lack of
understanding. Could you or anyone else help me with the code below.
The code on the remote is on page 599 and works, at least with both apps on the
same machine.
dim targ as appleEventTarget
dim a as appleEvent
'dim o as appleEventObjectSpecifier
targ = newappleEventTarget("snortiblog","My Other Machine","*","????ep01")
a = targ.newAppleEvent("your", "name")
'o=getpropertyObjectDescriptor(nil,"abbx")
'a.objectSpecifierParam("----") = o
if a.send then
msgbox a.replyString
end
|