Show / Hide Table of Contents

Property opt.init.key


Overload

Default option values for opt.key of a thread.

public static OKey key { get; }
Property Value
OKey

Remarks

Also can be used when creating keys instances. See the second example.

Examples

opt.init.key.KeySpeed = 10;
...
keys.send("Tab Ctrl+V"); //uses opt.key, which is implicitly copied from opt.init.key

Use a keys instance.

var k = new keys(opt.init.key); //create new keys instance and copy options from opt.init.key to it
k.Options.KeySpeed = 100; //changes option of k
k.Add("Tab Ctrl+V").SendNow(); //uses options of k