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

Image may be NSFW.
Clik here to view.

select a word/text in illustrator

Hi, how to select a text/word from textframe using script.. for ex,  "Adobe illustrator used for create logos, icons ,drawings" in above sentence i want to select "illustrator".. pls help Thank you

View Article


Image may be NSFW.
Clik here to view.

CSTK2 Version 2 Out

Hi All, Firstly I shall apologize for multi posting this post across several forums I have done so as I'm sure the extension will be very useful for scripters / developers across range of products. The...

View Article


How to change the alignment of text using javascript?

Hi,I need to change the alignment of text to center.  for (var i = 1 ; i <= graphNumberOfLines + 1; i++)            {               var ii=i;               ii= doc.textFrames.add();  //adding text...

View Article

Script to change named color to specific CMYK

Hi, I am not an experienced scripted (as much as I'd like to, I don't know where to start) but I'd like to know if anyone could help. I have been provided RGB files with named "colors" from their...

View Article

Create callout box around text with arrows

Hi!i Dont know were to start but i need to create a javascript for cs5 that create a stacked text  with a box and outline from an existing layer text.therefor the box need to be dynamic in size Due...

View Article


Image may be NSFW.
Clik here to view.

File.copy() produces zero-byte files!

Here's a simple code snippet which produces zero-byte (empty) files, so far tested on my Mac. #target illustratorfunction test(){     var inFile = File("/Users/me/folders/ABCDE30.psd");     var...

View Article

Create a rectangle around object?

Can this be done in illustrator scripting?? http://coreldraw.com/forums/t/35280.aspx creating a rectangle around selected object or objects and set margins...   Regards Martin

View Article

Writing equations in illustrator using javascript.

Hi,I am trying to write equations using javascript in illustrator.Equations might be having superscript and subscript. When I run the script, I need a prompt where, I will write some inputs...

View Article


Problem loading an artboard to extension with multiple images

Hello guys,i have a situation while laoding an artboard. This artboard consists of 4 images. while trying to load it into illustrator its working fine and while loading on to an extension only the...

View Article


match pattern and get the position using javascript in illustrator.

Hi,I need to get the position of a pattern in a text and store it in an array.for example, consider the string  a^{^{x^{1}}} I need to get all the positions of '{' and '}' to be stored in an array...

View Article

Change Artboard Size and Bleed

I open alot of AI documents throughout my day.  Almost all of them I have to set the bleed and then I have to change the artboard size when I first open them.  Can someone guide me as to how I can do...

View Article

an algorithm to store '{' and '}' in two arrays in illustrator using javascript

Hi all,I am trying to make an algorithm.The inputs may be like the following.      a{1}b{1}c{1}    a{a{1}b{1}c{1}}    a{a{a{1}b{1}}b{b{1}c{1}}d{1}}  And I am having two arrays named as "ys" and "ns".I...

View Article

Illustrator UI down while script is running.

Hi! I've made a script that helps me tremendously every day doing heavy repetitively work (moving around layers, grouping items etc.). There is one thing that's bugging me. While the script runs I can...

View Article


Image may be NSFW.
Clik here to view.

Need to remove some characters in the text in active document

Hi all,Here I had made a script to write equations with superscript.The input maybea^{2}+b^{2}=c^{2}The Required output is a2+b2=c2The script I made is.if(documents.length >0){  //if document is...

View Article

Object is Contained Within PathItem?

Object is Contained Within PathItem?

View Article


Image may be NSFW.
Clik here to view.

Creating 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 Article

XMP Custom Panels

Hi, everyone Is there a way to add custom fields in File Info to later use in my xmp file?

View Article


How can i use GPU in scripts?

Long time ago i used this scriptScript. Insert text number in the middle of visible bounds of the each objectBut then the document is too big, it can take couple of hours to complete.On my PC there is...

View Article

Resize Artboard based on Center Bottom

Hello! I'd like to start a script to resize my artboard (in my case, just one for document) based on Center-Bottom reference point. Example: my file originally have 200x100mm and I want to change to...

View Article

Image may be NSFW.
Clik here to view.

expected string but found end of script. (-2741) process pallette

I have a working script that I've built using the ESTK text editor. I would like to update but find using Adobes editor arduous at best, so it and have downloaded and set up the Atom text editor with...

View Article
Browsing all 3671 articles
Browse latest View live


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