Re: "convert to table" in Word 365 under Catalina
Re: "convert to table" in Word 365 under Catalina
- Subject: Re: "convert to table" in Word 365 under Catalina
- From: Jeremy Roussak via AppleScript-Users <email@hidden>
- Date: Fri, 31 Jul 2020 12:11:47 +0200
No ideas? I suppose I could use UI scripting, but it seems rather odd.
Jeremy
> On 28 Jul 2020, at 21:10, Jeremy Roussak via AppleScript-Users
> <email@hidden
> <mailto:email@hidden>> wrote:
>
> 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