Show / Hide Table of Contents

Method keys.SendNow


Overload

Sends keys, text and executes other events added with the AddX functions.

public void SendNow(bool canSendAgain = false)
Parameters
canSendAgain  (bool)

Don't clear the internal collection. If true, this function then can be called again (eg in loop) to send/execute the same keys etc. If false (default), clears the added keys etc; then you can call AddX functions and Send again.

Exceptions
ArgumentException

canSendAgain is true and keys_ end with + or (.

AuException

Failed. For example there is no focused window when sending text.

InputDesktopException