Question regarding the clipboard

Lynch, Jonathan BNZ2 at CDC.GOV
Wed Jan 26 10:29:51 EST 2005


But then, why would it stop around 2 or 3 K - and why would it only do
it occassionally?

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex
Tweedly
Sent: Wednesday, January 26, 2005 10:09 AM
To: How to use Revolution
Subject: Re: Question regarding the clipboard

Lynch, Jonathan wrote:

>Hello...
>
>I have a problem that occurs about one in ten times. I have a long
>string, like around 60 - 70 thousand characters. It is necessary to
>remove all of the linefeeds from this string. After I remove the
>linefeeds, I put the string into the clipboard.
>
>Usually, it works just fine. But occassionally, it only places the
first
>2 or 3 thousand characters on the clipboard.
>
>Each card in my stack contains a bunch of news articles, that are
>combined and given html formatting. For a given card, if it has this
>problem, then it will have it every single time. But the next day, with
>a new set of news articles and a new card, it probably won't have this
>problem.
>
>By sitting here and playing with one of the cards in which this problem
>occurs, I have determined that the string still retains all of its
>characters. 
>
>Thus, the problem lies in setting the clipboardData to the string. Can
>anyone imagine a reason why the clipboardData wouldn't take the whole
>thing (but only occassionally)?
>  
>
There's a limit of 65,536 characters in a line within a field. I wonder 
if the clipboard counts as a field for this purpose ?

-- Alex.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list