Method ClipPut

AutoIt X

Method Reference


ClipPut

Writes text to the clipboard

ClipPut "value"

Parameters

value The text to write to the clipboard.

Return Value

Success: Returns 1.
Failure: Returns 0.

Remarks

Any existing clipboard contents are overwritten.

Related

ClipGet

Example


Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
oAutoIt.ClipPut "I am copied to the clipboard"