AppleEvents in terminal

ian

Registered
Is there a terminal app that does AppleEvents? I'm pretty keen on AppleEvents and have been working with it on Radio Userland.

Apparently there's a Perl module for this, but I'm pretty clumsy at Perl. Can anyone help?:confused:
 

rharder

Do not read this sign.
I thought there was such a tool included in OS X or maybe the Developer tools, but I don't remember the name. Isn't that helpful?

-Rob
 

Red Phoenix

Registered
You could probably just have the AppleEvent contained within a very short AppleScript, and then run that through the terminal, with the command

/usr/bin/osascript ~/Documents/Scripts/foo.scpt

You can also pass commands instead of telling it to open a script. Hence, you ought to be able to send an AppleEvent just by sending a doing it the normal way in an AppleScript.
 
Top