Skip to content

Script for Adobe Illustrator: Changes text into rectangle contours

License

Notifications You must be signed in to change notification settings

Supermarcel10/AdobeAiTextContourScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Illustrator Text to Bounding Rectangles Script

This Adobe Illustrator script creates bounding rectangles around each line of a selected text frame. It's useful for quickly writing up some text, and visualising it in a neat layout.

Features

  • Generates a separate rectangle for each line of text.
  • Adjusts rectangle width based on the number of characters in the line.
  • Sets default colour based on the text colour.
  • Skips empty lines (e.g., line breaks between paragraphs).
  • Adjusts the starting position of the rectangle based on leading whitespace.
  • Creates rounded rectangles for a visually appealing representation.

Usage

Note

It is advised to use a monospaced font to ensure accurate bounding rectangle dimensions.

  1. Open an Adobe Illustrator project.
  2. Select the text frame you want to create bounding rectangles for.
  3. Run this script (File > Scripts > Other Script...) and select this script file.
  4. Enjoy!

Example

Before: image After: image

Contribution

Feel free to fork this repo and submit pull requests for any enhancements!

License

Licence

About

Script for Adobe Illustrator: Changes text into rectangle contours

Topics

Resources

License

Stars

Watchers

Forks