Help with AppleEvents

Rob Cozens rcozens at pon.net
Sat Nov 15 09:19:22 EST 2003


>>So here's a sample code that works :
>>   on SelectProgramAndSendAE pAEclass, pAEid, pAEdata
>>     do "choose application" as AppleScript

Jan, the two Pauls, et al:

Wouldn't it be more utilitarian to break this into two scripts:

* One to select & return the target application address (to be stored 
by the calling app)

* A second script to send the Apple events themselves (using the 
stored address)

?
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list