Mac Terminal command to move cursor on screen?

1

1

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

JShoe

Posted 2011-04-06T21:13:44.117

Reputation: 1 142

Do you really only want to move the cursor, or do you want to execute clicks?? – Asmus – 2011-04-06T22:47:21.547

Both would be nice. – JShoe – 2011-04-07T00:13:42.480

Answers

2

You might want to have a look at this: http://hints.macworld.com/article.php?story=2008051406323031

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

/Applications/Utilities/Automator

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

yoydigg3r

Posted 2011-04-06T21:13:44.117

Reputation: 1 174

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 – 2011-04-07T01:01:56.647

Did you download the prebuilt binary? Link: http://www.macosxhints.com/dlfiles/click_binary.zip I've just tested this on a mac running os x 10.6 and it works

– yoydigg3r – 2011-04-07T01:35:20.367

PowerPC is your problem. Maybe time to upgrade :) – yoydigg3r – 2011-04-07T02:32:02.277

@Matthew Eley I'm working on it. So why won't it run on a PowerPC? What can I do to make it run? Where else can I find a script to do this? – JShoe – 2011-04-07T02:40:48.660

You can't make it run unless you have an intel chip in your machine. I wouldn't spend much more time on it. If you're desperate to get it working I would look into automator. Regards – yoydigg3r – 2011-04-07T04:48:12.060