Hi all,
I just found a nice replacement for AppleScript. It is in Python, therefore it is legible (as opposed to AppleScript) and interfacable with PD. I wish there was something like that on Linux too. Here is the link :
http://appscript.sourceforge.net/
Cheers,