ClipboardData

J. Landman Gay jacque at hyperactivesw.com
Wed May 15 11:03:36 EDT 2013


Did you include the version of Word in your bug report? They'll need that. 

Magicgate Software - Skip Kimpel <skip at magicgate.com> wrote:

>Okay... ran that and no sign of ASCII 32 there... just the next
>character.
>
>SKIP
>
>
>On Wed, May 15, 2013 at 8:58 AM, <dunbarx at aol.com> wrote:
>
>> Hi.
>>
>>
>> Run this, maybe in a button and with your text already in the
>> clipBoardData:
>>
>>
>>
>> on mouseUp
>>   repeat with y = 1 to 20 --there surely must be a few "spaces" in
>that
>> many chars
>>     put char y of the clipBoardData & ":" && charToNum(char y of the
>> clipBoardData) into line y of fld "resultField"
>>
>>   end repeat
>> end mouseUp
>>
>>
>> Of course you also need a field named "resultField"
>>
>>
>> See the chars and their ASCII values in list form. Look for values of
>32
>> where a space ought to be. If there is never any such value, then
>something
>> very strange is going on, since the space has to be there somewhere,
>or it
>> would not show in your other venues.
>>
>>
>> Craig Newman
>>
>>
>> -----Original Message-----
>> From: Magicgate Software - Skip Kimpel <skip at magicgate.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> Sent: Wed, May 15, 2013 8:11 am
>> Subject: Re: ClipboardData
>>
>>
>> Craig, can you think of a good way to do/test that?
>>
>> SKIP
>>
>>
>> On Tue, May 14, 2013 at 10:13 PM, <dunbarx at aol.com> wrote:
>>
>> > Hi.
>> >
>> >
>> > But that means the space char had to have been present in the
>original.
>> > Let's say your spaceless text was:
>> >
>> >
>> > "Onetwothree..."
>> >
>> >
>> > Can you find out what the 4th char in this string is? Is it a "t",
>or
>> > ASCII 32?
>> >
>> >
>> > Craig Newman
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: Magicgate Software - Skip Kimpel <skip at magicgate.com>
>> > To: How to use LiveCode <use-livecode at lists.runrev.com>
>> > Sent: Tue, May 14, 2013 6:09 pm
>> > Subject: Re: ClipboardData
>> >
>> >
>> > Phil, I tried your method and then took a look at _temp_ and the
>result
>> was
>> > the same.
>> >
>> > Craig, If I paste my clipboard into Notepad or any other text based
>> > application, it translates over properly... just not in LC.  I am
>using
>> > 5.5.4
>> >
>> > SKIP
>> >
>> >
>> > On Tue, May 14, 2013 at 4:00 PM, <dunbarx at aol.com> wrote:
>> >
>> > > Yipes.
>> > >
>> > >
>> > > Can you dig in and see if there is any char at all where the
>space
>> ought
>> > > to have been. In other words, is that "space" empty?
>> > >
>> > >
>> > >
>> > > Craig Newman
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Magicgate Software - Skip Kimpel <skip at magicgate.com>
>> > > To: How to use LiveCode <use-livecode at lists.runrev.com>
>> > > Sent: Tue, May 14, 2013 3:05 pm
>> > > Subject: ClipboardData
>> > >
>> > >
>> > > I have used clipboarddata for many project in the past.  Today I
>was
>> > trying
>> > > to process a clipboard selection that came from a Word 2003
>document
>> and
>> > it
>> > > did not preserve any of the spaces.  I have used the format of
>"text",
>> > > "html", "rtf"..... actually tried all the available options.
>> > >
>> > > Suggestions?
>> > >
>> > > SKIP
>> > > _______________________________________________
>> > > use-livecode mailing list
>> > > use-livecode at lists.runrev.com
>> > > Please visit this url to subscribe, unsubscribe and manage your
>> > > subscription
>> > > preferences:
>> > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> > >
>> > >
>> > > _______________________________________________
>> > > use-livecode mailing list
>> > > use-livecode at lists.runrev.com
>> > > Please visit this url to subscribe, unsubscribe and manage your
>> > > subscription preferences:
>> > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> > >
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription
>> > preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> >
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list