sendkeys class : Send(string) method

Description

Sends keystrokes to the active application.

Syntax

sendkeysInstance.Send(string keys)

Arguments

ClassNameDescription
stringkeysthe keystrokes that will be send.

Return value

None

Sample code

1:

sendkeys sk = new sendkeys();

2:

sk.Send("{ENTER}");

Notes

It's a wrapper of the System.Windows.Forms.SendKeys.Send(String) method.Fixed in Ver 1.0.0.1

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

This method waits until the message is processed.

Links for reference

Copyright © Cooker All rights reserved.