T.R | Title | User | Personal Name | Date | Lines |
---|
2786.1 | try this... | GSRC::WEST | Help stamp out and abolish redundancy ! | Fri May 18 1990 10:49 | 14 |
| RE: <<< Note 2786.0 by DGOSW0::FLEXAS >>>
-< Automatic run with F17 key >-
Take a look at XKeysymToKeycode and XGrabKey. Use the XKeysymToKeycode to
get the code for the F17 key (C_F17). Then use XGrabKey to place a passive
grab on that key.
This can be done from the app that is doing the print_screen. When the user
presses the F17 key, you will receive a KeyPress event. This is how you know
if the F17 key was pressed and then you could do whatever you wanted to
after that.
-=> Jim <=-
|
2786.2 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Fri May 18 1990 12:31 | 6 |
| Right...the problem is that the Print Screen application has no interface to
itself other than via the session manager pulldown menu, so now that you have
gotten into an application with F17, you can't do what you want without re-
writing Print Screen.
Burns
|
2786.3 | ... | GSRC::WEST | Help stamp out and abolish redundancy ! | Sun May 20 1990 16:38 | 11 |
| RE: <<< Note 2786.2 by DECWIN::FISHER "Prune Juice: A Warrior's Drink!" >>>
>>gotten into an application with F17, you can't do what you want without re-
>>writing Print Screen.
He's got my print_screen program so it's already been re-written :^). Do you
know if there any plans on making the Session Manager's print screen callable ?
Probably not....
-=> Jim <=-
|
2786.4 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Mon May 21 1990 13:54 | 3 |
| I don't know.
Burns
|