Re: Translating AppleScript to AppleEvents

Matt Neuburg <[email protected]> Wed, 27 Jul 2011 06:54:43 -0700
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Jul 26, 2011, at 12:00 PM, [email protected] wrote:

>  % setenv AEDebugSends    1            # print sent events
>  % setenv AEDebugReceives 1            # print received events and =
replies

That approach is also documented in an early chapter of my AppleScript =
book. Of course, another way to do this is to run your script in Script =
Debugger, which can show you the equivalent AEPrint rendering of the raw =
Apple event in the Log. m.

--
matt neuburg, phd =3D [email protected], http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com