Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error message "The virtual key is not enabled" when used sendVkey method

Hello SAP friends,

I would like to send CTRL+C to a certain field, so I used ".sendVkey 77", however I got this error message:

"The virtual key is not enabled"

My question is pretty simple: How to enable it?

Thanks for help in advance.

-Stefan

Former Member
replied

Hi Stefan,

the clipboard in SAP can not be realized with sendVkey. The only way I know of is as follows:

For example:

. . .
CLIP = session.findById("wnd[0]/. . .").text
msgbox CLIP
. . .

Regards,

ScriptMan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question