I have not yet found a foolproof way of doing what you want to do. In many situations, the Enter key will do what one or two clicks of the left mouse button does, depending on the context. For some software you can assign macros to keys to get results better than the mouse. See my post
http://www.helponthe.net/tsgbb/Forum14/HTML/000097.html for an example.