Scripting guide

Discuss scripting using AppleScript in QuarkXPress 2015, 2016, 2017 & 2018.
Discuss scripting using JavaScript in QuarkXPress 2018.
Post Reply
Welsbach
Posts: 0
Joined: 18 Sep 2017, 02:13

Scripting guide

Post by Welsbach » 18 Sep 2017, 02:20

The manual for Apple-Events Scripting has a sample script and writes about this:

»Before reading this section, run the “Layout Construction” AppleScript script to familiarize yourself with its actions. The script and the files it requires are in the “Apple Events Scripting” folder within the “Documents” folder inside the QuarkXPress application folder.«

The problem is: There is no QuarXPress application folder. So there is also no »Docuents folder inside and no »Apple Events Scripting« folder. This is no surprise (it’s just QuarkXPress), but does anybody know where I can find the sample script and the files it needs?

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

Re: Scripting guide

Post by Matthias Guenther (Quark) » 18 Sep 2017, 02:35

Hi Welsbach,

QuarkXPress 2017 is a bundle on MacOS. Meaning though it looks like a single application, it is really a folder.

The manual refers to QuarkXPress 2016 and before. With QuarkXPress 2017 you can now install scripts for all users or for a specific user. Please see here: http://www.planetquark.com/2017/03/22/q ... orry-what/

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

Welsbach
Posts: 0
Joined: 18 Sep 2017, 02:13

Re: Scripting guide

Post by Welsbach » 19 Sep 2017, 03:48

Thank you. I fond the directory and the script. But this doesn’t help because it doesn’t work but terminates nearly immediately with an error message (object not defined). That’s it. It’s QuarkXPress...

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

Re: Scripting guide

Post by Matthias Guenther (Quark) » 19 Sep 2017, 04:34

Hi Welsbach,

Where have you installed the script now, inside the bundle or in the Library folder specified?
Can you please specify which script?
Are using the latest update of QuarkXPress 2017?
Have you contacted support yet?

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

Post Reply

Return to “QuarkXPress 20xx: Scripting (AppleScript / JavaScript)”