I don’t think you can find a better way to script non-scriptable applications than PreFab Player. I have used it for several clients. The site for the PreFab folks is http://www.prefab.com/.
The secret to its success is that it scripts the Macintohs interface rather than screen coordinates. I think they have a free downloadable demo.
QuicKeys, One Click, Prefab Player – one or all may meet your needs, but they may not work well in your situation either. Go to version tracker to search for the latest versions of these utilties.