"convert to table" in Word 365 under Catalina
"convert to table" in Word 365 under Catalina
- Subject: "convert to table" in Word 365 under Catalina
- From: Jeremy Roussak via AppleScript-Users <email@hidden>
- Date: Tue, 28 Jul 2020 21:10:59 +0200
For many years, I’ve had a script which converts selected text in Word to a
table, using tab delimiters (and then fiddles with the table layout). It has
worked just fine:
set tTable to convert to table selection's text object separator tab
It works for Word 365 under Mojave. Under Catalina, however, it ignores the tab
separators and creates a table with only one column.
According to Word’s dictionary, the correct command should be
set tTable to convert to table selection's text object separator
separate by tabs
but if I use that, with exactly the same selection in Word, I get the message
“Microsoft Word got an error: text object of selection doesn’t
understand the “convert to table” message.”
How do I script converting a tab-delimited set of paragraphs in Word into a
table? Any ideas gratefully received.
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden