AppleEvents question

Matt Jadud mjadud at cs.indiana.edu
Thu May 23 21:32:02 PDT 2002


Hello all,

	I've skimmed the archives, and only found one hit on the word 'event',
so I think it's safe to ask my questions without covering old ground.

	I recently discovered James Spahr's scripting of OG to do sitemaps and
play with the Google API:

http://www.designweenie.com/blog/archive.php?1019760903

Despite the insane cool factor of this, it isn't enough to make me _really_
want to get down and dirty with Applescript just yet.

	Applescriptable applications are, basically, responding to AppleEvents,
if I understand that much correctly? If this is true, then I should be able to
generate the appropriate AppleEvents from any language that supports them, and
script OmniGraffle? Being the strange guy that I am, I'd like to script my copy
of OG from MzScheme, which is capable of generating AEvents:

http://download.plt-scheme.org/doc/200alpha12/html/mzscheme/mzscheme-Z-H-10.html#%_sec_10.6

	So, how do I divine the AEvents that OmniGraffle responds to? I can
look at the dictionary via Script Editor, but that is the limit of my knowledge
on this subject. Can I derive the events from the dictionary? What is the
application code for OG, or how do I discover such things? A few well placed
RTFMs are in order, I don't doubt, and will appreciate them fully.

	Thank you may I have another,
	Matt

________________________________________________________________________
Matt Jadud                            http://www.cs.indiana.edu/~mjadud/
Current Temperature Outside Lindley Hall                 62.4 F / 16.9 C
Canterbury Weather: High 59 F / 15 C, Low 50 F / 10 C, Light rain shower (Day)




More information about the OmniGraffle-Users mailing list