Skip to content

An evolving hub of Adobe InDesign scripting solutions, featuring detailed fixes for common errors like 11268, alongside a wealth of practical scripts for enhancing InDesign workflows. Dive into our journey from problem to solution, and leverage our findings to elevate your scripting projects.

License

Notifications You must be signed in to change notification settings

larvalete/indesign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InDesign Scripting Solutions for Error 11268

This repository contains a collection of scripts developed to address the kIllegalScaleValueError (error code 11268) encountered when scaling objects in Adobe InDesign using scripting.

Overview

Error 11268 in InDesign scripting typically occurs when attempting to scale an object with an illegal or incorrect scale value. This repository documents my journey from the initial attempts that led to this error, through the developmental iterations, to the successful versions that finally resolved the issue.

Repository Structure

  • successful-versions/: This folder contains the scripts that successfully resolved the error. They are robust, include error handling, and are ready for use in production environments.

  • developmental-versions/: Inside, you will find:

    • initial_attempts/: Scripts from the early stages of development. They are part of the process but may not handle all cases successfully.
    • failed_versions/: Scripts that did not result in successful scaling. These are included for educational purposes to demonstrate common pitfalls and debugging steps.

Usage

To use the successful scripts, select a rectangle frame in InDesign, then run the script from the successful-versions folder that best fits your scaling needs.

Future Directions

While the current focus of this repository is on providing solutions for error 11268 in Adobe InDesign scripting, we are open to expanding the repository to include solutions for other common errors encountered by InDesign scripters. Contributions and suggestions are welcome.

Contributing

Your contributions and suggestions are welcome. If you have improvements or encounter an issue, please open a pull request or issue.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to the Adobe scripting community for continuous support and knowledge sharing.
  • Special mention to ChatGPT at OpenAI for assistance in troubleshooting and refining the scripts.

About

An evolving hub of Adobe InDesign scripting solutions, featuring detailed fixes for common errors like 11268, alongside a wealth of practical scripts for enhancing InDesign workflows. Dive into our journey from problem to solution, and leverage our findings to elevate your scripting projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published