Home Cooker Classes Others Rice CookerGX
Classes  >  sendkeys  >  SendWait(string)
sendkeys class : SendWait(string) method

Description

Sends keystrokes to the active application.

Syntax

sendkeysInstance.SendWait(string keys)

Arguments

ClassNameDescription
stringkeysthe keystrokes that will be send.

Return value

None

Sample code

//anySendkeys is an any instance of sendkeys type.

anySendkeys.SendWait("{ENTER}");

Notes

It's a wrapper of the System.Windows.Forms.SendKeys.SendWait(String).

This method waits until the message is processed.

Links for reference

Copyright © Rice All rights reserved.