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: Sending certain keystrokes via mouse click.  (Read 4,379 times)

Rosto

  • Participant
  • Joined in 2011
  • *
  • Posts: 1
Sending certain keystrokes via mouse click.
« on: March 24, 2011, 09:54 AM »
Hi dear programmers,

I have a program, mainly used by mouse. But for some action it requires to press CTRL+G.
Is it possibly to write a program with tiny window with a button, when pressed, sending certain keystroke to some program (or active window)?

Thanks.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Sending certain keystrokes via mouse click.
« Reply #1 on: March 24, 2011, 11:59 AM »
2 options:
WinButtons, by your's truly
and possibly Skrommel's Barnacle

/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • Coding Snacks
Re: Sending certain keystrokes via mouse click.
« Reply #2 on: March 24, 2011, 01:15 PM »
Or even better...

http://www.tcbmi.com/strokeit/

If you invest 5 minutes to learn using it, you'll love it. :)

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