Found there is an api call which can do the trick:

STFW for user32.dll and changedisplaysettingsa

Problem is how to script an api call...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...