Collective-Software / ClickPaste

Windows 10 notification area app in C# that can paste clipboard contents as keystrokes to whatever location you click.
BSD 3-Clause "New" or "Revised" License
416 stars 31 forks source link

Added hotkey to resolve #1 #11

Closed randomizer3000 closed 11 months ago

randomizer3000 commented 1 year ago

This should resolve #1 by adding a configurable keyboard hotkey to activate the program (same as if you clicked on the icon) Modifiers are set via an enum Alt = 1, Control = 2, Shift = 4, Windows = 8, NoRepeat = 0x4000

Atario commented 1 year ago

Erm. No release for this?

tms1003 commented 1 year ago

How do I set this up? Do I need to wait for an official release?

randomizer3000 commented 11 months ago

Since this PR has not been merged you would need to checkout either this PR or my fork and compile it yourself

f3rrix commented 11 months ago

I have been trying to get to this for so long. And today is the day!

Atario commented 11 months ago

Thank you @f3rrix ! (Now I kinda wish there was a way to trigger the paste itself by pressing a key, instead of having to switch over to the mouse button…)

f3rrix commented 11 months ago

It would be reasonable to make a configuration switch for the hotkey behavior from "turn on select mode" to "just shut up and paste right now, where the caret is", except it would not be useful to me at all. (I'm always trying to paste into VMs. When inside a VM it won't "hear" my hotkey regardless. The mouse interaction is therefore explicitly needed)

Feel free to make an issue for this if you think it's worthwhile, and it shouldn't be hard to add later.

Atario commented 11 months ago

Will do, and thanks again