Reply To: Script to Auto-Adjust Page Length based on content

Home Page / Forums / General InDesign Topics (CLOSED) / Script to Auto-Adjust Page Length based on content / Reply To: Script to Auto-Adjust Page Length based on content

#14406983
Mike Rankin
Keymaster

Thanks for posting this, Michel. Unfortunately, I can’t get it to work. Here’s the error:

JavaScript Error!
Error Number: 45 Error String: Object is invalid
Engine: main File: /Users/mike/Library/Preferences/Adobe InDesign/Version 19.0/ en_US/Scripts/Scripts Panel/Layout Scripts / ResizePageOnTextFrame.jsx Line: 6 Source: app.doScript”main)”, ScriptLanguage.javascript, undefined, UndoModes. ENTIRE_SCRIPT, “Resize Page On Text Frame! …”);

This forum makes the code look like it has smart quotes but it doesn’t in the script, so that’s not the problem.

This article was last modified on October 7, 2024

Comments (0)

Loading comments...