Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Clipboard Automation

From: greggirwin:mindspring at: 13-Dec-2004 4:19

Hi Allen, AK> I need to monitor the Windoze clipboard / keyboard activity such that AK> after a user types ctlr+v, I put the next item (from a block) onto the AK> clipboard. AK> Problem is, Rebol won't be the target for the pasting activity, so how AK> can I detect the key event from rebol? (I will be using rebol/command) You'll need to use a keyboard hook, or some other approach to trap keystrokes globally, or get even trickier and monitor API calls. Not stuff you probably want to do from REBOL (and some things you won't be able to do at all from REBOL). If you just wanted to watch for things going *into* the clipboard, that might not be so bad. -- Gregg