Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

Is there an AI script that will export my assets in Powers of Two?

I currently have a modified script that exports my assets per layer, but it's pixel perfect to the asset. Now I need to be able to export in powers of 2 for each asset. Does anyone know of a script out...

View Article


Turn selected AI sublayers into top-level layers?

Hi, all!I wanted to ask if by chance any of the scripting gurus here happen to have written an AI script that will take a number of selected sublayers/sub-sublayers and move them so they become...

View Article


Resize top level groups

Running a for loop on all groups in a document. If group parent is a layer and layer is free then clipping mask and resize. Resize function fails as "Error 21 undefined is not an object" on the THIRD...

View Article

Image may be NSFW.
Clik here to view.

Illustrator CC: Show Layers Only in Layers Panel Options set to ON javascript

Does anyone know how to create a java/apple-script to always toggle on "Show Layers Only" in Layers Panel options? See attached screenshot.   Thank you very much in advance.

View Article

Image may be NSFW.
Clik here to view.

How to open window file explorer ?

I have a situation in which a modalDialog is displayed which contain two buttons, one to open a folder like suppose want to open my computer and another button to open a text file in default editor...

View Article


Is it possible to save an image as PDF without grabbing the entire artwork?

Hello All. This is the thing. I am currently trying to improve a previous script in my work. It works this way: First takes several artboards from an ai file and creates a PDF file for each of those...

View Article

Image may be NSFW.
Clik here to view.

FlashPlayer: Error FlashPlayer error 0x3: internal player error

When loading a SWF file into javascript: - fp = Group2.add('FlashPlayer',{x:0,y:0,width:480,height:480});flashFile = new File('C:/1.swf');fp.loadMovie (flashFile); // playingflashFile = new...

View Article

No scripting access to effect controls?

Is there no way to access, for example, the angle property of a scribble effect which has been applied to a shape via scripting?

View Article


Image may be NSFW.
Clik here to view.

How can i revert all the changes made onto the document through jsx script ?

i want any of the way that can help me to revert all the changes that are made on the document ,like through Jsx script  I made changes in the document like placing image re-sizing image changing...

View Article


Jump to next dataset

Hi all! I am trying to export all artboards into different png for each dataset. But I don't know how to make the script loop through all datasets. I am trying:docRef.dataSets[j];...

View Article

Image may be NSFW.
Clik here to view.

Reworking Photoshop layer renaming script for Illustrator

The Photoshop scripting guru Paul R over at RetouchPro has created a really cool script to batch rename and number selected Photoshop layers. I haven't found anything similar on the Illustrator side....

View Article

updating scripts to CC from CS6

Hello World! I've got a lot of scripts that I've been updating but for some reason my ETSK isn't wanting to run them in CC, only CS6.  I make sure the target is set to "Adobe Illustrator CC 2015...

View Article

Convert EPS to PDF with Artboard Resize

Hi,I needed a script for a batch conversion from EPS to PDF files. In addition, the output PDF had to fit into A4/Letter size documentation page.I've created one and now as I've tested it and it won't...

View Article


Issue opening jpg in Photoshop from Illustrator script

Hi all! I have a javascript file that I use in Illustrator to export a collection of jpegs, and then open those images in Photoshop to be resized. This all worked great in CS5, but when we swapped over...

View Article

How to import symbols from a symbol library?

I need to import symbols from an Ai file to other documents by script, then place them by replacing objects.I have no problem with the replacement of a symbol when it's part of the symbols of the...

View Article


Image may be NSFW.
Clik here to view.

Is there another directory to install scripts in Illustrator?

Recently, I wrote a VBScript that can save whatever work is done in Illustrator as an SVG file and then open it up using another program. My script works perfectly well but that's not why I'm here. I...

View Article

Image may be NSFW.
Clik here to view.

Script Consulting Effort?

I don't know anything about Illustrator scripts, but want to do some automation. I am willing to pay for some consulting effort. I don't think it is too difficult, but hard to say since I don't know...

View Article


Is it possible, using javascript, to copy and rename an existing document?...

View Article

Image may be NSFW.
Clik here to view.

simple javascript with .onClick function not working. I have the following...

#target Illustrator  #targetengine main   // Functionfunction count_selected_objects(){        alert ("Start of function"); /// works OK!        var myDocument = app.activeDocument;      var items =...

View Article

"Isolation Mode" and Javascript.

Hi All, Does anyone know of a way to get out of IsolationMode using Javascript? I am trying to create a Duplicate of a Selection on a Tempory Layer.The selection is often quickest to get to by...

View Article
Browsing all 3671 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>