Page 1 of 1

Not sure where else to ask, about hotkeys and you.

Posted: Thu Nov 12, 2009 4:35 am
by Bacon
Since the programming forum isn't visited by a lot of members here I guess i'll try here.

I made a program that kind of works like windows 7 printscreen thing, except you dont have to open it every single time you take a picture and its all automated, and just sits in the tray invisible.

Heres what the hotkeys will be doing

- First one snaps the entire screen
- Second one snaps the active window youre on
- Third one turns your mouse into a crosshair, and you can drag a box anywhere on the screen, let go, and it snaps what was in the box
- Fourth hotkey saves the image thats in memory (Depending on which of those 3 you did) and returns a message box.
- Final hotkey Quits the program (Theres no GUI)

Im having problems deciding on a hotkey system for this, because so many other programs people use already use hotkeys such as the F keys, or even CTRL + F keys, CTRL + a letter, you get the idea.

Anyone have any suggestions or know of some combinations of CTRL, ALT, and a key that don't really exist in most other software? Im trying not to make it conflict with anything else.

Am I going about the wrong way of doing this? Is it possible to temporarily "disable" any hotkeys for any window that might be focused while the file is saved / snap is taken? Then let you use them again?

Any input would be appreciated.

Re: Not sure where else to ask, about hotkeys and you.

Posted: Thu Nov 12, 2009 2:59 pm
by axbaby
how about

CTRL P S print screen
CTRL P W print window

Re: Not sure where else to ask, about hotkeys and you.

Posted: Thu Nov 12, 2009 7:08 pm
by Bacon
That would work great but unfortunatly pushing ctrl then p brings up the printer in most applicaions, before you'd strike the last key :/

Re: Not sure where else to ask, about hotkeys and you.

Posted: Fri Nov 13, 2009 3:14 pm
by MKJ
ctrl-alt-p ?