**** Informations about the SendKeys-Command in VisualBasic6 and its use in start.exe **** Keys You may want to send can be used in two parts. Every part can be sent in a fast and in a more slow way, depending how the controlled application is accepting those keystrokes. It may be useful to send a combination like |ctrl+n] in the fast way. Otherwise it would be broken by sending it in the slow way, which may be ok for sending the rest. SendKeys#: contains a string describing the keys to send. See the details below. SendKeysWait#: setting any value means waiting until the keystroke has been accepted by the operation system. SendKeysSlowMotionFactor: slows the time between single strokes dynamically (500 is fine for testing picky applications). Use values within 0 and 32000. Common information: A single key is represented by one char. A means the key A, abc stands for hitting the keys a, b and c. Special characters: + ^ % ~ ( ) [ ] { } and the ones listed below have to be treated in a special way and must be included within {}. Special keys (left side in german): Keys Code ----------------------------------------------- RÜCKTASTE {BACKSPACE}, {BS} oder {BKSP} PAUSE {BREAK} FESTSTELLTASTE {CAPSLOCK} ENTF {DELETE} oder {DEL} NACH-UNTEN {DOWN} ENDE {END} EINGABETASTE {ENTER}oder ~ ESC {ESC} HILFE {HELP} POS 1 {HOME} EINFG {INSERT} oder {INS} NACH-LINKS {LEFT} NUM-FESTSTELL {NUMLOCK} BILD-AB {PGDN} BILD-AUF {PGUP} DRUCK {PRTSC} NACH-RECHTS {RIGHT} ROLLEN-FESTSTELL {SCROLLLOCK} TAB {TAB} NACH-OBEN {UP} F1 {F1} F2 {F2} F3 {F3} F4 {F4} F5 {F5} F6 {F6} F7 {F7} F8 {F8} F9 {F9} F10 {F10} F11 {F11} F12 {F12} F13 {F13} F14 {F14} F15 {F15} F16 {F16} Combination of keys (shift, control or alt) can be done with special chars and the following key: Keys Code -------------- SHIFT + CTRL ^ ALT % Examples: +(EC) means sending E and C while SHIFT is pressed. +EC means sending E together with SHIFT and afterwards C. {LEFT 42} sends the LEFT-key 42 times. {h 10} sends the h-key 10 times. Additional: The application receiving the key strokes must be executable within a Microsoft-Windows environment. PrintScreen can not be sent to another application.