QX2018 – JavaScript (e.g. GREP)

Discuss functionality of QuarkXPress 2018 (excluding Digital Publishing).
For Digital Publishing functionality please refer to forums in the "Digital Publishing" group.

Want to discuss with hundreds of fellow QuarkXPress fans and interact with the QuarkXPress team? Then join our Facebook Group please, where every day dozens of questions are being asked and answered: https://www.facebook.com/groups/quarkxpress/

QX2018 – JavaScript (e.g. GREP)

Postby Matthias Guenther (Quark) » 28 Feb 2018, 20:27

PROFESSIONAL PRINT PUBLISHING

Built-in modern JavaScript based on V8
Scriptability and extensibility have always been core values of QuarkXPress.

With QuarkXPress 2018 you can now 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, further 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+).

See how JavaScript works in QuarkXPress:
https://youtu.be/y7nj6qyTGLw?t=1239
Feel there should be more chatting, more tips, more user interaction?
Join us on Facebook, a forum-like group with over 2,000 QuarkXPress fans interacting:
http://www.facebook.com/groups/quarkxpress



Image
User avatar
Matthias Guenther (Quark)
Quarkian
Quarkian
 
Posts: 5476
Joined: 04 Jun 2004, 15:06
Location: http://bit.ly/QuarkHamburg

Re: QX2018 – JavaScript (e.g. GREP)

Postby kazu » 28 Mar 2018, 12:16

Will there be something like the Grep find and change like in ID? I love IDs Multiple Space to Single Space ...
kazu
 
Posts: 28
Joined: 30 Jun 2017, 08:20

Re: QX2018 – JavaScript (e.g. GREP)

Postby Matthias Guenther (Quark) » 28 Mar 2018, 14:32

Yes, regular expressions are possible using JavaScript in QuarkXPress 2018.

Thanks
Matthias
Feel there should be more chatting, more tips, more user interaction?
Join us on Facebook, a forum-like group with over 2,000 QuarkXPress fans interacting:
http://www.facebook.com/groups/quarkxpress



Image
User avatar
Matthias Guenther (Quark)
Quarkian
Quarkian
 
Posts: 5476
Joined: 04 Jun 2004, 15:06
Location: http://bit.ly/QuarkHamburg

Re: QX2018 – JavaScript (e.g. GREP)

Postby saratogacoach » 02 Apr 2018, 10:10

Viewed the video. Scripting using latest JavaScript looks like a great new feature.

Would it be possible using JavaScript in QXP 2018 for example to add a script action to a button on a master page that would allow the end-user to search all pages of a digital book (HTML5 export) for specific words and phrases, and, if found, be able to navigate to that page (s).
saratogacoach
 
Posts: 32
Joined: 27 Jan 2017, 11:46

Re: QX2018 – JavaScript (e.g. GREP)

Postby Matthias Guenther (Quark) » 03 Apr 2018, 09:52

Hi Saratoga,

i thijnk you are mixing two different things:

- The JavaScript support in QuarkXPress 2018 is during authoring.
- What you are asking is for deployment, so a live HTML5 page, correct?

Thanks
Matthias
Feel there should be more chatting, more tips, more user interaction?
Join us on Facebook, a forum-like group with over 2,000 QuarkXPress fans interacting:
http://www.facebook.com/groups/quarkxpress



Image
User avatar
Matthias Guenther (Quark)
Quarkian
Quarkian
 
Posts: 5476
Joined: 04 Jun 2004, 15:06
Location: http://bit.ly/QuarkHamburg

Re: QX2018 – JavaScript (e.g. GREP)

Postby saratogacoach » 03 Apr 2018, 11:35

Hi Matthias,

Yes a live deployed HTML5 (interactive) page that can, for example, allow the end-user to display a search dialog box into which they enter a search term, click "OK" and the locations (hyperlinked pages) in the entire digital document/eBook where the search term occurs are displayed. If these locations are also hyperlinked, then the end-user could select one or another hyperlink and navigate there. A live, interactive word search function that could be scripted, summoned by a "search" button. Something like that...
saratogacoach
 
Posts: 32
Joined: 27 Jan 2017, 11:46


Return to QuarkXPress 2018: General

Who is online

Users browsing this forum: No registered users and 1 guest

cron