Commands & Syntax > Commands > Clipboard >

COPY - < clpput >() ... [Pro]

www.perfectkeyboard.com

 

Clipboard COPY
<clpput>("Text or file shortcut to copy:")
Available in: Professional edition

Puts text data or file shortcut to clipboard. This command changes clipboard content.

 

#

Parameter name

Parameter description

1

Text or file shortcut to copy:

Text to be put into the clipboard. It is also possible to put a file shortcut to the clipboard this way: FILE:file path. Example: ("FILE:c:\temp\file.txt") command puts shortcut to "c:\temp\file.txt" file to clipboard so that the file then can be copied using Windows Explorer "Paste" menu command.

 

Example (Macro Steps):

 

1

<#> <#> This macro puts data you type to clipboard

2

Macro execution: ONLY COMMANDS

3

Variable SET "vData=", Message text="Type text you want to put to clipboard"

4

Clipboard COPY "vData"

Example (Plain Text):

 

<#> This macro puts data you type to clipboard

<#>

<cmds>

<varset>("vData=","Type text you want to put to clipboard")

<clpput>("vData")