manage monitor settings programmatically