Overview | Methods | This Package | All Packages
Sends keystrokes to the active application, and then waits for the messages to be processed.
Syntax
keys )
public static void sendKeysWait( String
Parameters
keys
The string of keystrokes to send.
Remarks
Use the sendKeysWait method to send keystrokes or combinations of keystrokes to the active application and wait for the keystroke messages to be processed. You can use this method to send keystrokes to an application and wait for any processes that are started by the keystrokes to be completed. This can be important if the other application must complete its work before your application can continue.
See Also sendKeys