Erik wrote:
> 1) I believe QuickEdit sends code to Mops via Applescript, or
> AppleEvents. Now, if that's true, these access points aren't
> advertised as I can't get Script Editor to open any dictionary in
> PowerMops. If information on how the interaction occurs could be
> detailed, then maybe it could be modified to allow any savvy editor
to
> send code to Mops.
Sorry for not responding sooner. This Usenet group has not been very
active so I don't come here often. Although now that PowerMops 5.6 is
uploaded to the Apple OSX site the activity level may change.
The way to send AppleEvents to Mops is no secret. One can view the
complete source for how to do it simply by looking at the Mops source
file zAppleEvents. This shows how PowerMops sends AEs to QuickEdit
(Carbon MacForth). But the same technique is used in QuickEdit to send
AEs to PowerMops, with the proper AE values changed of course. Look at
the definition of (AEeventfromQE) in the PM file zFrontend to see
*precisely* what PM does with an incoming AE from QE.
Anyone could write an application, in most any language I would think,
to communicate with PowerMops using what is already there. One could
also easily change the PM source file zAppleEvents and recompile
PowerMops if custom outgoing AEs were desired.
Regards,
-Doug


|