Copy link to clipboard
Copied
This morning I've posted a new script for download. This one makes dimension marks in InDesign.
Check it out here: https://www.marspremedia.com/software/indesign/dimensions-indesign
All feedback is welcome. Also I've posted a how-to video about it.
Copy link to clipboard
Copied
@Kasyan Servetsky The script should still work, just options set won't be saved and restored on next launch. Seems it can't access your User folder.
What's the result if you run this code?
alert(Folder.userData.fsName);
Copy link to clipboard
Copied
@Kasyan Servetsky Another user had the same problem using a different script of mine (Text Cleanup). With their help, we tracked down the problem. Apparently some foreign language installs of InDesign return '/Volumes/null' for the property 'Folder.userData'. I am guessing this is the cause for you as well. I've worked around the glitch by getting the documents folder, then depending on Mac or Windows, replace it to become the equivalent of userData for the platform. I have another update, version 2.0.1 on my website now. Download that and give it a try. Let me know if the settings file then works. Thanks.
Copy link to clipboard
Copied
I've posted an updated version 1.1 that adds some user requests:
1. Choice of arrowhead. Instead of checkbox that adds 'Triangle' arrowheads only, UI now has a drop-down for 'None','Simple', or 'Triangle' arrowhead choice.
2. Added input for 'Decimal mark'. For those who want comma instead of period.
Same link as original post above.
Thank you all for the suggestions. Contact me if anything isn't working right.
Copy link to clipboard
Copied
New version 2.0 this morning. Get it on the web page:
https://www.marspremedia.com/software/indesign/dimensions-indesign
Either "Lines" or "Text" can now be un-checked, and either won't be drawn.
Text frames now auto-size (should have to begin with!)
Can set text swatch independent of line swatch.
Option to lengthen extension lines into element.
Can define prefix for corner radius.
Lots of other little fixes.
PLEASE respond if I've broken anything. I will fix it quickly.
I want to thank everyone for the fabulous input to the project, here and in private messages. Users have helped me make a real gem. Thank you all!
Copy link to clipboard
Copied
I've completed the Illustrator version of the script. I made a new post in the Illustrator section:
https://community.adobe.com/t5/illustrator/new-script-dimensions-illustrator/m-p/12120192#M279896