[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] MacPerl and AppleEvents Q



If I want MacPerl to send an AppleEvent to itself, and I want that to 
occur in Batch mode, what's the syntax?

I can do this in AppleScript:
-----------------------------------------
tell application "MacPerl"
	Do Script "print \"hi\";" mode Batch
end tell
-----------------------------------------

But I'd prefer to do it from within MacPerl. Is there a way? Ok, you're 
probably wondering why anyone would want to send an AppleEvent to MacPerl 
from MacPerl, and I'd tell you, but it's long and complicated. So for 
now, just bear with me.

-Chilton

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org