From: Nicolas Delsaux Date: 2005-03-23T01:49:18+09:00 Subject: Windows hotkeys in Ruby Hi, as a tutorial to Ruby learning, I'm trying to create a clone of a Windows program, RndSig, which allows, from the stroke of a "global hotkey" (I don't know if this expression is fully exact), to take the content of current text editor in order to choose from it the most accurate signature. The signature selection has already been done. But, now, I want to be able to execute the active part of the script (launching can occur at session start) from a hotkey, and allow it to copy the content of the current text area. Is it possible using Ruby ? I think it will imply some use of the WIN32API "module" (is it the right word ?), but how ... From the initial program, the content of the text area was copied to the clipboard, and then used in the program (don't know if it can be of any help). And, were you willing to test it, it is available at http://www.lacave.net/~fred/divers/rndsig.html Thanks -- Nicolas Delsaux "Si tu peux voir d�truire l'ouvrage de ta vie et, sans dire un seul mot, te remettre � le reb�tir, tu seras un homme, mon fils." Rudyard Kipling