[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] AppleEvents with remote addresses



At 13.47 -0500 1999.08.06, Cameron Ashby wrote:
>I gather you were matching to empirical observation of what comes out of the
>chooser?

Yep.  See the next post.


>> It worked with ircle and with Netscape, sending to one machine.  Let me
>> know if it works for you, and if possible, _why_ it works for you.  :)
>
>I'll be banging at this for a few days, and you'll hear if I come up with
>any further info.

Hopefully you or someone else can fill in the blanks I left unfilled.


>Padding out the structure makes sense, because there's reserved space, but I
>would have thought it'd go at the end of the structure...  As you said, I
>suspect that first string should actually be ca33x.  I'm baffled by porttype
>520;  where did you come up with that?

Noted in the other post; it is ca33 followed by s and another ca33.  The
520 was 02 and 08.  Why 02 instead of 01?  Darned if I know.


>> Also, how do you do the logins?  What OSAX?
>
>I'm using "login as" and "logout" from the GTQ Scripting Library.  There are
>lots of other handy bits in there, so if you don't have it, you want it.  I
>found it at:
>
>ftp://mirror.apple.com/mirrors/Info-Mac.Archive/dev/osa/gtq-scripting-libra
>ry-121.hqx
>
>It's taken some massaging since AppleScript tries to authenticate at compile
>time.  The "login as" line pretty much has to be compiled and executed by
>itself before you compile and run an empty tell block for your target (with
>the logout), just to get the script engine to fetch the aete resource, so it
>can then compile something useful.  Maybe there's a better way to do it.  I
>have some code cleanup to do first, but I'll bounce an example off of this
>list as soon as I have a few minutes free.

I'll try with the OSAX at some point.  But doing it all in raw Apple events
in MacPerl, you shouldn't have this problem, since you would execute the
login first, and then the next event to talk to the port.

Thanks for doing all your work on this, it is something I've wanted for a
long time.  It is working now but I want to get the last questions
answered, and then we will be set!

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org