Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

digitalpencil

macrumors 6502
Original poster
Jul 2, 2007
343
0
Manchester, UK
Hi,

Firstly, does anyone know of an applescript repository such as dougsscripts that deals with OS/X and not just iTunes?

I'm basically looking to automate the action of changing my primary display to my second screen. i.e. opening display preferences and dragging the menubar from one screen to the other.

If anyone has any ideas how this might be achieved, knows if there's a script already in existence or knows of some good reading material on the subject, i'd be really appreciative.

Thanks
 
Applescript + google = http://applescriptcentral.com/

Chances are rather than scripting system preferences you can use a simple script to edit something like com.apple.display or some similar file. As i don't have an external display I dunno the exact naming.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.