cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate F key pres

petergeukens
Explorer
0 Kudos

Hi,

I need to create a script button which simulate a F7 key press.

In personas 2.0 there was a 'F key press' command you could use. In personas 3.0 I can't find a simular option.

How can this be done?


Best regards

Accepted Solutions (0)

Answers (2)

Answers (2)

lopezcb21
Discoverer
0 Kudos

I tested in a mobgui screen and i received an error message: " 'session.findById(...).sendVKey is not a function'." is strenge due to sendkey(0) works with no problem

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can always use the recording feature for such key presses... the command is:

session.findById("wnd[0]").sendVKey(7);