Skip to content

Instantly share code, notes, and snippets.

View slevine's full-sized avatar

Steven Levine slevine

View GitHub Profile
@slevine
slevine / README
Created November 12, 2009 02:04
Applescript used to change application preferences and application geometry based upon a screen resolution.
Overview
--------
This file is invoked when switching from a standalone Macbook Pro display to a Apple Cinema display.
Originally, the only problem I was trying to solve was to move my dock from the side of the screen to
the bottom (which it does), but then after diving deeper in to the Applescript API's, it became obvious
to me that there was no limit to what I can configure.
Details
-------
The flow of the script is as follows: