Feedback on a new extension for Illustrator I've created called PowerScripts.
Hi Guys I posted in Reddit and one of the users over there suggested this forum. I've created a new Extension called PowerScripts for Adobe Illustrator and I would like you guys to download a trial and...
View ArticleLayer color typenames - any way to call these out in a script?
I have marginal experience with coding and no experience with Javascript at all, but I'm trying to write a layer setup script in ExtendScript Toolkit to save time when starting a new document. I know...
View Articleapp.executeMenuCommand() problems
I'm using AI CC 2017 and it has been brought to my attention that my app.executeMenuCommand("doc-color-cmyk"); doesn't work some times when my script is ran. #target illustratorfunction test(){ var...
View ArticleSetting Scale Corners in a script
I'm writing a script to fit an object into a specific sized box. I'm using: artwork[0].resize(scale, scale ,1,1,1,1,scale); in order to change the size. Everything seems to be working fine except if I...
View Articlefind fonts in illustrator files pdf, eps, ai illustrator javascript
Hi Friends any can help me . I need code for find fonts of the files >pdf. eps. .ai using illustrator javascript without indesign.
View ArticleExport selected items as PNG, SVG in different dimensions in AI CS6 and older
1) In latest Illustrator versions we have exportSelectionAsPNG method, it exports PNG with 100% scale, but what value should be passed in "options" parameters if I want export different scale? 2) In...
View ArticleCannot change font of ScriptUI controls
For example, following script: var w = new Window('dialog'); var myStatic = w.add('statictext', undefined, "Hello World!"); //myStatic.graphics.font = "Arial-Bold:24"; //myStatic.graphics.font =...
View ArticleWhat the heck is with the weak JPG Export options??
It's all in the title.. Why are there only 11 weaksauce options for jpg export!? no color model options, no output resolution options, no compression options.... I'm sincerely hoping this is another...
View ArticleCreating a dynamic action to use with app.doScript() method.
Since building dynamic actions is a topic unto itself, we often search for a reference thread to show somebody how to do this - and we often do so while trying to discuss work which is already involved...
View ArticleSelect part of point text objects matching a regex expression
Hello! I'm looking for a way to run through a bunch of point text objects and select part of the string in each text object based on a regex expression. I found this awesome script that can do a regex...
View ArticleHow to add in item to menu of Illustrator to activate script instead of File...
I wrote a script and installed it to Presets, but in real work I find in veeeeery inconvenient to activate script with File > Scripts.I don't need my own panel or toolbar, just menu item for File...
View ArticleExporting X,Y coordinate of the center point of objects (Ai)
Hello all, I have an illustrator document (Illustrator CC) with thousands of objects. I would like to export the X,Y coordinate of the center point of each objects --> either one by one or as one....
View ArticleExporting X,Y coordinate of the center point of objects (Ai)
Hello all, I have an illustrator document (Illustrator CC) with thousands of objects. I would like to export the X,Y coordinate of the center point of each objects --> either one by one or as one....
View ArticleCutting a circle
Hi all, I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...
View ArticleUndefined PDF Presets in Illustrator CS5
I'm encountering a problem when attempting to retrieve a list of PDF preset names in both AppleScript and JavaScript. Here are the steps I'm performing: 1) Launch Illustrator 2) Run the following...
View ArticleHow to export a selection?
Hi! I looked at the scripting documentation about the ExtendScript API and can't find anything. Do you know how to export a selection? The "exportFile" is working fine for a document but there is no...
View ArticleBatch Rename Everything
Hello, I want to batch rename everything.What I want to do is similar to this script:GitHub - shspage/illustrator-scripts: JavaScript scripts for Adobe Illustrator CSx.This script collects every...
View ArticleFinger joints
Hello,i am looking for a script to create a simple box with Finger Joints for laser cutting, any suggestions?Input box, Width, Height, Depth, Finger width, Material thickness , Units(My scripting...
View Articlehow to delete active artboard using illustrator cs6 javascript
Hi this hariprasad, var myDoc = app.open(inputFile);var ab = myDoc.artboards.getActiveArtboardIndex(); myDoc.artboards[ab].remove(); i am using the above code to delete active artboard using...
View ArticleSVG and JS problem
i am making a world map in SVG and i have to make such dialog boxes with some contact info and stuff... the text in the boxes are typography elements and every country has its own dialog box for...
View Article