Applescript to switch to target mode in iMac 27"

Discussion in 'Mac Programming' started by feszty, Dec 6, 2009.

  1. feszty macrumors member

    May 26, 2009

    I need to switch to target display mode on my 27" iMac right after boot. I've tried to use keyboard input recorder to create a sequence that I was going to play back at startup, but it did not work.

    Any of you know how to switch to target mode from applescript?

  2. chili195 macrumors newbie

    Oct 29, 2009
    I'm looking for a similar solution. The only reason I have my Mac keyboard on my desk is so I can switch back and forth the target display mode. I can't seem to be able to switch modes using any other keyboard - only the Apple one seems to work. Is there an option in the software that I could use instead?

    Thanks. :D
  3. lee1210 macrumors 68040


    Jan 10, 2005
    Dallas, TX
    After some searching I didn't see anything to achieve this from the command line, a script, etc.
  4. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    Too late. Now you'll have to explain.
  5. chili195 macrumors newbie

    Oct 29, 2009
    Ah, well no worries. Thanks anyway. I hope Apple introduce some sort of software switch within OSX to handle this.

Share This Page