cancel
Showing results for 
Search instead for 
Did you mean: 

How to send {ENTER} with sendkeys in VBScript

Former Member
0 Kudos

I'm a developer, but know nothing about SAP. SAP is provided by a third party, is locked down & accessed via Citrix to a Windows Server & then onward to SAP on AIX.

I want to run reports/extract data automatically from SAP, so I tried sendkeys in a VB Script. Text strings appear OK in SAP, but I can't get any special keys e.g. , to be recognised. They are just completely ignored.

How can I overcome this?

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_brutigam2
Active Participant
0 Kudos

Hi Alec,

this Keys are Toggled with SendVKey

for example


{enter} means -> sendVKey 0

There is a Listing in the Scripting Help which shows all V-Keys

hope it helps

greetings

Thomas Br

Former Member
0 Kudos

Thomas,

What is SendVKey?

What Scripting Help?

I was using WSH & VBScript.

Former Member
0 Kudos

I found a solution while Googling:

Use AutoIt and not VBScript. Seems to work now.