Re: [Tutor] registering itunes with events

2006-11-17 Thread Orri Ganel
Alan Gauld wrote: >"Orri Ganel" <[EMAIL PROTECTED]> wrote > > > >>been fruitless. My best guess is something along the lines of: >> >>iTunes = >>win32com.client.gencache.EnsureDispatch("iTunes.Application") >>iTunesEvents = win32com.client.WithEvents(iTunes, >>iTunesEventHandler) >> >>where i

Re: [Tutor] registering itunes with events

2006-11-17 Thread Alan Gauld
"Orri Ganel" <[EMAIL PROTECTED]> wrote > been fruitless. My best guess is something along the lines of: > > iTunes = > win32com.client.gencache.EnsureDispatch("iTunes.Application") > iTunesEvents = win32com.client.WithEvents(iTunes, > iTunesEventHandler) > > where iTunesEventHandler is a class

[Tutor] registering itunes with events

2006-11-17 Thread Orri Ganel
Hello all, As I mentioned in my recent emails, I've been working on a program that will display the currently playing iTunes track (for example, when iTunes is minimized to the system tray so that you don't have to enlarge it again just to see the name of the song). Unfortunately, of the hundreds