How to name a text frame to use textFrames.getByName?
I think it's a pretty straightforward question, but I can't find any examples explaining how to name the text frame so I can use the getByName functionality. Right now I am using a for loop to go...
View ArticleUnembed All Images?
Hi everyone, I was just wondering if there could be a "unembed all images" script out there. I have a pdf previously created in Word that I've imported into AI CC 2015 and need to create links out of...
View ArticleRelative Stacking order of Sub Layers and items
I want to get the items in a layer sorted in their stacking order (including any sub-layers). For example: Layer 1 item A Layer 1a Group B item C In the example above, I would get back an...
View ArticleCentralise an off-centre design by using a rectangle larger than the design...
Thanks to the help of kind people on this forum I have a script thatdoes everything I want it to do on about 99% of all designs I haveto deal with. The other 1% would be those which are not in...
View Article[JS] CS6+ executeMenuCommand
Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...
View Articleexecutemenucommand for Document Color Mode
How to executemenucommand for Document Color Mode in illustrator using Javscript
View ArticleArtboardRange Question
I'm having an issue with saving out SVGs, I've stripped it down to the code below.. My end goal is to loop through multiple artboards in a master document and save out SVG files for each. Looking at...
View ArticleCopy artboard to new document
I have a document with multiple artboards, I'm trying to loop over them and copy each to a new document (sized to the original artboard). There is just one piece of text in each artboard. It's working,...
View ArticleSpeed and Stability in batch processing of files.
My company is changing some aspects of our setup files. We have THOUSANDS. I have written a working script to work through all of them. SPEED:When I start the script I'll get as many as 10 per minute,...
View ArticleScript - save as pdf causing pdf to print as grayscale
Could someone help explain why this code is causing this problem? The document that the user is getting should print in color, but no go.here is the code I'm using: // Set your password here...
View ArticleExecute and return a value (or object) from another script
I would like to be able to have some of the little functions that I use often in my scripts just as seporate scripts. so I can update then in one place and not have to copy them into every script I...
View ArticleHow do I select objects based on a list written in a text frame?
I want to select objects whose names are in a list in a text frame but can't figure it out.Let's say I have 200 objects with very specific names that never change, like "Polygon001", "Polygon002", etc....
View ArticleHow can i save pdf changes through Jsx in illustrator?
I stuck on saving PDF document to save changes, i don't know why illustrator is not supporting it for PDF, when i execute app.documents[0].save() , it creates an .ai file on the same path where PDF...
View ArticleBatch replace swatches
Does anyone have a trick to automate replacing spot color swatches over multiple illustrator files?
View ArticleCreate element at center of artboard, move to next artboard and repeat
Hey All! I've been lurking around here for quite some time and i've always been able to find what i needed. Until now. =) I'm writing a Javascript to create multiple rectangles on the center of the...
View ArticleProperty getters and setters cannot work in estk cc
Why a piece of JavaScript code with getters and setters that works normally in other IDEs like Dreamweaver cannot work in ESTK CC?
View ArticleWant to print the Links in my Artboard
Hi All, I would like to print the links which were embedded as links with a particular artboard.Please see the below snapshot. The Image name at the top left which is shown in the bar I want to print...
View ArticleWhere is the source for AIHostAdapter.aip?
It's extremely useful to be able to register for Illustrator's events from either a JSX script or from CEP HTML/JS. There seems to be a native plugin called AIHostAdapter.aip that will conveniently...
View ArticleScripting export from spreadsheet
I would think this is a common thing that could be done but I've looked for a while and can't see anyone anywhere who may have done this. I am creating a template certificate and wondered if there was...
View ArticleSpot Color conflict Placed PDF
Ok, so I found this awesome set of functions for making color swatches that checks to see if it exists first and then just uses the existing one if it does.But I have run into an issue where the swatch...
View Article