PROGRAMMING EXAMPLES
1.Special Features
To program key sequence
•[Ctrl][A][0F0][Ctrl][F9]
2.Multi-Shift-Level Function
This function programs a key that contains several levels of definitions such as “Small Coke”, “Medium Coke”, “Large Coke”. When pressing this key, the actual output will be any of the 3 strings. We may call this a
•Small Coke[Separator]Medium Coke[Separator]Large Coke. Two other keys are programmed as the
•[ShiftLevel1]
•[ShfitLevel2]
If the
3.Inter-string Delay
Sometimes, when a key is pressed, the application software takes time to respond before the next key can be pressed. For example, after pressing <F2>, wait 1 second before entering <3> and <Enter>.
•[F2][Delay1][3][Enter]
4.Starting a Windows Program by pressing a Key on the Programmable Keyboard To start a Windows Program, the [Win] key is used activate the Start menu and the Run command is used. Note that the whole key definition has to be done with Scan Code mode. Break codes have to be inserted where necessary to allow Windows to recognize the command string correctly. For example, release Win key, Shift keys and to enter more than one stroke of the same key (e.g. 00). To run a program in path “C:\Program Files\Test\Demo001.exe”, the following key definition is required:
•[Win][0E0][0F0][Win][R][C][Shift][;][0F0][Shift][\][P][R][O][G][R][A][M][Space][F][I][L][E][S][\][
T][E][S][T][\][D][E][M][O][0][0F0][0][0][1][.][E][X][E][Enter]
20
LK1800 User Manual Rev. 1