PDA

View Full Version : Detect keystroke when not on focus



Jan
03-11-2010, 02:10 PM
I'am working on a program in which I can switch to a Powerpoint presentation.
If Powerpoint is fullscreen, I can't detect keystrokes because PP is in focus.
So, is there a clever way to switch back to my program without using the Alt tab key?
I tried "System.IsKeyDown" but it seems only to work when the page is in focus.
Thanks in advance

Jan van Eyk
The Netherlands

RizlaUK
03-11-2010, 03:01 PM
your on the right track, use "System.IsKeyDown" from the page timer, although the page does not have focus the timer is still running in the background

if you have a multipage project then use retesets global timer plugin to have this function available across the whole application :yes