qxpjs / Create-Grid-by-Dividing-a-Box

This JavaScript creates a grid of boxes from an existing box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuarkXPress 2018 logo

Create Grid by Dividing a Box

This JavaScript needs to be installed in QuarkXPress 2018. Feel free to modify this script to your own needs.
Please see here on how to install: Installation Instructions

What it does

This script creates a grid of boxes from an existing box.

Prerequisites

Select a box

Notes

This sample ships with QuarkXPress 2018

Screenshots

Before:
Choose layer
After (parameters: 5 columns with 2pt padding, 3 rows with 2pt padding):
Choose layer

Version History

May 2018: Original version as supplied with QuarkXPress 2018

How to install

  1. On the GitHub page, download the ZIP by clicking on the green button "Clone or download"
    Step 1
  2. In the popout menu click on "Download ZIP"
    Step 2
  3. Save to your Desktop
  4. Unzip (so that you get a folder)
  5. Copy the resulting folder to the js folder in your documents folder (see below)
  6. In QuarkXPress open the "JavaScript" palette
    (via "Window" menu)
  7. If you do not see a folder with the name of this JavaScript, click on the little "Home" ("House") symbol.
    Step 7
Step 5: On MacOS copy to Step 5: On Windows copy to
~/Documents/Quark/QuarkXPress 2018/js/ Documents\Quark\QuarkXPress 2018\js\
(so into your "Documents" folder) (so into your "Documents" folder)

Run the JavaScript by first double clicking the folder; and then double clicking the Script itself (in the JavaScript palette of QuarkXPress).

More Information

More information on QuarkXPress and how to use JavaScript in QuarkXPress can be found here:
http://www.quark.com/Support/Documentation/QuarkXPress/

About

This JavaScript creates a grid of boxes from an existing box

License:MIT License


Languages

Language:JavaScript 100.0%