[WT-support] Keys on wts Script

Laurent HAAS - F6FVY f6fvy at free.fr
Fri Sep 18 16:02:54 CEST 2009


Hi Gilles

f6ira a écrit :

> Hi folks how to insert  key ( not wtApp:SendFKey("F1") or 
> wtApp:SendFKey("$F1") ) but keys like: space  return or Tab into macro 
> code ?

Use wtApp:SendKeyCode(KeyCode) where KeyCode is the ASCII code of the 
key. Note that the key will be sent *immediately* (ie not *after* a 
keyer message will be sent for example). If you want to execute 
synchronously within a message, use a #SCRIPT variable (only available 
in 4.2.0-dev for now).

73

Larry - F6FVY


More information about the Support mailing list