Table of Contents

Class SendKeys

Namespace
Bonsai.Windows.Input
Assembly
Bonsai.Windows.Input.dll

Represents an operator that sends one or more keystrokes to the active window as if typed at the keyboard.

public class SendKeys : Sink
Inheritance
SendKeys
Inherited Members

Properties

Keys

Gets or sets the string expression specifying which keystrokes to send. For more details on expression format, see the remarks section of the SendKeys class.

public string Keys { get; set; }

Property Value

string

Methods

Process<TSource>(IObservable<TSource>)

Sends one or more keystrokes to the active window, as if typed at the keyboard, when an observable sequence emits a notification.

public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications indicating when to send the keystrokes to the active window.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of sending the specified keystrokes to the active window whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.