Mac iWork/Pages Automation

There is an abundant scripting version for Microsoft Office, yet not so with Apple iWork, and also especially words cpu Pages. While there are some AppleScript hooks, it resembles the most effective strategy is to adjust the underlying XML information.

This becomes rather hideous due to the fact that (as an example) web page breaks are saved in XML. So as an example, you have something like :

... we hold these truths to be self evident, that </page>
<page>all men are created equal, and are ...

So if you intend to add or remove message, you need to relocate the start/end tags around based upon the dimension of the message on the web page. This is rather difficult without calculating the variety of words a web page can hold, which appears extremely inelegant.

Any person have any kind of ideas on this?

2019-12-06 14:10:39
Source Share
Answers: 0