In reply to Laurie Spiegel.

@Laurie: I'm afraid at the moment there's no documentation for scripting because the only things that are really usefully possible are to automate the commands you can run in the program yourself. If you try recording a simple script using the macro recorder in the Script menu you'll see roughly how the syntax works. You can get a further look at that command syntax by e.g. looking at the application.log file that is created in your user application data folder, which logs out the commands you invoke in each session. A couple of users have managed to do pretty sophisticated things using these techniques, but it's not for the faint of heart!