script for applying paragraph and character styles in illustrator
0down votefavorite I've been trying to manipulate the sample scripts from ADOBE ILLUSTRATOR CC SCRIPTING REFERENCE: JAVASCRIPT without any success (I am brand new to JavaScript). I would like to be...
View ArticleScript: rename layers?
Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...
View ArticleExporting to JPEG in CMYK not working (javascript)
Hi all, I'm having a lot of trouble with an .AI script I'm making to export several versions of a file depending on it's color model. The only thing holding me up is that I can't seem to set the color...
View ArticleIs it possible to get the items on a specific artboard with script?
My document has several artboards and I want to get the items on a specific artboard with script as written in this title. I read the following scripting reference but cannot find any methods to do...
View ArticleHow to set title for window at run-time for extension
Hi, I am using the following JavaScript to modify the title for current extension dialog (Modeless dialog): var csInterface; $(function () { csInterface = new CSInterface();...
View Articlemove textFrame to specific layer
So I am wanting to search through the entire document for all text frames that contain an underscore. If the text frame does include an underscore I am wanting to move that text frame to a specific...
View ArticleTrouble applying paragraph and character styles to text in Illustrator with a...
0down votefavorite I am trying to figure out how to apply paragraph and character styles to text in Illustrator with a script. I have pieced together this and it works sort-of. But I run into the...
View ArticleIllustrator CC 2014 - Error Occurred: 248 (' ')
Has anyone seen this error in Illustrator CC 2014, it happens when opening a file using C# Illustrator Scripting. an Illustrator error occurred: 248 ('') Stack Trace at...
View ArticleFind and Replace Script for multiple files
I am trying to find a script that will either open a selection of .ai files or run through all the open files in illustrator and complete a Find and Replace. Right now I have a script that runs the...
View ArticleScripting a save command
Hello all, I've set up a script that locks all layers but one. This is the standard format we use at the job site. It works fine by itself but adding in the save command seems to override the loop and...
View ArticleI got a new job!
I just wanted to thank all the people on here who have helped me out over the years. I came in here knowing nothing about JavaScript, I was able to learn how to code thanks to the people on here that...
View ArticleWhat's the order of path points in Illustrator CC?
Hi, I've got a book ("Adobe Scripting" by Visual) which I'm studying for a script I'm writing.On page 40 it says the order of points on a rectangular Illustrator path goes counter-clockwise like this:0...
View ArticleHow to convert all layers into Group
Hi all, I have a file with multiple layers containing multiple items. i want each layers inside items convert into group but remain in layer how can i do this with scripts. i have used LayerToGroup.jsx...
View ArticleHow do you ACTUALLY close a scriptUI dialog??
I've got a UI dialog written and I included a button for "more options". This button makes available options that are rarely needed (so i didn't want them available all the time so they could...
View ArticleUsed swatch names on art board
*Disclaimer - I'm new to scripting. First timer, here. Let me explain what I do.I take artwork files and place them on an illustrator template. What we've been doing in the past was manually creating a...
View ArticleWrite to CC ?
With any Adobe program, in this case obviously Illustrator. How do you write something to a creative cloud library or a specific library by the user ?
View ArticleHow to Clean up Stray points in JS?
Although there is a function in Illustrator to select stray points and delete or clean up stray points in paths, I want to find a way to make it in JavaScript.It seems that no specific details...
View ArticleIs it possible to remove all the empty artboards using script?
The Question is I have nearly about 20 artboards where by chance the number of artboards used may differ based on file.So I need to remove all the empty artboards.
View ArticleText Replacement script
Hello all, I am very new to the scripting world but have an issue that I was unsuccessful in resolving myself through googling and searching around. It may be impossible due to illustrator's set up but...
View ArticleIllustrator CC 2015 Selecting object based on fill CMYK values
Hello, I am trying to write a script for Illustrator 2015 that will change objects with a certain CMYK callout in my document to grayscale. The problem is that the objects appear to have been converted...
View Article