[Pythonmac-SIG] appscript

Karsten Wolf karstenw at eichhorn-frankfurt.de
Thu Feb 22 12:29:40 CET 2007


Hi,


Am 22.02.2007 um 05:31 schrieb Christian Bird:

> RuntimeError: Can't get terminology for application
> (aem.Application(u'/Applications/iTunes.app')): CommandError -600: no
> eligible process with specified descriptor

Error -600 means the process isn't running. Some applications launch  
when asked for their dictionary, some don't. Seems like iTunes doesn't.

change to:

itunes = app('iTunes')
itunes.activate()


If you still have a classic environment you should be more precise.  
itunes = app('iTunes') read the OS9 iTunes dictionary on my machine.  
Use either


itunes = app('iTunes.app')

or

itunes = app('/Applications/iTunes.app')



-karsten



More information about the Pythonmac-SIG mailing list