Ok, I am in the right thread now :)I am glad I took some help from macscripter instead of breaking my head with this http://www.panix.com/~elflord/unix/bash-tute.html
Applescript has simple solution for this problem. set cb to (the clipboard) as text set qtdcb to quoted form of cb set output to do shell script "echo " & qtdcb & "| qs"
