I'm forwarding this to the Betas list because if it's not possible in
RB 4.5, it ought to be discussed for 5.0:
---
(Following up to my previous plea for assistance with handling the
Get AETE event:)
OK, so I figured out that I'm actually doing it right, but it looks
like REALbasic may be limiting me here:
According to Matt N.'s book, the various properties attached to the
Apple Event class (ReplyString, ReplyInteger, etc) are actually
coerced - that is, if the reply to an event contains an integer,
ReplyString will coerce it to a string.
It seems, though, that one cannot access arbitrary data attached to
an Apple Event if it is no coercable; for example, 'aete' data, which
apparently cannot be coerced to a string. So if I respond to the Get
AETE event by assigning my aete data to the ReplyString property, the
requester will never see it because it cannot be coerced to 'aete'.
Is there a way to do it, or am I totally off my rocker on this? If
I'm right, and RB can't do this, can anybody pass on any tips on
using the Ptr property of the Apple Event in conjunction with
Declares to get the job done?
Thanks, all -
Eric M. Williams
Seattle, WA
--
Eric M. Williams
Oxalyn
Seattle, WA
Virtual Volume Manager: THE way to manage Virtual Volumes!
http://software.oxalyn.com/
---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>
Unsubscribe:
<mailto:realbasic-betas-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-betas-digest at lists dot realsoftware dot com>
.
|