And I forgot to tell again that the script runs fine if I start it manually. Both by running in a batch file and by executing "kix32 script.scr".

------------------
Freewan Shakib
freewan.shakib@eurona.se