win.GetVirtualKeys
vkeys = win.GetVirtualKeys () Parameters: none Returns: vkeys: table Description: Returns a table containing values of virtual key codes keyed by their string names (and vice versa). The prefix VK_ is stripped from the names, so VK_LBUTTON is represented as "LBUTTON", etc. Note: If some key code N (where 0 <= N < 256) does not have a corresponding name, then vkeys[N] is "" (empty string). Example: local vk = win.GetVirtualKeys() far.Message(vk.ESCAPE) --> 27 far.Message(vk[27]) --> ESCAPE