да? и это не AppleScript?
Java!
Dear George,
Scriptability and extensibility have always been core values of QuarkXPress. With QuarkXPress 2018 you will be able to write cross platform JavaScripts to automate repetitive tasks by accessing capabilities beyond the user interface.
For example, you - or anyone with basic Java Scripting and HTML programming skills (HTML DOM manipulation) - can create unique features by accessing application and file system level commands, you can modify layout objects using document object model (DOM API). Unlike the competition, QuarkXPress uses an up-to-date version of JavaScript (ECMAScript ES6+).
Your benefit is that you can add your own features or have somebody give you automation features by just creating a script. Want to delete all empty text boxes? A sample script we provide can do that. Format phone numbers using regular expressions (GREP)? That’s another sample script. Alphabetically sort paragraphs in a text box? Again, that’s a free sample provided with QuarkXPress. Convert typed URLs to live hyperlinks? You guessed it, another working sample.
And as QuarkXPress' JavaScript implementation is state-of-the-art, you can even load 3rd party JavaScript libraries that give you more functionality, like reading IPTC information out of images. Use the library and JavaScript in QuarkXPress 2018 to create a caption out of the IPTC information. Yes, again that’s a free sample.
Of course, you can go even further, beyond the provided samples. Make use of modern interfaces (called REST) to connect QuarkXPress to Flickr or to WordPress. For example, you could easily create a script to ask Flickr for 12 images showing flowers and then put them into a grid on your page.
Refined Power
"On an aggressive upgrade cycle, QuarkXPress 2018 responds to user requests for heavy duty features like JavaScript 8, native Android app creation, a new PDF engine and hyphenation quality - a feature much needed but nowhere previously seen. Colour fonts add fun, but, as always, it is the experience of refined power that sets QuarkXPress apart."
Martin Turner, Brandmotor UK (Beta tester)