https://github.com/supermarcel10/adobeaitextcontourscript
Script for Adobe Illustrator: Changes text into rectangle contours
https://github.com/supermarcel10/adobeaitextcontourscript
adobe-illustrator-script helper-tool tool
Last synced: 3 months ago
JSON representation
Script for Adobe Illustrator: Changes text into rectangle contours
- Host: GitHub
- URL: https://github.com/supermarcel10/adobeaitextcontourscript
- Owner: Supermarcel10
- License: mit
- Created: 2023-10-29T20:50:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T14:23:14.000Z (over 1 year ago)
- Last Synced: 2025-01-14T02:11:51.796Z (4 months ago)
- Topics: adobe-illustrator-script, helper-tool, tool
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:

After:
## Contribution
Feel free to fork this repo and submit pull requests for any enhancements!
## License
[Licence](https://github.com/Supermarcel10/AdobeAiTextContourScript/blob/main/LICENSE)