Re: Copying from MS word into RunRev 4.0

2011-09-06 Thread Bob Sneidar
No not really. It works for you because Parallels is doing a clipboard translation itself, so the quote survives. It would be the same thing as first pasting into a Rich Text Editor, recopying, and then pasting into Livecode. That always works. Bob On Sep 3, 2011, at 12:03 AM, Keith Clarke w

Re: Copying from MS word into RunRev 4.0

2011-09-05 Thread JonathanDLynch
Thanks Ken :) Sent from my iPhone On Sep 5, 2011, at 4:44 PM, Ken Ray wrote: > > On Sep 2, 2011, at 11:13 AM, Jonathan Lynch wrote: > >> Even with both apps open, it omits apostrophes when i paste from Word to >> RunRev 4.0 > > Jonathan... the version is the key - you're using 4.0, not 4.6.3

Re: Copying from MS word into RunRev 4.0

2011-09-05 Thread Ken Ray
On Sep 2, 2011, at 11:13 AM, Jonathan Lynch wrote: > Even with both apps open, it omits apostrophes when i paste from Word to > RunRev 4.0 Jonathan... the version is the key - you're using 4.0, not 4.6.3, where this bug has been fixed. I tried duplicating your test, going from Word 2007 on Win

Re: Copying from MS word into RunRev 4.0

2011-09-03 Thread Jeff Reynolds
Jonathan, I think this may be fallout from an old MS/Adobe battle. there have been problems with the how data was formatted on the clipboard by MS and then having issues with pasting into Adobe apps. from all i read on that it was a big finger pointing game with adobe saying MS was not do

Re: Copying from MS word into RunRev 4.0

2011-09-03 Thread Keith Clarke
gt; From: Jonathan Lynch >> To: use-livecode@lists.runrev.com >> Subject: Copying from MS word into RunRev 4.0 >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Hi everyone. >> >> When I type this word into MS Wo

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread James Hurley
> > Message: 10 > Date: Fri, 2 Sep 2011 11:21:17 -0400 > From: Jonathan Lynch > To: use-livecode@lists.runrev.com > Subject: Copying from MS word into RunRev 4.0 > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi everyone. > > W

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
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

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
...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! K

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Bob Sneidar
microsoftsuks On Sep 2, 2011, at 1:15 PM, 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.cla...@clarkeandclarke.co.uk> wrote: > >> Jonathan, check that

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
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.cla...@clarkeandclarke.co.uk> wrote: > Jonathan, check that you have the useUnicode property set to true in your > handler, as it's clear th

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
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 in

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
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

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread J. Landman Gay
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

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I see what you are saying. I just tried the following: * on* mouseUp *put* the clipboarddata["html"] into tHTML *put* the number of chars in tHTML & linefeed & tHTML into field "feedback" * end* mouseUp The output of this script is the following: 7 "" contains 7 characters, which is what t

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
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? If you 'test' by rendering any formatted text into a field, you get the field's behaviour of partial interpretation of some text formatting in your tes

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread stephen barncard
Digital Rights Management. Copy protection. On 2 September 2011 11:48, Jonathan Lynch wrote: > What is DRM? > > On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < > stephenrevoluti...@barncard.com> wrote: > > > That's an interesting method of DRM. Another level of obfuscation. Thanks > > Microso

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Hi Keith, The characters are entitely absent from the clipboarddata["html"] and every other element of the clipboard array. Are there other means of accessing the clipboard besides using the clipboarddata or paste operations? On Fri, Sep 2, 2011 at 2:48 PM, Keith Clarke < keith.cla...@clarkeandc

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
What is DRM? On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > That's an interesting method of DRM. Another level of obfuscation. Thanks > Microsoft. > > On 2 September 2011 09:07, Bob Sneidar wrote: > > > I did this on a Mac and it works fine. I believ

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
It might be worth avoiding pasting into an LC field (LC fields can be awkward when working with formatted text such as HTML/XML as they interpret some tags). It might be worth an experiment to 1) paste the clipboard contents into an LC variable, instead of a field 2) set custom property to the va

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I am thinking that this could be accomplished with a hidden RevBrowser stack that points to an HTML page that has nothing but a single text area. typing ^v ^a ^c into the browser text area would get me the clipboard text in a clean fashion, and be much faster than how I do it now. Will update if

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread stephen barncard
That's an interesting method of DRM. Another level of obfuscation. Thanks Microsoft. On 2 September 2011 09:07, Bob Sneidar wrote: > I did this on a Mac and it works fine. I believe that MS Office clipboard > data is specially formatted, and the app has to be running in order to do an > on the f

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I just tried it, but no success. I copied a bunch of apostrophes from Word, and used a button that puts the clipboarddata["html"] into a field. All the field shows is "" - all of the apostrophes were omitted, even though I can paste them into Notepad. Do you have any other suggestions? I will try

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread J. Landman Gay
On 9/2/11 10:21 AM, Jonathan Lynch wrote: Hi everyone. When I type this word into MS Word: it's Then copy and paste it into a field in RunRev, the apostrophe gets omitted. This is on a windows system. The character in question is not the usual apostrophe, but is the curly apostrophe that MS Wor

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Thanks for testing it, Bob :) On Fri, Sep 2, 2011 at 12:13 PM, Jonathan Lynch wrote: > Even with both apps open, it omits apostrophes when i paste from Word to > RunRev 4.0 > > If I paste it into notepad first, then copy and paste from notepad into > Rev, it works fine without dropping characters

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Even with both apps open, it omits apostrophes when i paste from Word to RunRev 4.0 If I paste it into notepad first, then copy and paste from notepad into Rev, it works fine without dropping characters. On Fri, Sep 2, 2011 at 12:07 PM, Bob Sneidar wrote: > I did this on a Mac and it works f

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Bob Sneidar
I did this on a Mac and it works fine. I believe that MS Office clipboard data is specially formatted, and the app has to be running in order to do an on the fly translation of the data. I have noticed in the past that if I copy something from an office product and then launch another program, t

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
You could probably do the reverse of what I am doing. That is, you could create an HTML file with the proper unicode text, then use VBScript (if you are using Windows) to create an invisible word document and open up the HTML file. Then, do selection.wholestory and selection.copy. Then, close the

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Richard Gaskin
Jonathan Lynch wrote: Does anyone know if the recent versions of Live Code allow for pasting from an MS Word document without omitting characters? I know it worked fine back with RunRev 2.5, so I know it is possible for it to be done. Odd. I've also discovered a complimenting issue, which may

Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Hi everyone. When I type this word into MS Word: it's Then copy and paste it into a field in RunRev, the apostrophe gets omitted. This is on a windows system. The character in question is not the usual apostrophe, but is the curly apostrophe that MS Word uses. This is quite an issue for me. My w