patrik2991 Posted April 20, 2011 Share Posted April 20, 2011 Hello! I have a problem, i would like to add 2 lines to the clipboard with ClipPut, but i don't know how to. {Enter} won't work \r\n won't work so how can i do this? Thank you for you answer! Link to comment Share on other sites More sharing options...
MrMitchell Posted April 20, 2011 Share Posted April 20, 2011 (edited) "String first line" & @CR (or @LF or @CRLF) & "Second line" Short example: ClipPut("Line 1" & @CRLF & "line 2") ConsoleWrite(ClipGet()) Edited April 20, 2011 by MrMitchell Link to comment Share on other sites More sharing options...
UEZ Posted April 20, 2011 Share Posted April 20, 2011 Or: #include <ClipBoard.au3> _ClipBoard_Open(0) _ClipBoard_SetData("This is the 1st line" & @LF & "And this the 2nd line", $CF_TEXT) _ClipBoard_Close() Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
patrik2991 Posted April 20, 2011 Author Share Posted April 20, 2011 "String first line" & @CR (or @LF or @CRLF) & "Second line"Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now