[Pythonmac-SIG] Applevents to running applications..

Th. Fettig tom@sz-sb.de
Wed, 15 Jul 1998 19:08:45 +0200


I am doing a workflow-component using Python as 'steering' and
interface to our database, and would need to talk to various 
Applescripts i wrote (saved as application..) via the default
handlers (run,open,save,quit). Has anybody done this yet? I looked
around for a while, but only found facilities to use converted
Dictionaries.. which is totally dependent on signatures, but these
do not differ for Applescripts!! 
Sending Events is also possible via PSN (process serial numbers), so
before i start coding C, i wonder if there's a way to get the PSN in
Python and use the AE-module to construct and handle events directed
to the running processes. Is this possible? Any examples available?

tia

	Tom