Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

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

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToPointingButton__ KeyCode::F1, PointingButton::LEFT</autogen>
  </item>
</root>
share|improve this answer

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

share|improve this answer
    
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 Dec 11 '13 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 Dec 11 '13 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 Dec 11 '13 at 11:44

Keyboard Maestro can do this with the following macro:

enter image description here

share|improve this answer

Your Answer

 
discard

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.