Is there any way, so that I could place the cursor in a selected text using...
Hi,I had selected a text using script. Now I need to place the cursor somewhere in the selected text. Is it possible?Thanks in advance.
View ArticleRunning a script switches Illustrator units to Picas
Every time I run a script the Illustrator switches to Picas measurement units so that if I create a new document it will be like this Before that the default measurement units was mm.Why does the...
View ArticleHow can I modify the "Save as PDF" script to avoid the save dialogue?
Okay, I found out how to modify the "Save as PDF" javascript supplied with Illustrator so that it renders the .pdf with my preferred .joboption (e.g. X3) - what I'm lacking and don't seem to be able to...
View ArticleCreating an action that uses Layers
Hello! I'm trying to create an action that involves layers turning on and off and copy/pasting to different layers but when I recorded the action it ignores all of the layer changes and pastes then...
View ArticleHow to add superscript 2 as text in textGroupItem with Javascript
Dear All, I've been trying to add and remove certain pieces of text based on their font and whenever I need to add a certain piece of text back into it's original place again I need to insert a...
View Article[CC2018] Text stretched when resizing text frame using width property
Hi, When resizing a text frame using Applescript, modifying the width property, not only the text frame size changes, but the text is stretched. Does anyone know how I can prevent this from happening ?...
View ArticleOVERLAP OBJECTS
Hello, can anyone tell me how I can get my script to detect overlapping objects?
View Articleillustrator script to rename artboard to specific name
I'm looking for a script that would allow me to rename illustrator artboard to specific name. Those would always be the same 3 names in the same order (CV, UC and GE). When I create my Illustrator doc...
View ArticleToggling Create sub-folders in Export for Screens from a script
I have a fairly complex script that exports different things from an Illustrator document. I am using document.exportForScreens to easily export all artboards at once. However, I can't find a way to...
View Articlecheck selected item is Rectangle
Hi, how to check the selected item is rectangle in illustrator using script. Thank You.
View ArticleUI button programming
I'm trying to grab a number from the user, default of 1, with buttons next to it that increase or decrease that number I don't believe I'm even close yet, the number displayed in the UI doesn't change...
View ArticleUI - switch beetwen 2 windows
Hello, I found this limitations in ExtendScript Toolkit help: 4.1 “Nested” modal dialogsThe following sequence of operations using dialog (modal) windows is illegal, and will result in anapplication...
View ArticleRender swatch Legend Script
I was wondering if someone could help me edit this Script Written by John Wundes. Its almost perfect for what i need, but my problem is the text box inside of the swatch when it is rendered is to...
View ArticleCan't seem to find some sample scripts
I'm not sure if I'm looking in the wrong spot, or didn't download the full SDK, or I'm just inept. In the help menu of the ESTK, is a Creative Cloud JavaScript Tools Guide, and it mentions several...
View ArticleHow do I cut and paste a group to a new document via actions?
I wrote a script to cut and paste groups in the first layer of a document, into new documents to isolate each group. While it works great via ESTK, and running as a script menu item, it cuts the groups...
View ArticleHow do I access the values inside the Color panel or know whether it's...
Hello, very new to scripting. I know that I can assign a color to selected objects: app.documents.add(DocumentColorSpace.RGB) // get the active document var doc = app.activeDocument; // verify there is...
View ArticleFind and Replace Script for multiple files
I am trying to find a script that will either open a selection of .ai files or run through all the open files in illustrator and complete a Find and Replace. Right now I have a script that runs the...
View Articledrop down values loads out of extension window for 1st time alone
Hi, I have an issue with drop down values being loaded out of the extension window for the first time (i.e.) when extension window is not focused. But from the second time, it loads...
View ArticleCS4 - paste() produces: an illustrator error occurred: 2('')
I am automating copy and paste between two open files in Illustrator.I'm not using CreateFromFile since that strips variable names and otherwise alters the imported pageitems and makes them useless....
View ArticleCS6 64bit Illustrator - win, where to place scripts
HI all, I just got CS6, and I can't figure out where to place all of my scripts. In CS4 version, once the scripts where in the correct folder, they would show up in the the scripts list,. In CS6, I...
View Article