Applescript apps to change screen resolution
I'm a new Mac user and I just LOVE my new Mac Mini ! I hook it up to my 40'' LCD TV with an HDMI cable. The resolution is set by default to 1080p, which is perfect when I watch DVD or videos in iTunes or on YouTube for example. But it's a little bit too small when I want to surf the Web, use Mail or Office for example (everything that is not multimedia).
I thought it would be cool to create 2 little apps using AppleScript that I could call with 2 keyboards shortcuts that would change the resolution of the screen (1080p for all the multimedia and 1600x900 for work). I read a little bit and I'm able to call the System preferences, go to Monitors and Monitor. But I can't find how I can tell the script to choose a specific resolution. I know it's something related to GUI scripting.
Can someone help me and give the line I have to enter to choose a specific resolution ?
Thanks to you and be well.
It feel so good to be part of this community now !
Apple rocks ! 🙂
Fred
Mac Mini (mid-2010) - 2Gb RAM
Apple Wireless Keyboard
Apple Magic Trackpad
Apple TV (2nd generation)
iPhone 4
Mac Mini, Mac OS X (10.6.7)