On 2/1/07 6:45 AM, "paolo mazza" <[EMAIL PROTECTED]> wrote:
> Dear revs, > How can I have revolution in background catching arrow keys? > I need this feauture for a small application that import a scrennshot any > time the user press the arrow keys in Acrobat Reader program. > I mean ...this is what I want to do: > I open a Revolution stack. > Then I open a pdf document (with a full screen presentation) using the > program Acrobat Reader . > I wuold like my revolution stack to import a scrennshot any time the user > press the arrow key (and move to another slide). > How can I do this in Macintosh? Any idea? > Thanks > Check the following two messages and test to see which suits your desired behavior on keydown on rawkeydown in the dictionary. Basically, you check which key code was sent and pass it if you want to ignore it, or do an action, then choose to pass it anyway. This will work even if a user is typing into a field, so this would intercept keystrokes at anytime. Adding modifier keys is done this way if the commandkey is down then => if the commandkey is down and the shiftkey is down then => Jim Ault Las Vegas _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
