The mistake i made was trying it in idle (F5)instead of as a script, sorry again, but it works and i love it, beware though i am continuing building my "program" Thanks walter -- W.W. van den Broek e-mail: vandenbroek@psyd.azr.nl AZR-Dijkzigt fax: 010-4633217 afdeling psychiatrie tel: 010-4639222 Postbus 2040 e-mail vdbroekw@wxs.nl (thuis) 3000 CA Rotterdam homepage: http://home.planet.nl/~vdbroekw