>But how are ou gonna save it as a GIF, thats what seems to me as trickiest.
There are several freeware programs that serve as screen capture programs. Most of them can also do graphics conversions.
Perhaps you can find one that accepts command-line parameters.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)