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: "Stockly, Ed via AppleScript-Users" <email@hidden>
- Date: Fri, 31 Jul 2020 14:56:30 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=latimes.com; dmarc=pass action=none header.from=latimes.com; dkim=pass header.d=latimes.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uuiDZyDEJYqfNTIYr2fESdM5tUiIadej0aSrPN374uk=; b=gO0aGqo5qG1OzU9ve+hHy67vGvU5AGRpIT34vB4S95+6EBPS0c59i0fK58IyqTH4nmG/mgO3vlh0NH/YQ0gTpx5iJgvA/YOy0bnesdThX/Egmw8SqDAZKs0ucSGhNjhDuPPIKBaJgTtFeyULayJobm69lYdQjfSpzVYUofEP3eEzyCle/a9wNlM4NZXou2IZLNXvxSnNadadvWhjkVCeYqg1RyX+H13e/97+1E8CNnxsIu8UnkC3aPNrL5hwhdny6PTVx6387MoV4GcJRbmUXyjBF7IAMd+n8xMBf9sBjwtu2muMsg+35acwkIfHMEl+uQ4cZKDOMFMFgavcq/vYAQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IB6Y5Bi///yha03QQmocZjG5dzSmA8HxbSTxK+YtOBM+T+eq2x81jwsBU04Wk/UeOfG9ZQgCBWnHbyYzQFQ95saE96bQTXTg6qK9aaX5QEBRzl258jUnOJrJWIUvrZxv00o/S5kYpJm92th4bxbIWb4EK7J39G9ZvsVCqZFSJKTXYzrm+aefbZUJ7dHZlcRz19zpw4jYescv59hHW7MhU31bs3Ji3W3JWEiFI7/BlMqz9i3ioSEh6TvZOOmjyteVfDKpTtc3rnjFKG8guupxXUuy+uObFTjlcJUlkRzhC9pgGKt88XrLJf/BqonCZ8SpY/rehh+hfdPesy1LyLJ5dw==
- Thread-topic: "convert to table" in Word 365 under Catalina
Haven’t installed catalina yet so I can’t help.
But if I did, I’d use script debuggers application explorer to see what’s
different about words selection properties.
You may even try commands like these and see what’s the results are:
Properties of the selection
Text object of the selection
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Jeremy Roussak via AppleScript-Users <email@hidden>
Sent: Friday, July 31, 2020 3:11:47 AM
To: email@hidden <email@hidden>
Subject: Re: "convert to table" in Word 365 under Catalina
EXTERNAL SOURCE
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