Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Browsing all 12845 articles
Browse latest View live

Is there a way to clear or delete actions through scripting?

Hello Everyone!  Menu Commands Outline Stroke I'm trying to make a script that will clear and then reload actions to try to get around that bug. Thanks to quertyfly and moluapple I now know how to make...

View Article


How to redraw() navigator window?

Hello, Using ExtendScript, how do I Application.redraw() the navigator window? Is this possible? Thanks!M

View Article


I am trying to set the settings when placing a PDF into Illustrator..

When I use the "Place..." option from the File menu I get prompted with a box to set the "Crop to" setting. From like "Art" or "Trim" etc.When I place it with a script it is defaulting to "Art" right...

View Article

Save as custom PDF Presets

I have a document that I want to save the .ai file that is open....then save as a pdf with my own Adobe PDF Presets. The name of my preset is:     Machine Views Example sudo code:  #target illustrator...

View Article

sendScriptMessage

Hey yall,  In the CS6 reference it states: Scripting plug-insThe CS6 JavaScript scripting interface allows for limited scripting for plug-ins. A plug-in can define a command, with an event and...

View Article


Looking for "Replace with Symbol" script

So I am trying to replace gps points with a symbol I have created. I have found blogs referencing a script that can replace selected items with symbols saved in the symbols panel, but I can't seem to...

View Article

Image may be NSFW.
Clik here to view.

Script to Rename Artboards with Layer Names

I'm looking to create a script to batch rename a number of artboards. - I have 100 named layers.- I have 100 artboards.- I would like to rename the artboards to match the layer names.- The layers are...

View Article

importPrintPreset, 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 Article


Image may be NSFW.
Clik here to view.

Script command for align dashes to corners and path ends?

Hello, I am using Illustrator CC for Scripting. I have dashed lines in my drawing and want to align dashes to corners and path ends.No problem in the Illustrator stroke menu. There are two buttons with...

View Article


Illustrator Macros/Scripting

Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...

View Article

is there a script to load images into illustrator to a grid composition.

Hi. is there a script to load images into illustrator to a grid composition. I need only 1 artboard. The out put is to print a mural. I need to load aprox. 1600 images. Somebody in the illustrator...

View Article

File.open("e") problem???

this is the (js) file to edit: //var pdfResolution = 70 ;var skale = 1 ;var pdfSourcePath = "/c/Eigene%20Dateien/Eigene%20Bilder/schi/DSC01176_pdfs/";var jpgTargetPath =...

View Article

Script: 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 Article


visibility variable get lost on undo/redo.

Hello All, I've scenario where I've to distinct the page items and apply some sort of unique Ids to them. So for that, I added the visibilityVariable to the page items. Code is as follows,var idoc =...

View Article

Is it possible to set xmp metadata to pageItems?

Hi All, Is it possible to set xmp metadata to pageItems?Like there is a way in photoshop to set xmp metadata to layers.Thanks

View Article


Image may be NSFW.
Clik here to view.

Script to change selected layer to one of the drop down colors within layers...

Hello! I was wondering if anyone knows of a script that would allow me to change selected layers (either single or mulitple selection) to "Light Blue" or any colors within the drop down selection? (see...

View Article

Running script from actions

I am using Illustrator CS4 on a Windows PC writing in JavaScript. I know I can't call an action via JavaScript in my version/language but I can load the script from an action. I call some scripts from...

View Article


Importing CSV and TXT files as Illustrator datasets: VariableImporter.jsx

Just in case any body would like to have the ability to import .csv and tab-delimited .txt files into Adobe Illustrator as datasets, (similar to Indesign's Data Merger), here is a tool which will help...

View Article

How to change the document units of measure

adobe illustrator CS4,,

View Article

Script for Selecting Open Paths in Illustrator CS6

I have created this script for selecting open paths in illustrator cs6 as the graffix plugin is not working under CS6.  Just save the following text in /Applications/Adobe Illustrator...

View Article
Browsing all 12845 articles
Browse latest View live