relink script issue.
Hello, everyone. I am writing the script for relinking on illustrator file. It is perfectly working on illustrator CC2014. but I got the issue on illustrator CC2017 and illustrator CC2018. Note: I am...
View ArticleSave as .ait (adobe illustrator template)
Hi everybody, I would like to save my file as a .ait format. I have tried browsing the forum but it seems impossible to save a file as a .ait file. I also already have tried to rename the file as...
View ArticleHelp......Change Document Size
How to change (Illustrator)Document Size. As Old Document Size Width:400Height:600 I would like to change Width:450 Height:650 Similar features Menu-->File-->Document setup....
View ArticleConvert string (string of JSON) to JSON object?
**EDIT**I finally figured out how to use #include instead of file.read();. This solves my immediate problem. However I am still curious as to whether it's possible to do what I'm asking for below, just...
View ArticleFinding open paths in Illustrator CC 2017
Does anyone know of a script to find open paths in Illustrator CC 2017? I finally sucked it it up and 'upgraded' to CC and now my old script won't work. Any help or suggestions is greatly appreciated.
View ArticleReplacing text contents via script
Hi everyone, I want to replace the word "PANTONE " with "P." in all text objects in the document.i've managed to take content from one textFrame and replace it just like i want, but it works only in JS...
View ArticleScript - Create a small circle at the corner of the artboard
Can someone help me or guide me to the right direction of how to do this? Basically, this is what I want the script to do 1. Make artboard the size of my selected artwork + 1" offset2. Create a circle...
View ArticleUnable to select same Graphic style on pasted eps
I open an eps.Copy the whole graphic.Open correct template and paste copied graphic.The template has Graphic styles with same fill and stroke (no other attributes exist) as in pasted graphic.However, I...
View ArticleBatch relinking broken filelinks in .ai files
Hi, am wondering if it's possible to relink files in batch , my gut is saying no as all scripts ive found for relinking files references internal functions such as "app.documents". Aim is to...
View ArticleSelecting a Single Anchor Point at the Start of a Script
Sorry to ask but is there a way to automatically select an Anchor Point? It will always be the Lowest point (and because there will be multiple on that Y-axis) I want the Left most point. Thank you!
View ArticleDelete unnecessary points
Please see this post in the main forum. I am looking for a script (if one exists) that will delete unnecessary/redundant points. My OP: Let's say I have a rectangle, and in addition to the corner...
View ArticleIs there any possibility to check all the images are placed in 100%?
Hello Guys, Hope someone can helpme regading my issue. Is there any possibility to check all the images are placed in 100% or not. for example if you see the following screenshot, there you can find...
View Articlescript to align selected objects to artboard
Hello, I was wondering if anyone had a simple solution to aligning selected items to the artboard. I was going to create an action but then realized it would be more convenient for me to include it in...
View ArticleOpenOptions not working
I am trying to open some dxf files through a script I wrote and the first dialog box that pops up is the scale select box. I tried setting the option in my script but is keeps having an error when it...
View ArticleplacedItem file (re)placement failure in Javascript
Greetings, While scripting some automated placedItem replacements, I stumbled upon some issues with the feature failing in specific cases.While most of them ended up working somehow at a later date,...
View ArticleHow Photoshop style duplicate current page make illustrator script.
How photoshop style duplicate current page make illustrator script.In fact, such a feature would be very nice in the illustrator too.
View ArticleHow to test if two PathPoints are the same
I am trying to write a function that takes a PathPoint and returns its index relative to it's parent PathItem. Something like this: function getPathPointIndex(pathPoint) { var pathPoints =...
View ArticleCreating a layer depending on the selection from the list
Hi, I have a pretty silly question. As my knowledge of JS is vary small, I have a problem with dropdown list in my custom dialog.I'm currently writing a script that is a part of an action that exports...
View ArticleWhere's Illustrator Scripting CC 2019 reference?
Anyone knows where to find the CC 2019 scripting reference PDFs? I am specifically looking for the Javascript one, but AI's scripting page is stuck with 2017: Illustrator Scripting | Adobe Developer...
View ArticleBatch export .ai to .png produces files without extension - please help
I created an Action to batch export a folder of .ai files to create 300dpi .png's of the .ai file's artboard. I did this by simply recording "Export...as png" with my desired settings then Batch...
View Article