dynamic action does not working in palate button script
Hi Friend's My dynamic action does not work in palette button option but it is working in dialog option. i need to know what is the issues going on my script. kindly help to complete this script Button...
View ArticleSend e-mail via JavaScript?
Hi all I've written a script that processes an Illustrator file, then, as a final result, exports PDFs to a specific folder. Everything looking fine up to here. My code created almost 500 PDFs...
View ArticleCan't write to network drive (osx)
I've been running a script for a while now that saves to a network share, but today it's just stopped working. I just get an error "Can't save the illustration. You do not have enough access...
View ArticleRandom brush stroke
I download this script that randomly fill all selected paths with the selected swatches: mySelection = app.activeDocument.selection; myDoc = app.activeDocument; if (mySelection instanceof Array) {...
View Articleadding/loading a script in an action
hi all i'm not familiar with scripts at all and a quick search didnt result much in similar question except one from 8yrs ago which said it cant, but maybe since then there were some changes. is it...
View ArticleJS select all almost equal shapes to selected one. Why it affects only on...
Hi guys! I'm new in JS and wrote a script for selection of all almost equal shapes (by size) to the one I select before running a script. I work with svg files mostly and precision of dimensions varies...
View ArticleKIT NUMBERING IN ORDER
Hi, Really hoping someone out there can help. Currently I number these kits manually with hundreds to contend with and I am desperately seeking an easier way. I have found a script that is like a...
View Articlesave each layers and sublayers to image (png) javascript
Hi guys, i just want to ask if theres a javascript that would save each or all layers and sublayer to image. I found some in the internet but that would only save the outer layers, but what i want was...
View ArticleAlign to bottom selection?
I edited a script from this forum (I think originally written by williamadowling) to align selection to bottom object. I want to modify it to add the "Bottom Object" to the selection by name so the...
View ArticleAnything similar to javascript's setInterval in ExtendScript?
I need a way to poll my server for new jobs for the illustrator script to work on every few hours.I tried with $.sleep(), but that is blocking, I need a non-blocking way to do this.Any advice?...
View ArticleHow can delete a composite font?
I want delete composite font exist in Illustrator I had try this code, but occur error: Public member 'Delete' on type 'TextFont' not found. Dim iFontNum =oIllustrator.TextFonts.Count...
View ArticlePlease help to fix script that works perfectly on Ai 2015 but not perfect on...
Dear all, I have bellow script that i used on Ai 2015.It's just for embed all linked images and no problem at all. #target Illustrator if ( app.documents.length > 0 ) { while (...
View ArticleDrawing a rectangle of exact size of the artboard?
Has anybody written a JS script to to draw a rectangle on an active document which would be exact size as the document's artboard?I find it very inaccurate and cumbersome trying to draw such rectangle...
View ArticleStep and repeat
Is there an easy way to step and repeat with numerical off-sets in Illustrator CS3, Photoshop CS3, or InDesign (in OX 10.5) ?
View ArticleNeed a Script to batch Resize art and Artboard
I have about 3000 Illustrator assets with varying sizes that I need to batch resize to fit proportionally, along with their artboard, to 170 x170 pixels. Once they have been resized, I can pinpoint...
View ArticleHow to add text in .ai file and set position, font, size and colour
I want to place multiple lines of of text (individually) into .ai file and set size, font, colour and position for each.Preferably text should have origin in a single point (rather than be framed) Hope...
View ArticlePlacing files/images
Sorry guys, but I an new in this... help me please! How can I place any image or any file into my active document via JavaScript?Not using actions or menu like: File > Place... Is there a way to do...
View ArticleimportPrintPreset, is it broken?
Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument; var file = new...
View ArticleHelp with cleaning up array of pageItems, please.
Hey folks. I have a question that only loosely pertains to illustrator, as I think I'm just missing something really obvious in basic JS logic.. I've written a script to create artboards for me that...
View Articledynamic action does not working in palate button script
Hi Friend's My dynamic action does not work in palette button option but it is working in dialog option. i need to know what is the issues going on my script. kindly help to complete this script Button...
View Article