"Thomas Adam" <[EMAIL PROTECTED]> writes: > On 24/09/2007, Ryan Daly <[EMAIL PROTECTED]> wrote: > > All: > > > > Is there an easy way to have a command and/or a function to accept a key > > press as an input? > > > > What I'd like to do is define a key binding that would allow me to > > MoveToDesk a window. The desk number would be provided by the key I > > press (meaning 0,1,2,3, etc.). > > > > Is there any way to do this? > > Not easily. You're better off writing out the explicit cases.
Or having the first keypress raise a menu then the second keypress select a hot key in the menu. Menus are plenty fast enough that they can go by almost faster than you can see them. -- Dan Espen E-mail: [EMAIL PROTECTED]
