[Pythonmac-SIG] [ann] PyOSA 0.1.0, Appscript Installer 1.5.1 released
Jacob Rus
jrus at hcs.harvard.edu
Sat Mar 31 20:03:47 CEST 2007
has wrote:
> For example, you could create a Mail rule that runs an 'AppleScript'
> action whenever new messages are received. That rule would load a
> PyOSA script and call its 'perform_mail_action_with_messages'
> function, passing it a list of message references. The script could
> then go through those messages, getting and setting their properties,
> moving them to other mailboxes, and so on.
Could someone make such an example script (or something similar), and
put it up somewhere? What happens when a specific handler is called on
that script? It presumably calls a python function of the same name.
Is there some mapping of applescript handlers with named parameters to
python functions, etc.?
-Jacob
More information about the Pythonmac-SIG
mailing list