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

Lostanddamned

macrumors 6502a
Original poster
May 3, 2009
681
379
London, UK
I am trying to put together a simple background script that triggers an action (in this case switching between two geektool groups, so that the time is always displayed in the top right of the monitor) whenever my cinema display is connected - what would be the right way to go about this?

In addition, I want this process to run in the background, so as not to interfere with my regular use of the computer, in other words I want it to be waiting for the connection of a second dispal and then to immediately switch between the two groups, and on disconnection of said display to switch back between groups.

I have little to no experience of applescript and I'm not even sure if this is possible, but if it is I will be very grateful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.