[Pythonmac-SIG] appscript: selecting many songs in iTunes
niko at alum.mit.edu
Tue Jan 17 14:15:58 CET 2006
>> and it looks like I'm missing a get() in there in any case.
> Depends what you're trying to get. iTunes scripting interface is
> pretty extensive, but a lot of the implementation is rather crude
> and many commands won't work on more than one object at a time. So
> the above might work as-is, but it probably won't, in which case
> you need to get a list of track references and tell iTunes to
> delete each individually:
Okay, so this error is probably iTunes' fault?
> appscript.specifier.CommandError: Application Error -10014: Handler
> only handles single objects.
> Failed command: app(u'/Applications/iTunes.app').sources
> ([7253, 7255, 7257, 7259, 7261, 7263, 7265, 7267, 7269, 7271, 7273,
> 7275, 7277])).get()
More information about the Pythonmac-SIG