sendkeys

M

mark poole

I am trying to write a simple script in VB for apps that
sets up the printer before each job. Therefore I simply
coded a sequence of Sendkey statements that selects all
the correct settings.

When i come to exit the menu I send the ESCAPE character
via:

SendKeys ("ESC") or SendKeys ("ESCAPE")

Yet this produces unexpected results (opening a drop down
menu rather than exiting the menu)

Is this the correct character to send (as the
documentation suggests)? or is there another character to
send (eg for ENTER you send "~")

cheers in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top