I have an application without keyboard shortcuts where I have to do a recursive work, in practice I have to insert fields with keyboard and click the mouse button over the OKbutton so I have to switch between keyboard and mouse very often only to click without moving the mouse. I know that in System Preference->Acessibility I can enable mouse keys but if I have to press altfive times before I can use the mouse and then I can't no more type with the keyboard until I disable the mouse keys I lose more time then the first solution.

Put the mouse in the floor and press the button with the foot's finger is an alternative but other users may not approve it. How can I set a quick short-cut for clicking with mouse pointer from keyboard in mac Mountain Lion?

3 Answers 3


You can use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
    <autogen>__KeyToPointingButton__ KeyCode::F1, PointingButton::LEFT</autogen>

Keyboard Maestro can do this with the following macro:

enter image description here


See this help from Apple's support page. I hope it solves your problem. ;)

  • Thanks but this is the solution I mentioned in the question, I can't write with the keyboard if I enable the mouse keys in this way so it is slower then the first solution...
    – G M
    Commented Dec 11, 2013 at 11:34
  • It's useful if your keyboard has numeric keypad, so that you'll be able to write with keyboard at the same time.
    – NEO
    Commented Dec 11, 2013 at 11:37
  • Ok, you are right maybe if I had a numercipad I can use this,please write this in the answer for the other users...Thanks
    – G M
    Commented Dec 11, 2013 at 11:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .