Sendkeys

O

Opera

I can't to run SendKeys function.

When I launch the command (for example: "SendKeys "^{F3}", True", after to
have open the application with Shell command and AppActivate command), the
code run without errors but I don't see events on the application.

Therefore, I have tried to test the guide example (what it would have to
pilot the CALC.EXE) but with equal result.

what it is my error?

Thanks to all.

O.
 
C

Cindy M -WordMVP-

Hi Opera,

You have to realize that SendKeys is not terribly reliable. There's no way
to control when it will execute - it could do so just about anywhere.

Usually, to have any chance of it working as you describe, you have to place
the SendKeys just before the line that executes an application, not after.
I can't to run SendKeys function.

When I launch the command (for example: "SendKeys "^{F3}", True", after to
have open the application with Shell command and AppActivate command), the
code run without errors but I don't see events on the application.

Therefore, I have tried to test the guide example (what it would have to
pilot the CALC.EXE) but with equal result.

what it is my error?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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