Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Speeding Up SendKey

Keywords:    sendkey sendkeysto 

Question:

How do I make sendkeys to faster?

Answer:

To speed up the SendKey function:

Send the keys through the Clipboard using the Clip commands.

Example:

     Keys="ABCDEF"

     ClipPut(Keys)

     WinActivate("MyApp")

     SendKey("+{INSERT}"); or maybe Sendkey("^v"), it depends on the application.

When the keys are passed through the keyboard the process can sometimes be speeded up.

WinBatch 5.0 is much faster than older versions. It also has specific functions for sending keystrokes to windows and menus thus bypassing a few steps as well as the ability to sendkeys directly to child windows.

SendMenusTo

SendKeysTo

SendKeysChild


Article ID:   W13844
Filename:   Speeding SendKey Up.txt