FileMaker

Copy text to Windows clipboard without selecting text or using copy from FileMaker


Step 1. Set a variable with the text you want to make life a little easier, here the variable is $var1.
The characters & | ( ) < > ^ are reserved by the shell, therefore must be escaped with the ^ character.
It is not possile to output multiple lines with the echo command.
$var1 = "userid=20000^^^&applicant_id=1234" 
Step 2. With the send event script step specify the following calculation.
"cmd.exe /c \"echo " & $var1 & " | clip\""