Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread Curry Kenworthy
Any idea if WordLib handles OSX Word 2004? So far I've focused primarily on documents created by Word 2007 and up for Windows. Next in line, I'll be testing documents from Word 2008 for Mac! I assume that Word 2004 Mac is similar to 2003 Windows. I would expect it to import fairly well on

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread Bob Sneidar
I don't think the OS X developer group at Microsoft communicate much with the Windows developer group. Bob On Dec 14, 2011, at 1:14 PM, Sieg Lindstrom wrote: > Might work. Any idea if WordLib handles OSX Word 2004? I'm using that > version until I'm forced not to because I have use scores of

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread Sieg Lindstrom
Might work. Any idea if WordLib handles OSX Word 2004? I'm using that version until I'm forced not to because I have use scores of Word macros I'd have to recreate with AppleScript if I were to upgrade. Can't quite fathom why Microsoft decided to make macros in Word for the Mac incompatible with Wi

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread J. Landman Gay
On 12/14/11 12:47 PM, FlexibleLearning wrote: This scriptlet looks like a means of ensuring that accented and unicode characters in plain text format transfer between platforms to me rather than a bridge between text editors. Yes, you're right. When it went through the list, that was apparently

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread Curry Kenworthy
Bottom line: Microsoft does not play well with Livecode's clipboard. Other apps are fine. Why not use WordLib? Sounds like an ideal scenario for it. Current release is ANSI but next release (almost there) has very accurate Unicode! Tested with many languages. Curry K. -- WordLib: Import M

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread FlexibleLearning
This scriptlet looks like a means of ensuring that accented and unicode characters in plain text format transfer between platforms to me rather than a bridge between text editors. Hugh Senior FLCo On Dec 13, 2011, at 9:02 PM, J. Landman Gay wrote: > On 12/13/11 5:09 PM, Sieg Lindstrom wrote: >

Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread Bob Sneidar
On Dec 13, 2011, at 9:02 PM, J. Landman Gay wrote: > On 12/13/11 5:09 PM, Sieg Lindstrom wrote: > >> I'll say up front the details of text encoding are not my strong suit. With >> earlier versions (RunRev 4.x and earlier), I'd sometimes have to write >> special routines to search and replace cert

Re: characters lost pasting from Word To LiveCode field

2011-12-13 Thread J. Landman Gay
On 12/13/11 5:09 PM, Sieg Lindstrom wrote: I'll say up front the details of text encoding are not my strong suit. With earlier versions (RunRev 4.x and earlier), I'd sometimes have to write special routines to search and replace certain characters from the pasted text. For example, the em-dash,

Re: characters lost pasting from Word To LiveCode field

2011-12-13 Thread Bob Sneidar
Yes. It's called "Textedit". You 2 hop it and all works wonderfully. Now that I think about it, I wonder what Applescript could do... Bob On Dec 13, 2011, at 4:41 PM, Bernard Devlin wrote: > Is it possible to export the text from Word as RTF, then import into > Livecode as RTF? > > Bernard >

RE: characters lost pasting from Word To LiveCode field

2011-12-13 Thread Sieg Lindstrom
Thanks Bob & Mark. Bob's fix sounds like the ticket. As to whether I'd blame Microsoft or RunRev, my first inclination is to blame Microsoft. However, this is the third time I've had to retool for different handling of characters like the em dash over several updates of RunRev/LiveCode, always past

Re: characters lost pasting from Word To LiveCode field

2011-12-13 Thread Bernard Devlin
Is it possible to export the text from Word as RTF, then import into Livecode as RTF? Bernard On Tue, Dec 13, 2011 at 11:09 PM, Sieg Lindstrom wrote: > I use a LiveCode app (OSX) to parse text taken from Word files, glean > relevant data, write records to a database and also reformat the origina

Re: characters lost pasting from Word To LiveCode field

2011-12-13 Thread Bob Sneidar
Pasting from Office applications has been discussed in length in prior threads, but the gist of it is, Microsoft maintains their own internal clipboard to facilitate pasting between their dissimilar applications, so that a range of cells copied from a spreadsheet can be pasted into a word docume

RE: characters lost pasting from Word To LiveCode field

2011-12-13 Thread Mark Powell
Hi Sieg I have lot of fields that I have to handle like this and have found that a pasteKey handler in the field serves my purposes. It first does put the clipboardData["text"] into tTemp followed by various filtering and replacement, followed by put tTemp into me Which of course replaces th

characters lost pasting from Word To LiveCode field

2011-12-13 Thread Sieg Lindstrom
I use a LiveCode app (OSX) to parse text taken from Word files, glean relevant data, write records to a database and also reformat the original text in certain ways. I copy and paste text from Word into a field in my app, click a button and it does the rest, until I upgraded to 5.0x. I'll say up f