Skip to content

Releases: pchiorean/Indentz

23.7.18

18 Jul 15:26
Compare
Choose a tag to compare

What's new in 23.7.18

Cleanup

  • DefaultPrefs:
    • The default text wrap mode is now off.
    • Removed color profile settings.
  • DocCleanup:
    • Empty frames from '.guides' are protected from deletion.
    • Added '.segmentation' to 'Show/hide layers' list.
  • Added DumpLinks: Saves document's links to a TSV file compatible with ReplaceLinks.
  • ReplaceLinks: Improved reports (shown when run with Ctrl key pressed).
  • ReplaceSnippets: Find/Change settings are now cleared when script finishes.
  • SwatchesCleanup: Moved deletion of unused swatches as the last step.

Fit

  • TextAutosize: Fixed a bug that in certain circumstances reverted a frame's auto-sizing to height-only.

Export

  • QuickExport:
    • Major UI refactoring: most of the common options have been moved to workflows to make them more independent (in the future it will be possible to create presets).
    • Added an option to create Acrobat layers.
    • Added an option to exclude any layer beginning with '.' or '-' (do-not-print layers). You can also add a custom layer list or use the default one.
    • Added an option to automatically upgrade documents from previous versions of InDesign.
    • hack There is a hack that automatically appends the names of technical layers like 'dielines,' 'varnish,' etc., to the suffix; unfortunately it used to add them even if the layers were not actually exported. Fixed.
    • If you keep the Opt/Alt key pressed while clicking Start, the script will run without saving the settings.
  • Hide/ShowDNPLayers, PrepareForExport: Tweaked the internal list of do-not-print layers.
  • PrepareForExport: No longer creates an 'info' layer if not actually needed.

View

  • TileAll: Documents with square formats will use the generic Window ‣ Arrange ‣ Tile.

Misc

  • EAN: The code will be inserted into all selected objects.

  • LabelPageRatios: Now both outer (visible area, or page size if undefined) and inner ratios (margins) will be marked.

Other

  • Added a dot prefix to do-not-print layers (e.g., '.visible area').
  • Replaced layer 'ID' with 'info' to simplify layer management.
  • Increased stroke width when marking the visible area for large visuals.
  • Improved feedback when the current document doesn't have a valid path.
  • Added MasterSpread as a valid parent, thus scripts also work on the parent/master pages.

For other changes not mentioned here see the full changelog.

23.2.1

01 Feb 13:43
Compare
Choose a tag to compare

What's new in 23.2.1

Cleanup

  • DefaultPrefs: Changed General ‣ Object Editing ‣ When Scaling to Apply to Content.
  • DefaultLayers: You can now order layers to top or bottom using these keywords.
  • DocCleanup: Minor tweaks and fixes.
  • RemoveScriptLabels: Renamed from misc/LabelsCleanup.

Export

  • QuickExport:
    • Preferences will be silently created on first run.
    • Added a fix for queued documents that disappear before the actual export.

Layout

  • Added PageMarginsFromScriptName: Sets the page margins and optionally the HW area (expressed in percentage of the visible/page area), getting the values from the script name. It's designed to be duplicated and renamed to customize the values, using one or two numbers and the keyword HW. Example: MG5HW10.jsx sets the margins to 5% and the HW to 10% (HW can also be used without a number, which sets it to 10%, or omitted, which sets it to 0).

View

  • ZoomToSelection/Spreads: When zooming to page include the slug if preview mode is off.
  • Added ZoomTo300Percent: Zooms the current view to 300%.

Misc

  • QR, QRBatch: Minor tweaks and fixes.

For other changes not mentioned here see the full changelog.

22.11.10

10 Nov 21:43
Compare
Choose a tag to compare

What's new in 22.11.10

Cleanup

  • Added BreakLinkToStyles: Unnaplies paragraph/character/object styles from all or selected objects.
  • Added DumpLayers: Saves a TSV file with the properties of the active document layers (compatible with DefaultLayers).
  • DefaultPrefs: Preferences are now applied in two steps: application/document.
  • DocCleanup: Reinstated conversion of empty text frames to generic frames, but only when they are not auto-sized.
  • Renamed SwatchesSave to DumpSwatches.

Export

  • QuickExport:
    • Custom bleed is now imported when defined in the PDF preset.
    • Document layers will be restored to initial status after export.
    • Increased maximum bleed value to 152.4 mm.
    • Improved the PDF preset tooltip info.
    • Errors are now reported after running additional scripts.
    • When the PDF preset is set to preserve original resolution the DPI option is now disabled.

Misc

  • Added EAN: Embeds an EAN code in the selected frame or adds it to a new page.
  • QR:
    • Switched uppercase and white label options.
    • Set label leading to 100%.

Other

  • Dialogs are centered in the InDesign window.

For other fixes and improvements not mentioned here see the full changelog.

22.9.25

25 Sep 21:06
Compare
Choose a tag to compare

Cleanup

  • DefaultSwatches: You can now cancel by pressing 'Esc'.
  • DocCleanup: No longer converts empty text frames to generic frames.
  • ReplaceLinks:
    • Fixed an error for names containing %.
    • You can now cancel relinking by pressing 'Esc'.
  • SwatchesSave: Changed the TSV encoding to UTF-8 to preseve swatch names using non-ASCII characters.

Export

  • QuickExport: Cosmetic tweaks to 'Export in subfolders' description.

File

  • SpreadsToFiles: Cosmetic tweaks to the prompt text.

View

  • ZoomTo...:
    • Tweaked the zoom factor (fits a square page to 90% of 'Fit Page in Window').
    • Refactored to use similar code.

Other

  • All scripts that use TSVs as input:
    • Added an @includepath statement which sets a reference path to which subsequent relative paths will refer.
    • You can now use relative paths for both @include and @includepath: thus, a path may be an absolute path, one relative to the current data file, or a path relative to a reference path, if defined by a previous @includepath statement.
    • Changed data files extension to .tsv (it still looks for .txt as fallback).
    • Added support for comments at the end of lines (everything after a # is ignored).
  • Activated auto filtering to the status report for scripts that need it.

22.8.22

22 Aug 15:24
Compare
Choose a tag to compare

Cleanup

  • DefaultPrefs: Changed baseline grid color to a lighter grey (230,230,230).
  • DefaultSwatches: Added / to the list of values separators (thus, you can write values as 34 42 23 5, 34|42|23|5, or 34/42/23/5).
  • DocCleanup:
    • Items on dielines layer will not be converted to graphic frames.
    • Also locked the varnish layer.
  • ReplaceSnippets: Fixed a replacement quirk.
  • SwatchesSave: Will no longer open the TSV file after export.
  • Improved info/error reporting.

Export

  • QuickExport:

    • new Added a resolution field; bumped settings version.
    • Input/output folder fields are now editable (in a future version it will also create the output folder if it doesn't exist).
    • The titlebar and the 'Start' button help tip will display the errors that prevent the script from running.
    • Added a preset help tip that shows the selected preset settings.
    • hack Will show/hide layers starting with a dot when using a preview/print suffix (aka DNP layers).
    • hack When exporting with a print suffix, will append +diecut if documents have a dielines layer.
  • PrepareForExport: Dielines are no longer moved to separate page.

File

  • SpreadsToFiles: new Added a custom positioning placeholder character – if the file name contains a #, the index will be placed in that position.

Fit

  • Protected the <visible area> frames and items on dielines layer from reframing (they will reframe in enforced mode).

Other

  • Added a button for saving the reports to file.
  • Relaxed the list of invalid file name characters (< > : " \ / \ | ? *).
  • Enforced straight corners to new rectangles and text frames.
  • Added an #includepath directive with a list of fallback folders.

22.6.11

11 Jun 21:09
Compare
Choose a tag to compare

This is a streamlined, statically-linked version of the repository to eliminate the need for libraries and make the scripts stand-alone.

New features
  • new ReplaceSnippets: Replaces text snippets from a substitution list
  • new LayersToSpreads: Moves layers of the active document to separate spreads
Updates
  • upd DocCleanup: Split step 3 into separate steps
  • upd MarkVisibleArea, PageSizeFromFilename: Updated 'Visible area' swatch
  • upd upd DefaultLayers/Swatches/ReplaceFonts/Links, QRBatch: Trimmed trailing whitespace on import
  • upd ReplaceSnippets: Added a scope limiting column – replacement will only be done if a string appears in the filename (regex)
  • upd upd PrepareForExport, Show/HideDNPLayers: All layers starting with hyphen or dot are now included in the 'do-not-print' list
  • upd ScaleTo: Scaling now takes into account the transformations reference point
Bug fixes
  • fix fix DefaultLayers/Swatches/ReplaceFonts/Links: Enforced UTF-8 encoding on opening the data file
  • fix DefPrefs: Added 'Coated FOGRA39' as CMYK profile fallback
  • fix ReplaceSnippets: Skip locked layers & stories

22.4.11

11 Apr 14:40
Compare
Choose a tag to compare

This is a streamlined, statically-linked version of the repository to eliminate the need for libraries and make the scripts stand-alone.

New features
  • new DocCleanup: Added a prompt to delete empty frames
Updates
  • upd QuickExport: Check cancel request more often (between each export instead of between documents)
  • upd DefaultLayers: Layers get themselves as the first variant
  • upd DefaultSwatches: Swatches get their 'Color Value Name' as the first variant
  • upd DocCleanup: Improved pasteboard setting logic
  • upd DefaultSwatches, ReplaceLinks: Added progress bars
  • upd DocCleanup: Changed visibility and locked state of some technical layers (e.g., 'dielines')
Bug fixes
  • fix TextAutosize: Added a check for overflown text when disabling hyphenation for one-liners
  • fix DefaultLayers/Swatches/ReplaceFonts/Links: Don't skip error reporting when there are no records
  • fix DocCleanup: Fixed an overzealous trimming of overflowed text
  • fix DocCleanup: Skip frames with strokes when converting empty frames to graphic frames
Miscellaneous
  • del Removed DocDefaults stub
  • ref QRBatch: Processed lines are commented with just a '#', no space; works better when aligning columns with 'Rainbow CSV'
  • ref DefaultLayers/Swatches/ReplaceFonts/Links: Tweaked messages for BigSur's vertical alerts
  • doc ReplaceLinks: Clarified/removed a mention about local links

22.3.11

11 Mar 13:55
Compare
Choose a tag to compare

This is a statically-linked version of the repository to eliminate the need for libraries and make the scripts stand-alone.

New features
  • new DocCleanup: Empty non-text frames will be converted to graphic frames to make them visible on complex layouts
  • new ReplaceLinks: 'Document links' list now accepts '*' and '?' wildcards
Updates
  • upd upd DocCleanup, DocDefaults: Added progress bars
  • ref QRBatch: Removed bounds fallback (it's done in the GetBounds lib now)
  • upd DefaultLayers/Swatches/ReplaceFonts/Links: Set verbosity to INFO when Ctrl is pressed
  • upd SwatchesCleanup: Merged 'R=0 G=0 B=0' to the default Black swatch
Bug fixes
  • fix fix QR, QRBatch: Fixed some errors in suffix regexp matching (01/27 bugs)
  • fix Don't resize (PageSizeFromFilename) or don't split (QuickExport) documents with a mixture of sizes (e.g., 210x297 + 297x210)
Miscellaneous
  • doc Added a folder with sample data files

22.2.9

09 Feb 08:26
Compare
Choose a tag to compare

This is a statically-linked version of the repository to eliminate the need for libraries and make the scripts stand-alone.

New features
  • brk QR 4.0, QRBatch 3.0: Added suffix support (see SpreadsToFiles)
  • upd QuickExport 2.19: Cancel export if 'Esc' is kept pressed
  • new QuickExport 2.17: Added a 'Save as…' option for removing cruft and reducing documents size
  • upd QR 3.7, QRBatch 2.9: Added a checkbox for uppercase text
  • upd QuickExport 2.13: When exporting files to subfolders, a '+' in the suffix will truncate the subfolder name
  • upd DefaultLayers/Swatches/ReplaceFonts/Links: You can now use backslash at the end of a line to split long lines
  • new Added GuidesAdd: Adds guides on pages' edges and inner centers or on selected objects' edges (mostly a template script)
  • new Added ReplaceLinks: Replaces document links from a substitution list
  • upd DocCleanup 2.9: Added a step to clear default effects
  • new Added ScaleToSpreadBleed/H/W
  • new Added OffsetPath 1.2 by Olav Martin Kvern to /misc (it uses InDesign's text wrap feature to create offset/inset paths)
Updates
  • upd QuickExport 2.20: Added a second progress bar when exporting separate pages
  • upd QuickExport 2.18: Input files are now sorted in natural order
  • upd QR 3.6.1, QRBatch 2.8.1: The on-page label now has insets on both left and right sides
  • upd DefaultLayers 3.4, DefaultSwatches 4.6, ReplaceFonts 2.3, ReplaceLinks 1.3: Improved the error alert for missing data files; added a check for converted documents
  • upd DefaultPrefs 1.5: Disabled layout adjustment
  • upd QR 3.6, QRBatch 2.8: If it fits, the code will now be aligned outside visible area, instead of margins
  • upd ReplaceLinks 1.2: Update out-of-date links
  • upd LabelPage 1.3, LabelPageRatios 2.2, PrepareForExport 2.3: Aligned page label to crop marks
  • upd QuickExport 2.15: Report overflowed text; don't report missing links from the pasteboard
  • upd DefaultLayers 3.3, DefaultSwatches 4.5, ReplaceFonts 2.2, ReplaceLinks 1.1: Improved data parsing and error reporting
  • upd QuickExport 2.12: Moved crop marks at 1 mm from trimbox; don't include printer's marks if no bleed
  • upd OffsetPath 2.0: Fixed container-objects; added option to join contours; streamlined logic
  • upd Debug 1.0: Updated description, simplified arguments parsing, updated trunc/pad function
  • upd HW 2.7: Also match old <safe area> frames as visible area marks
  • upd ShowProfiles 1.5: Profiles are only available with a document opened, so create a temporary one
Removed features
  • ref QuickExport 2.21: Removed advanced mode 'Save prefs' button
Bug fixes
  • fix QRBatch 2.9.2: Forgot to pass along the uppercase checkbox value (d'oh!)
  • fix TextAutosize 2.5.2: Hopefully fixed hyphenated lines breaking
  • fix QuickExport 2.16.1: Fixed a bug when skipping page information on pages with small widths
  • fix QR 3.7.1, QRBatch 2.9.1: Made the label uppercase by default
  • fix QuickExport 2.16: Don't include page information when pages/spreads widths are less than 335 pt
  • fix LabelPage 1.3.1, LabelPageRatios 2.2.1, PrepareForExport 2.3.1: Added a white outline to labels
  • fix ShowFonts 1.4.6: Fixed name reporting for missing fonts
  • upd QuickExport 2.14: When exporting separate pages don't add a counter if doc has a single page/spread
  • fix DefaultLayers 3.3.1, DefaultSwatches 4.5.1, ReplaceFonts 2.2.1, ReplaceLinks 1.1.1: Changed 'No data file found' alert verbosity level to info
  • fix SpreadsToFiles 1.7.12: Fixed separator validation (regex fuckup)
  • fix QuickExport 2.11.3: Fixed clash with regex tokens when uniquifying filenames
  • fix PrepareForExport 2.2.2: Hidden layers are now ignored
  • fix Clip 2.7, ClipUndo 2.5: Only clip objects directly on spread
  • fix QRBatch 2.7: Converted documents are now skipped and reported
Miscellaneous
  • ref Changed scripts grouping & switched to calendar versioning
  • ref Renamed DeleteGuides to GuidesDelete and CleanupSwatches to SwatchesCleanup
  • ref Linked helper functions by #include preprocessor directive
  • ref Updated helper functions
  • doc SpreadsToFiles 1.7.10: Added an example to the prompt message
  • ref Renamed OffsetPath to OffsetPaths
  • doc Added a changelog