KeyEvents Simulation of pressing a hard button or tapping a key within your CASLPro program |
|
Download
KeyEvents.zip (33 KB) Remarks 09.02.02: Bug removed in KeyEvent.csl (invoker[invokersub].display caused an error, changed in invoker.display) |
|
Functions
definition external "CASL_KeyEvent"; function AddKeyEvent (string KeyStr); # This is a list of all supported contents of KeyStr # Note: KeyStr is case sensitive. Please use it as # typed below! # # # "vchrKeyboardAlpha" : calls the alpha keyboard # "vchrKeyboardNumeric" : calls the numeric keyboard # "vchrBacklight" : toggles backlight on/off # "vchrFind" : calls the find dialog # "vchrCalc" : opens the calculator # "vchrLaunch" : opens the launcher # "vchrMenu" : calls the menu # "vchrLock" : locks and powers off the device # "vchrHard1" : action of most left hardbutton (default: calender) # "vchrHard2" : action of left hardbutton (default: phonebook) # "vchrHard3" : action of right hardbutton (default: todolist) # "vchrHard4" : action of most right hardbutton (default: memo) # "vchrHardCradle" : action of cradle hardbutton (default: start hotsync) # "vchrHardContrast" : opens contrast dialog (not available for PalmIII) # "vchrHardPower" : powers off (and don't lock) # "vchrGraffitiReference" : calls the graffiti reference
# Added by Jon |