No Definition for F13.

Topics: User Forum
Sep 25, 2014 at 10:49 AM
For sending Shift+F1 to host I used:
emulator.SendKeyFromText(true, "PF13");
The Method "SendKeyFromText" ist deprecated.
I have to use the "SendKey" Method:
 emulator.SendKey(true, TnKey.F13, 20);
But there is no definition for the "TnKey.F13". How can I send the F13-Key (and all Keys up to F24) to the Host?
Oct 31, 2014 at 2:50 AM
Edited Oct 31, 2014 at 2:51 AM
wrong thead, sorry
Nov 4, 2014 at 8:14 AM
Edited Nov 4, 2014 at 8:34 AM
For host PF13 function you must use shift modifier. Did you try anyway:
emulator.SendKeyFromText(true, "PF13");
This should work. Function is still there. New funtion just converts to string anyway...
Nov 5, 2014 at 5:08 AM
I added F13 to F24 to the TnKey enumeration so it should be available for you now.