| View previous topic :: View next topic |
| Author |
Message |
Mountie
Joined: 30 Oct 2007 Posts: 20
|
Posted: Thu Apr 09, 2009 3:19 pm Post subject: Pass Through Keystrokes |
|
|
Is it possible to pass through keystrokes as they are received? I have the following excerpted script
Up::
Down::
Right::
<commands, …>
Send,%a_thishotkey%
What happens here is that the actual literal for the key that was pressed is sent to the window. For Example, pressing <Up> would result in the literal “Up” being sent.
Is it possible to send the keystroke pressed and not the keystrokes literal?
Pressing the <Up> key should move the cursor up. Likewise when the <Down> key is pressed the cursor should be moved down.
Thank you. |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
|
| Back to top |
|
 |
Mountie
Joined: 30 Oct 2007 Posts: 20
|
Posted: Thu Apr 09, 2009 3:51 pm Post subject: |
|
|
Thanks.
The first method works.
The second gives an error message about an illegal expression when loading the script. |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
|
| Back to top |
|
 |
|