AID keys are Attention Identifier keys, a key that causes an attention identifier (AID) to be sent to the host system when pressed, such as a function key or the Clear, Enter, Page Up, Page Down, Help, and Print keys.
The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
AID Key constant (macro editor) |
AID Key constant (script editor) |
Integer Value |
Description |
KeyAttn |
nlKeyAttn |
246 |
Attention key. |
KeyClear |
nlKeyClear |
12 |
Clear key. |
KeyEnter |
nlKeyEnter |
13 |
Enter or Record Advance key. |
KeyHelp |
nlKeyHelp |
47 |
Help key (Help - not in operator-error mode). |
KeyHomeField |
nlKeyHomeField |
207 |
Home key. |
KeyPageDown |
nlKeyPageDown |
34 |
Page down/Roll down key. |
KeyPageUp |
nlKeyPageUp |
33 |
Page up/Roll up key. |
KeyPrint |
nlKeyPrint |
42 |
Print key. |
KeyReset |
nlKeyReset |
195 |
Reset keyboard key. |
KeySysReq |
nlKeySysReq |
193 |
System request key. |
KeyF1 |
nlKeyF1 |
112 |
Command function/attention key 1. |
KeyF2 |
nlKeyF2 |
113 |
Command function/attention key 2. |
KeyF3 |
nlKeyF3 |
114 |
Command function/attention key 3. |
KeyF4 |
nlKeyF4 |
115 |
Command function/attention key 4. |
KeyF5 |
nlKeyF5 |
116 |
Command function/attention key 5. |
KeyF6 |
nlKeyF6 |
117 |
Command function/attention key 6. |
KeyF7 |
nlKeyF7 |
118 |
Command function/attention key 7. |
KeyF8 |
nlKeyF8 |
119 |
Command function/attention key 8. |
KeyF9 |
nlKeyF9 |
120 |
Command function/attention key 9. |
KeyF10 |
nlKeyF10 |
121 |
Command function/attention key 10. |
KeyF11 |
nlKeyF11 |
122 |
Command function/attention key 11. |
KeyF12 |
nlKeyF12 |
123 |
Command function/attention key 12. |
KeyF13 |
nlKeyF13 |
124 |
Command function/attention key 13. |
KeyF14 |
nlKeyF14 |
125 |
Command function/attention key 14. |
KeyF15 |
nlKeyF15 |
126 |
Command function/attention key 15. |
KeyF16 |
nlKeyF16 |
127 |
Command function/attention key 16. |
KeyF17 |
nlKeyF17 |
128 |
Command function/attention key 17. |
KeyF18 |
nlKeyF18 |
129 |
Command function/attention key 18. |
KeyF19 |
nlKeyF19 |
130 |
Command function/attention key 19. |
KeyF20 |
nlKeyF20 |
131 |
Command function/attention key 20. |
KeyF21 |
nlKeyF21 |
132 |
Command function/attention key 21. |
KeyF22 |
nlKeyF22 |
133 |
Command function/attention key 22. |
KeyF23 |
nlKeyF23 |
134 |
Command function/attention key 23. |
KeyF24 |
nlKeyF24 |
135 |
Command function/attention key 24. |
KeyPA1 |
nlKeyPA1 |
253 |
Program attention key 1. |
KeyPA2 |
nlKeyPA2 |
208 |
Program attention key 2. |
KeyPA3 |
nlKeyPA3 |
209 |
Program attention key 3. |
LastAidKey property | Add method - Function Keys
© 2004-2021 looksoftware. All rights reserved.