[Pythonmac-SIG] Select application version

Carles Pina i Estany carles at pina.cat
Mon Nov 8 13:35:26 CET 2010


Hello,

I'm not an advanced Applescript user, but I usually have a problem: how can I
choose the application version that I want my script to connect to?

Let's say that I have Microsoft Office 2004, 2008 and 2011. How can I select
the version in the tell statement?

The final use case is using Python, I thought that appscript.app() could have
some argument to specify it, but it seems that it doesn't have any. I also
tried appscript.app("Disk:Applications:Microsoft Office 2011:Microsoft Word")
without any luck ("Local applicatoin "Disk:Applications:..." not found)

Thank you,

-- 
Carles Pina i Estany
	http://pinux.info


More information about the Pythonmac-SIG mailing list