Lingo Dictionary > Lingo by Feature > Keys

 

Keys

These terms are useful for Lingo related to using the keyboard.

 
Identifying keys

Use these terms to identify keys:

charToNum()

keyPressed()

commandDown

mouseChar

controlDown

numToChar()

key()

optionDown

keyCode()

shiftDown


 
Keyboard interaction

Use keyPressed(), lastEvent(), and lastKey to detect what the user types at the keyboard.

 
Keyboard events

Use these terms to set up handlers that respond to pressing keys:

flushInputEvents

on keyUp

on keyDown

keyUpScript

keyDownScript