revolution in background catchig arrow keys

John Craig jc at spl21.net
Thu Feb 1 11:02:35 EST 2007


if you call a handler every so often and check 'the keysDown' you can 
catch key presses.

on openStack
  checkKeys
end openStack

on checkKeys
  -- check for LEFT key
  if 65361 is in the keysDown then
    -- do snapshot
   
  end if
  send "checkKeys" to this stack in 100 millisecs
end checkKeys


Hope this helps

JC

paolo mazza 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
>
> Paolo Mazza
>
> ******************************************
>
> Paolo Mazza
> NEOL SRL
> Società partecipata da Università di Padova
> via N. Tommaseo 84
> 35131 - Padova (Italy)
> Tel 049- 2050147 - Fax 049-7964386
> www.neol.it
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>   




More information about the use-livecode mailing list