Stack to copy tabbed text and paste as a table in Word

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 119
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Stack to copy tabbed text and paste as a table in Word

Post by PBH » Fri Feb 09, 2018 2:35 am

Posted in answer to a request on the LC user list…

The attached stack is to demonstrate copying some tabbed text from a field in LiveCode and then pasting it into a word type document where it should result in a table being pasted.

The script of the Copy button relies heavily on the custom properties of the button, these could be edited to give different results in the pasted table, e.g. Font, text size, borders etc.

Paul
Attachments
CopyTableTest.livecode.zip
(1.94 KiB) Downloaded 102 times

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 119
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: Stack to copy tabbed text and paste as a table in Word

Post by PBH » Fri Feb 09, 2018 5:09 am

And another option that may be more compatible with MS apps.

I should also point out that this is only compatible with LC8.x.x or later.

Paul
Attachments
CopyTableTest.livecode.zip
(2.94 KiB) Downloaded 119 times

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”