Difference between revisions of "On keydown"

From Scriptwiki
Jump to: navigation, search
m
 
m (Capitalization)
 
Line 10: Line 10:
  
 
==See Also==
 
==See Also==
* [[On Keyup]]
+
* [[On keyup]]
 
* [[Window]]
 
* [[Window]]
  

Latest revision as of 01:36, 31 May 2009

Triggers when a user presses a key in a custom window

on <level>:KEYDOWN:@:<key,...,keyN>:<commands>
  • Key, KeyN is a comma delimated list of the ascii values of the keys which this keypress event should trigger on.

Examples

On *:KEYDOWN:#:32:echo -atg $me pressed the space bar down.

See Also