My profile is close except I moved to Python 2.5: Macbbok Pro Core 2 Duo, 2.33GHz, 2GB, 10.4.8
cannot reproduce, long pause while iTunes launches though... [EMAIL PROTECTED] Thu Feb 22 11:44:38P [ 1 ] ~/ python Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from appscript import * >>> itunes = app("iTunes") >>> itunes.name.get() u'iTunes' >>> More interestingly, This begs the question: if I could figure out how to keep both 2.4 and 2.5 in the same system and playing nicely, I would and that would make testing easier. The best way would be able to run OS X in a VM but we all know _that_ isn't coming any time soon ;-( I suppose I could install the OS on some external volumes to plug into the Macbook and reboot. If I install 2.4, then link the binary to /usr/bin/python24, then overlay 2.5, tit seems simple, but the Devil is in the details. Even if I invoke python2.4, the global environment points to Python 2.5 and things could get ugly fast I am guessing. On Feb 22, 2007, at 7:04, has wrote: > Christian Bird wrote: > >> I just found out about appscript and am attempting to use it on my >> macbook pro (OS X 10.4.8 and python 2.4.3). I installed appscript, >> but the following is what I get when I try to test it out. [...] >> The same error appears regardless of which >> app I try to control (and yes, itunes is running when I tried this). > >> (aem.Application(u'/Applications/iTunes.app')): CommandError -600: no >> eligible process with specified descriptor > > Hmmm. This is the first time I've heard of such a problem, and I'm > unable to replicate the error here on my i386 test box (Core Solo > Mini, OS 10.4.6, Python 2.4.3, appscript 0.17.0): > > [mini:~] has% python2.4 > Python 2.4.3 (#1, Mar 30 2006, 11:02:16) > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> from appscript import * >>>> a = app('itunes') >>>> a > app(u'/Applications/iTunes.app') >>>> a.name > app(u'/Applications/iTunes.app').name > > > Which Python distribution and appscript version are you using? > > Also, could anyone else here who has a similar setup to Christian > please try the above and let us know if it works ok or not for them? > > has > -- > http://appscript.sourceforge.net > http://rb-appscript.rubyforge.org > http://appscript.sourceforge.net/objc-appscript.html > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig