Overview | Methods | This Package | All Packages
OverviewMethodsThis PackageAll Packages
SendKeys.sendKeysWait
Sends keystrokes to the active application, and then waits for the messages to be processed.
Syntax
public static void sendKeysWait( String
keys )
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