comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Installing AppleEvent Handlers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Installing AppleEvent Handlers [message #12905] Mon, 14 September 1998 00:00
hellman is currently offline  hellman
Messages: 4
Registered: September 1998
Junior Member
I'm annoyed by the lame implementation of the get data and set data event
handling in IDL for Macintosh: namely the inefficient way in which some
data types are returned (arrays), the inability of IDL to deal with other
data types, and the fact that IDL doesn't return object specifiers like
it should. So I want to write my own handlers so that get data and set
data work the way I want them to. I can deal with the AppleEvent manager,
and I can access all the variables I want to through the IDL API.

Here's the question: Is there a way to get IDL to load my shared library
when it launches (i.e. not just the stubs), so I can install my handlers
in the AE dispatch table? The ugly alternative is to run a script like

tell app "IDL
Do Script "ignoredResult = initializeMyAEHandlers(noArgs)"
end tell

where my library exports an initializeMyAEHandlers function which does the
work of loading the appropriate code fragment into memory and calling
AEInstallHandler.

And a second question: Would anyone else be interested in having a less
lame scripting implementation?


- Olof Hellman
[Message index]
 
Read Message
Previous Topic: Trouble running IDL3 widget programme on IDL4/IDL5
Next Topic: color postscript, colortables and TV

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:27:11 PDT 2025

Total time taken to generate the page: 2.88039 seconds