I tried this:

*

on* mouseUp

*put* the clipboarddata["text"] into ttext

*put* chartonum(tTExt) into field "Feedback"
*

end* mouseUp


I ran this after copying a single apostrophe from MS Word, but it came back
empty.

I do not think it is a problem with the rendering the character. I can paste
the character into a textarea in IE, then copy it again and paste it into a
field in Rev without any problem.

I think that copying from Word does something different than copying from
IE.




On Fri, Sep 2, 2011 at 3:28 PM, J. Landman Gay <jac...@hyperactivesw.com>wrote:

> On 9/2/11 2:08 PM, Keith Clarke wrote:
>
>> I'm confused, how do you know the characters are missing until you
>> paste the clipboard contents somewhere within LC to render them and
>> see them?
>>
>
> The clipboardData is already a variable, so examining it to see what was
> actually copied should show accurate info. But you do make a good point,
> because looking at the variable contents has to put it into a field
> somewhere, even if it's only in the variable watcher. It may be the field
> rendering that's wrong instead of the clipboard content.
>
> Jonathan, you could test that with something like this:
>
> get the clipboardData["text"]
> put numToChar(<whatever Word uses>) is in it
>
> If the message box shows true, then the characters are in there but the
> field isn't rendering them. You can then do a replace looking for
> numToChar(<whatever>) and replacing those with regular apostrophes.
>
> There was a bug in the database about copying text from Word. It was fixed
> and closed some time ago, but if the above doesn't work I think you should
> enter another bug report about it.
>
>
> --
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> ______________________________**_________________
>  use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



-- 
Do all things with love
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to