Hi, Tim! You are right, for shimgvw.dll (on XP / 2000, or some Vista). But others Vista (ou users practice) had associate images with WindowsPhotoGallery.exe.
But shimgvw.dll already exist. I found that this line: command = 'start "%s" /wait %s\\System32\\rundll32.exe %s\\System32\\shimgvw.dll ImageView_Fullscreen %s && del /f "%s" ' % (title,os.environ['SYSTEMROOT'],os.environ['SYSTEMROOT'],file,file) launch a "Photo Gallery" who respect the WAIT. For me (and my users), it's a solution. Perhaps others PIL's users can read that with interest. Have a good day. Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list