Copying from MS word into RunRev 4.0

Jonathan Lynch jonathandlynch at gmail.com
Fri Sep 2 17:01:28 EDT 2011


Unfortunately, I do not have that control.

this is for coworkers to be able to paste specific chunks of text into a
message repository. They all work in MS Word, then will copy and past into
the application. It would look weird if i told them they have to not use
Word because my application can't see all the characters they type.

what I am doing now works, I just hate the delay upon pasting.

I blame Microsoft, because this is obviously intentional in some fashion. I
think it would be good, though, for RunRev to have a way to access to the
full text despire Microsoft's attempt to hide it.

thanks for all of your thoughts on this, Keith.

If you have any more suggestions, I am open to them.

Peace,

J




On Fri, Sep 2, 2011 at 4:24 PM, Keith Clarke <
keith.clarke at clarkeandclarke.co.uk> wrote:

> ...if you have control overt the Word environment, I think I'd look into
> enforcing straight quotes prior to export. It's an options/preferences
> setting and I seem to remember it being possible to set all quotes to
> straight, via a command - so that HTML export doesn't get corrupted.
>
> Good luck!
> Keith..
>
> On 2 Sep 2011, at 21:15, Jonathan Lynch wrote:
>
> > Hi Keith,
> > I just tried doing this with the useunicode set to true, but the
> apostrophe
> > was still absent.
> >
> > On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke <
> > keith.clarke at clarkeandclarke.co.uk> wrote:
> >
> >> Jonathan, check that you have the useUnicode property set to true in
> your
> >> handler, as it's clear that the code for curly quotes (2019) is way up
> above
> >> the 127-255 range that numtochar will support without unicode enabled.
> >> http://en.wikipedia.org/wiki/Quotation_mark_glyphs
> >>
> >> I've not had to dig into unicode yet, so I don't know too much more, but
> >> it's a recurring theme for community members, so the archives may be
> useful.
> >> Best,
> >> Keith..
> >>
> >> On 2 Sep 2011, at 20:28, J. Landman Gay 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         |     jacque at hyperactivesw.com
> >>> HyperActive Software           |     http://www.hyperactivesw.com
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >
> >
> >
> > --
> > Do all things with love
> > _______________________________________________
> > 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
>



-- 
Do all things with love



More information about the use-livecode mailing list