flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.92k stars 1.52k forks source link

WIP: Add example of custom global shortcut on Windows #3593

Open dsatyanov opened 1 month ago

dsatyanov commented 1 month ago

Example of custom global shortcut on Windows - hardcoded Alt+Shift+3. It's just prove of the concept

Feature is discussed here: https://github.com/flameshot-org/flameshot/issues/1341 https://github.com/flameshot-org/flameshot/pull/2168 and in other places - please link/comment them if they're needed here

@mmahmoudian It looks like we actually don't need CLI on Windows to have custom global shortcuts on this OS, is it correct? Please tell me if it's worth to finish this solution to have fully customizable shortcuts on Windows, so I'll try to do it.

P.S. I'm not a c++ dev, I've found the solution from ChatGPT, so it's likely really bad code but it seems to prove that it's technically possible to have custom global shortcuts on Windows

mmahmoudian commented 1 month ago

It looks like we actually don't need CLI on Windows to have custom global shortcuts on this OS, is it correct?

I haven't used or touched Windows in years. My suggestion is

Please tell me if it's worth to finish this solution to have fully customizable shortcuts on Windows, so I'll try to do it.

I bet it does. But I mainly do triage in this repo. C++ devs are @veracioux and @panpuchkov . Perhaps @jack9603301 can also give us his opinion