Thanks for the great help... At least I was able to get it working with selectable resolution from the config-file. Thanks Nathan for the very nice example from Caskey Dickson. So it wasn't really difficult to change the code. By the way spook is a great program and I am glad that I found it...It spared me a lot of work ;) All the best... Marc