DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Emulate mouse clicks with keyboard  (Read 5,470 times)

sagdot

  • Participant
  • Joined in 2007
  • *
  • Posts: 1
Emulate mouse clicks with keyboard
« on: February 07, 2008, 10:17 PM »
Right now I'm using the MouseKeys accessibility option within Windows 2000. I'm looking for a program that is more configurable. I would like to use my right hand to move the mouse but the left hand to click by pressing buttons on the main part of the keyboard, not the number 5 on the numeric keypad way over on the right-hand side. Also, unlike MouseKeys, I'd like separate keys for left vs. right-click and not have to toggle the setting for one button. Thanks in advance for any suggestions.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Emulate mouse clicks with keyboard
« Reply #1 on: February 08, 2008, 04:29 AM »
You could use MouseKeys in conjunction with remapping the keys it uses for left/right click to other keys, eg. Cntrl-A, ~, etc.

Try SharpKeys, (http://www.randyrants.com/2006/07/sharpkeys_211.html), or KeyTweak, (http://webpages.charter.net/krumsick/).

Of course, this will completely screw up the default numpad mappings.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903
« Last Edit: February 08, 2008, 04:30 AM by 4wd »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: Emulate mouse clicks with keyboard
« Reply #2 on: February 09, 2008, 05:04 AM »
It looks as if a little bit of AutoHotkey scripting ought to do what you want. 
(Look up 'Click' and 'MouseClick' in the help file.)

[Edit for all-too-typical typos]
Chris
« Last Edit: February 09, 2008, 05:06 AM by cranioscopical »

Original address: https://www.donationcoder.com/forum/index.php?topic=12202.0