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

Locked
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

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

Post 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.
[b]CAPSLOCK IS ON[/b]
axbaby
Posts: 3424
Joined: Wed Dec 22, 1999 8:00 am

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

Post by axbaby »

how about

CTRL P S print screen
CTRL P W print window
[color=#FF0000][WYD][/color]
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

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

Post 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 :/
[b]CAPSLOCK IS ON[/b]
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

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

Post by MKJ »

ctrl-alt-p ?
Locked