Help with AppleEvents

Jan Schenkel janschenkel at yahoo.com
Sun Nov 16 12:10:48 CST 2003


--- Paul Stary <paul at starytech.com> wrote:
> At 10:47 AM -0700 11/15/03, Dar Scott wrote:
> >On Saturday, November 15, 2003, at 07:19 AM, Rob
> Cozens wrote:
> >
> >>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)
> >
> >I agree.  It would also be easier to understand,
> debug, and get 
> >one's arms around.
> >
> >I suspect that all Paul needs is the second part. 
> (If that doesn't 
> >work, there might be something wrong in the form of
> the computer 
> >name and the first part might help in looking at
> that.)  This is 
> >simpler AppleScript.
> >
> >Dar Scott
> >
> 
> Thanks, Rob, Dar and Jan,
> 
> This workaround looks good. I will test it later
> today or tonight. 
> Dar, you're right. I have the remote Machine and
> Program names 
> hardcoded, so only need to format the "do as
> AppleScript" stuff 
> correctly. I really hope this works.
> 
> Thanks again.
> -- 
> 
> Paul Stary
> 

Hi Paul et al,

I'm glad to have been of assistance, even when I was
away from my computer :-D
The script I posted back then ought to work just fine
; it was set up that way to shpow how one could both
select a program and send a message to it -- edit as
you please for your desired effect.

Best regards,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


More information about the use-livecode mailing list