Just a suggestion, if it is not possible right now: The possibility to run an applescript that is in an external file.