Jump to content

multi line of text into the clipboard


west
 Share

Recommended Posts

any way to put multiple line of text into the clip board

same as

Hello

my name is john doe

blablalblalblalblalalalalalalalal

bye

and after extract this full multine of text and paste it

ive read the help but seem its only can put 1 line of thext at time

Link to comment
Share on other sites

Have you tried adding @CRLF to the end of your ClipPut()?

IE ClipPut("Hi, this is a test" & @CRLF & "This should be a new line")

You can also use @LF and @CR. Search the help for Macros Reference - AutoIt Related.

Edited by Tasmania
Link to comment
Share on other sites

yes this is working fine thanks a lots

but the cons is its need to be hardcoded in the script

if i want to READ it fomr a file and then put it in a variable and then put in clipboard

is there a good way to do it

Look at _FileReadToArray(), FileRead() and/or FileReadLine()

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

  • Developers

yes this is working fine thanks a lots

but the cons is its need to be hardcoded in the script

if i want to READ it fomr a file and then put it in a variable and then put in clipboard

is there a good way to do it

works fine too as long as you use FileRead()

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...