Is there any way to attach to an existing itunes instance then? Or can I extend the 30 second delay period out to give it more time to launch the app? Actually, if you are saying that calling win32com.client.dispatch is going to launch that app as a separate process, then that isn't really what I'm looking for, ideally I would be able to attach to a running itunes process and interface with the COM objects. And I have a sample script written in JScript that does just that, so I am convinced it is possible, just not sure of the how yet.
On Mon, Jan 19, 2009 at 3:45 PM, Tim Roberts <[email protected]> wrote: > Richard Zinn wrote: > > > > I've got an python app that I'm trying to access the iTunes com API > > with, and this app runs as a Windows service. When I run it I get > > these GetGoodDispatchAndUserName errors. I think it ends up being > > related to the service not having security access to the Com > > interface? I've tried setting the --username --password params when I > > start the service like so: > > This error, 80080005, can be caused by a timeout when starting an > external COM server.. iTunes happens to take a long time to start up. > > Are you trying to run this before login? There's an issue here, in that > iTunes needs to display a user interface, which it can't really do until > someone has logged in, > > -- > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > _______________________________________________ > python-win32 mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
