MacResource
I would *think* this would be a simple Automator action to write - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: I would *think* this would be a simple Automator action to write (/showthread.php?tid=87103)



I would *think* this would be a simple Automator action to write - Zoidberg - 11-02-2009

I just can't make this work. I'm going through automator and trying to come up with an action/workflo that would:

(a) open the Monitors preference pane
(b) tell my secondary monitor to either:
(b1) rotate 90 degrees or, if it is already in that orientation,
(b2) return to standard orientation
© exit w/o the need for the confirmation dialog box in (b1) above

Yeah, it's not a big deal to go into the prefs and do it but that's what making a workflow is all about, right?

So until they build monitors with the orientation sensors (whose name escapes me at the moment) (accelerometer?) like in the iPhone, I would love something like this.


Re: I would *think* this would be a simple Automator action to write - Marc Anthony - 11-02-2009

Hmmm, I don't think that can work, as Automator doesn't use conditional considerations.


Re: I would *think* this would be a simple Automator action to write - C(-)ris - 11-02-2009

You need to use Applescript to do this. Try using the record feature and see what you can get.


Re: I would *think* this would be a simple Automator action to write - Doc - 11-02-2009

That's tough, even in AppleScript.

You'd have to resort to GUI scripting, which is a huge pain in the as$.


Re: I would *think* this would be a simple Automator action to write - Monster - 11-02-2009

as C(-)ris said, a recorded automator action may be your best bet, of course you would have to have two of them depending on which way you wanted to flip the display output.
I suppose you could set it up to ask you which way you wanted to flip, A or B, but that would put an extra step in.