I work a lot with car decals and designs in illustrator. It would help a lot with a script which would calculate the area in square meters for given objects. For now i have to manually calculate and punch the actual numbers on a calculator. Time consuming. Should be easy to extrat this data from the program some how. Does anyone now if it exists a script for this?
Copy link to clipboard
I just saw you in that Git thread Jacob and thought I might find you here.
And you did, Doug (late in spotting htis).
Looks very promising, but for some reason my illustrator is not allowing me to run this .jsx file. have absolutely no idea why. Running up to date version of illustrator. Older scripts seems to be working but this "newer" file is not available to click. Just greyed out. Any idea why?
Seems to run fine here on AI 27.5, Windows 11.
What are the exact steps you're taking to run it?
I am saving the file in a "script folder" on my desktop with the file extenscion as described. In illustrator -
File - Scripts - other Scripts and navigating to the right folder on my desktop. This new script is visible but not available. As noted earlier older scripts are available.
MacOS Monterey apple M1 - AI 27,5
How did you save it exactly? Paste into a text editor? Direct from the Raw page?
Yep. copy paste.
Which text editor? Did you save it as plain text? TextEdit saves Rich text by default which won't work for a script.
Microsoft Word saved as plain text. On save It is a dialogue box with a number of options. I have tried all of them. No success.
I'm not sure I'd trust Word to save actual plain text regardless of what it says.
Either use an actual text editor or go to the URL for the raw text on Git and save the page directly:
Used Safari to save the code. Worked fine. Thanks!
There is a script here that does just that:
Readsing the thread on that git page, another user seems to have adapted it with ScriptUI and selectable units: