Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to move the cursor around the screen (XXXxXXX location?) using terminal?

share|improve this question
Do you really only want to move the cursor, or do you want to execute clicks?? – Asmus Apr 6 '11 at 22:47
Both would be nice. – JShoe Apr 7 '11 at 0:13
up vote 2 down vote accepted

You might want to have a look at this:

Depending on what you are trying to do you could try Automator to script the behavior.


I don't believe there is any inbuilt commands that will enable you to do what you want easily.

share|improve this answer
Hey thanks, great link. – JShoe Apr 7 '11 at 0:18
Hey so I put it in the bin folder, but when I call it I get the -bash: /usr/local/bin/click: Bad CPU type in executable error. What's my problem? – JShoe Apr 7 '11 at 1:01
Did you download the prebuilt binary? Link: I've just tested this on a mac running os x 10.6 and it works – yoydigg3r Apr 7 '11 at 1:35
Yeah I did it again to be sure. I get the "-bash: /usr/local/bin/click: Bad CPU type in executable" error. I did the same thing with a different binary file that lets you set the brightness, and that one works fine. I'm running 10.5.8, but does that matter? And yeah I know, shitty computer, I'm on a PowerPc lol. – JShoe Apr 7 '11 at 1:39
PowerPC is your problem. Maybe time to upgrade :) – yoydigg3r Apr 7 '11 at 2:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.