DonationCoder.com Software > PublicDomainVic
Double-Esc = Close Program/Window
nkormanik:
Another request, Vic!
Others have tried this before on DonationCoder, but never got it quite right.
Wonder if you might want to give it a try.
Memory-resident program that adds ability to Double-Press the Escape key, and the current window, program closes.
Not at all a priority. Just a useful little utility.
Thanks Vic!
And Happy New Year to you and everybody here!
publicdomain:
Just a useful little utility.
-nkormanik (December 29, 2021, 05:12 PM)
--- End quote ---
I can see the potential! GitHub repo @ https://github.com/publicdomain/escapist
We can do a global/low-level keyboard hook. I'm thinking configurable time span for counting as many presses as the user can do :) 2, 3, 4, 5... within -say- a one-second window.
It can also feature other actions such as maximize or minimize to be assigned.
Thanks Vic!-nkormanik (December 29, 2021, 05:12 PM)
--- End quote ---
Rest assured it is my passion and my pleasure to assist the fellows with this active public domain service.
Happy new year ②⓪②② to you & yours as well, BUEN AMIGO :-*
publicdomain:
It can also feature other actions such as maximize or minimize to be assigned.
-publicdomain (December 29, 2021, 07:08 PM)
--- End quote ---
As I code this useful Escapist proggie, the idea of assignable SHIFT+ESC and WIN+ESC combinations come to mind.
(Double-press for escape is a given)
nkormanik:
Double-Esc to close current window is huge. Looking forward to it.
Others here might come up with dangers of doing the above. Hope they will.
One possible issue: Suppose you have your Internet browser open with 20 tabs you are going to read. And you accidentally press Esc twice. Well....
On my keyboard, Ctrl-Esc is a handy combination, yes, so good candidate to do something with. Might, however, have to override a standard Windows action -- opening the menu, bottom-left corner. But I would prefer to override, as I never use the combo for that purpose.
c.gingerich:
I made one by request in 2018 https://www.donationcoder.com/forum/index.php?topic=46749
Navigation
[0] Message Index
[#] Next page
Go to full version