ryanries / SnipEx

SnipEx - A slightly better snipping tool.
MIT License
32 stars 8 forks source link

The substitution of native Snipping tool does not work with shortcut Win + Shift + S in Windows 10 #4

Open weidmaster opened 3 days ago

weidmaster commented 3 days ago

I discovered the tool from your Youtube video series. It is awesome! I configured the option to substitute the native snipping tool in Windows 10 but it only works when I try to execute the tool from search/start, and not from the default shortcut that is Windows + Shift + S (it still shows up the select buttons from Windows, but does not open the result in SnipEx).

image

Thanks for providing a great replacement! (love the auto copying to clipboard)

PS: Would love to see a series on how you developed the tool (I bet there are some nice tricks)

ryanries commented 3 days ago

@weidmaster Thank you... I did try once before to replace the Win+Shift+S functionality, but it turns out that it's not that simple. Replacing the traditional Windows snipping tool was easy, because I used the Image File Execution Options Debugger trick, in the same way that Sysinternals Process Explorer is able to replace Task Manager. However, it turns out Win+Shift+S triggers a new version of the snipping tool that is a UWP app. And UWP apps do not honor IFEO settings. So I have to come up with some entirely new way of "hooking" the shortcut. I'm not saying it's impossible, but I just haven't put any more effort into it. I might revisit it now that I see there's some interest in this tool.