mIRC Homepage
Posted By: westor $didtok help - 12/03/11 02:44 PM
Hello,

how can i clipboard the editbox text like there is into the editbox

editbox details:

1. TEST TEST1 TEST2
2. TEST TEST1 TEST2
3. TEST TEST1 TEST2

------------------

I have the now the /clipboard $didtok(4,32).text
but does not clipboarding like there is into the editbox

any ideas?

- Thanks!
Posted By: Wims Re: $didtok help - 12/03/11 05:33 PM
Instead of $didtok(dialog,id,32), use $replace($didtok(dialog,id,10),$chr(10),$crlf)

You don't want $didtok to returns lines spaces seperated, so use for example 10 instead of 32 to get them seperated by linefeed.
Then add a carriage return before each linefeed so lines are seperated by $crlf.
Posted By: DJ_Sol Re: $didtok help - 12/03/11 05:34 PM
try /clipboard $didtok(<dialog name>,4,32)
Posted By: westor Re: $didtok help - 12/03/11 07:28 PM
Originally Posted By: Wims
Instead of $didtok(dialog,id,32), use $replace($didtok(dialog,id,10),$chr(10),$crlf)

You don't want $didtok to returns lines spaces seperated, so use for example 10 instead of 32 to get them seperated by linefeed.
Then add a carriage return before each linefeed so lines are seperated by $crlf.


Thanks, for the code
© mIRC Discussion Forums