Keyboard
Top  Previous  Next


Sends keyboard strokes to the active Windows application

·Format and save exported NTreport data in Excel, Word etc.  
·Create general Windows macros by using the keyboard command in a script called from the NTreport speed buttons.  

Notice: the keyboard command has one weak point: you shouldn't touch the keyboard or the mouse buttons during the command. If you by mistake switch active window, the keyboard strokes will be sent to the wrong program.

Keyboard KeySequence

KeySequence
Any alphabet character, special character or number can be used.  
 
Special key words (must be all uppercase)  
 
Key word
Corresponding key
SHIFT+
Shift key
CTRL+
Ctrl key
ALT+
Alt key
LEFT
Left arrow key
RIGHT
Right arrow key
UP
Up arrow key
DOWN
Down arrow key
HOME
Home key
END
End key
SPACE
Space bar
ENTER
Enter key
F1
F1 key
F2
F2 key
..
..
F12
F12 key
PRINTSCREEN
Print screen key
CAPSOFF
Turn off caps lock
CAPSON
Turn on caps lock
SCROLLOFF
Turn off scroll lock
SCROLLON
Turn on scroll lock
NUMOFF
Turn off num lock
NUMON
Turn on num lock
 

Notice: Individual character case in the KeySequence string is ignored, all alphabet characters are written in the case specified by the current shift key state.  

Examples
Keyboard SHIFT+CTRL+s

Keyboard SHIFT+CTRL+sRIGHThelloSPACEENTER

Full script example - start Notepad, wait for it to start, write "Hello":

[Settings_Begin] 
FileType=NTreport
[Settings_End] 

[Batch_Begin] 
Dos start notepad
Wait 500
Keyboard CAPSOFFSCROLLOFFNUMOFF
Keyboard
 SHIFT+hello
[Batch_End]