pyobj access to iTunes application

Posted by jldupont on Stack Overflow See other posts from Stack Overflow or by jldupont
Published on 2010-05-04T01:58:16Z Indexed on 2010/05/04 2:08 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

Let's say I managed to get the dictionary opened for iTunes in the Applescript editor:

alt text

How would I access the "search" commands using Python with pyobjc?

I know I get can hold of the iTunes application using:

iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")

but after I do a dir on it, I don't see the search command in the returned dictionary. Help please!

© Stack Overflow or respective owner

Related posts about python

Related posts about pyobjc