First off, I’m a noob.
That being said, my mission is to create a tiny eveny that flips the Mirroring of my Powerbook display on and off, so that I can easily switch to and fro “movie mode” without having to go into the Display menu or the Preferences.
First attempt:
I downloaded Mark J. Lilback’s Toggle Video Mirroring scripting addition, put it in my ~/Library/ScriptingAdditions folder and tried to run the command in an applescript saying simply Toggle Video Mirroring 1 (as stated in Mark’s readme). No luck; the scripting editor complained about Syntax Error, saying “An identifier cannot go after this identifier”. I messed around with it, but finally gave up.
Now, Mark’s osax is 7 years old, so I imagine it’s simply outdated. Problem is, it’s the only thing I’ve found on the web that claims to be able to toggle between mirrored and non-mirrored mode, so I’m pretty much stuck. Can anyone shed some light on where to go next?