To automate regression testing of an application we need the ability to send a PF1 key (and other VT terminal keys) to the application. In Record Mode, F1 thru F12 were recorded as expected but the PF1 key was ignored.
(This is using Rumba 7.2.)

Is there a way to make Record Mode recognize those keys?

And if not, is there a way to cause those keys to be sent?

Ways tried: (1) Using Rumba's Tools -> Show Host Keyboard did not pan out; Record Mode saves everything OK, but doesn't close the Show Host Keyboard window. (2) Executing VBScript code directly. (code below)

Surely it must be possible to do this. (Right?)

Until I get QTP training sometime in the next few weeks(ideally, from someone who is an expert on terminal emulation, ideally Rumba terminal emulation) I'm going to have to learn this the hard way. Any pointers to documentation would be gratefully accepted. -Eric

Set WshShell = CreateObject("WScript.Shell")
wait (3)
WshShell.SendKeys "{NUMLOCK}"
wait (2)