Illustrator Scripting :: Repeating Text Multiple Times And Put It Into A Circle

Oct 1, 2012

How can I repeat text several times and put it into a circle with the words continuously repeated into the circle if that makes sense.

View 2 Replies


ADVERTISEMENT

Illustrator :: Repeating Circle Even Number Of Times Across 597" Linear Space

May 12, 2013

I have to repeat a circle an even number of times across a 597" linear space. The circles need to be approx 24" apart, but evenly spaced. How can I do this without having to manually calculate the spacing and the # of circles required?

View 2 Replies View Related

Illustrator Scripting :: Changing Line Of Text In Multiple AI Files

Apr 5, 2013

I have about 500 files that I need to change one line of text in. Example. File name is XXX 001, the line of text is the file name so it would read XXX 001. XXX 002... etc. up to XXX 500. Is there a way that I could automate it opening, changing this line of text, saving and closing?

View 1 Replies View Related

Illustrator Scripting :: Is It Possible To Copy And Duplicate (only) Text To Multiple Layers

Dec 8, 2012

I have an Illustrator document with one layer (named Layer 1).In that layer are lines, rectangles and text.Is it possible (in script) to: make 3 additional layers named NL, EN and GEselect and cut all the text in Layer 1paste that text in the same place in the layers NL, EN and GE 

(Step 2: select all text items and Ctrl-X)
(Step 3: select proper layer and Paste in Place in that layer)
 
I know this can be done with an action (I did that allready) but the reason I want to script this is because I have to combine this with another script which takes care of colorizing stuff.

View 5 Replies View Related

Illustrator Scripting :: Duplicating A Circle With JavaScript

Jan 9, 2013

I'm trying to build something like a bullseye using javascript. I'm new to scripting for Illustrator but I've used javascript before so I thought it would be simple, but maybe I'm missing some basic notions here.
 
I'm using Illustrator CS6. I created a blank document and drew a circle with a 1pt black stroke and no fill. Selecting that circle, I my script to copy and paste it in front and increase its radius by one centimeter. I attempted a simple duplication first:
 
if ( app.documents.length > 0 ) {
var numberOfItems = 3;
var selectedItem = app.activeDocument.selection;
for (i=0; i < numberOfItems; i++) {
newItem = selectedItem.duplicate();
}
}

With my circle selected I get an error message saying "Error 24: selectedItem.duplicate() is not a function".

View 7 Replies View Related

Illustrator Scripting :: Create Mirror Text And Stroke Text In AI Scripting

Mar 16, 2013

the Script of creating mirror text and stroke text in Adobe illustrator scripting.

View 4 Replies View Related

Edge Animate CC :: How To Set Text / Image And Link For A Symbol Used Multiple Times On Stage

Oct 7, 2013

I have a logic problem in my code that I need solving,
 
here's the bit of code which is supposed to set the text, image and link for a symbol used multiple times on the Stage.
 
var names = ["melz", "brom", "calm", "micj", "mick", "brir", "mato", "brym", "azin", "hugh", "nicl", "bonr", "lisa"];
var name = null;
for(var x = 0; x < names.length; x++){
          name = names[x];
          var initials = (name[0]+""+name[3]).toUpperCase();
          var cursymbol = sym.getSymbol(name);

 [Code]...
 
The text and image code work, however my problem is with setting the link. It always sets all the symbols to the last name in the names[] array. What I want it to do is to set the link to the personalised name in the array. So the HH button will link to hugh.html and the BM button will link to brym.html etc.
 
For now I'm going to play around a bit and see what happens.

View 1 Replies View Related

Illustrator Scripting :: Export Multiple ARTBOARDS To Multiple JPGs (AppleScript)

Apr 9, 2012

I´m aware that Illustrator doesn´t have multiple artboards options for JPG as it does with eps, or other formats, but is there any workaround for this? Looping current artboard and exporting them to JPG or something.  Or maybe there is someway to force the   "save multiple artboards:true" in JPG?
  
export document currentDoc to file exportFolder as JPEG with options ¬
{class:JPEG export options ¬
, quality:100 ¬
, artboard clipping:true ¬
, artboard range:1 - 2 ¬
, save multiple artboards:true}

View 3 Replies View Related

Illustrator SDK :: Setting Font - Times New Roman To Text Range

Feb 6, 2014

I am trying to set font = "Times New Roman" to a text range.

But the API constantly fails with error code = "1430996551".
 
AIErr result = sAIFont->FindFont("Times New Roman Regular", kAIUnknownFontTechnology, kUnknownAIScript, false, &headingFontKey);
 
I tried "Times New Roman"
"Times Roman"
"Times-Roman"
"Times New Roman Bold"
 
I have all these fonts installed on my windows 7 machine and can see them in the AI's font selection menu as well.
 
What might be the problem ? And how to decode the errorcode (1430996551) ??

View 2 Replies View Related

Illustrator :: How To Create A Multiple Segment Circle

Aug 6, 2012

how to create a segmented circle as shown in the attached image. I have it as a jpg but I want to create it in Illustrator so I can have greater control over the parts. For example, while the image shows three segments, I may have to add another one into the image (it's part of a process demo).

View 7 Replies View Related

CorelDRAW Graphics Suite 12 :: Running Script Multiple Times Produces Multiple Copies?

Sep 1, 2011

I have this script that basically makes a shape expand by adding an outline, conveting the outline to an object, and then welding the whole thing together.

I have the script set to execute with hotkey ctrl+numpad+

The odd thing is, when I run it once, it seems to work fine and only one object is left, but when I hold down ctrl and press numoad+ over and over again, it seems to produce a new copy of the object everytime.

I'm not sure why this is happening, but I need to get it to stop. 

Sub Expand()    EventsEnabled = False        'Dim vars    Dim c1 As New Color    Dim OrigSelection As ShapeRange    Dim OrigColor As Shape    Dim width1 As Double    Dim height1 As Double    Dim minSize As Double    Dim Thickness As Double        'copy color of current selection    Set OrigColor = ActiveShape    If OrigColor Is Nothing Then Exit Sub    If OrigColor.Fill.Type <> cdrUniformFill Then Exit Sub    c1.CopyAssign OrigColor.Fill.UniformColor        'get thickness to increase by    Set OrigSelection = ActiveSelectionRange    OrigSelection.GetSize width1, height1    If width1 <= height1 Then minSize = width1    If width1 > height1 Then minSize = height1    Thickness = minSize * 0.035        OrigSelection.SetOutlineProperties Color:=CreateRGBColor(0, 0, 0)    OrigSelection.SetOutlineProperties Thickness, ScaleWithShape:=True        'weld    Dim s1 As Shape    Set s1 = OrigSelection(1).Outline.ConvertToObject    Dim s2 As Shape    Set s2 = s1.Weld(OrigSelection(1), True, True)            'auto reduce    's2.Curve.Nodes.All.AutoReduce 0.001    's2.Fill.ApplyUniformFill c1        'delete remnants    OrigSelection.Delete    s1.Delete    'OrigColor.Delete            EventsEnabled = TrueEnd Sub

View 5 Replies View Related

Illustrator Scripting :: How To Add Images In Multiple Artboards

Mar 1, 2012

I need to add images in multiple artboards (each image in different artboards)
 
Initially i added an artboard and placed the image
 
Dim illus_doc As Illustrator.Document

View 4 Replies View Related

Illustrator Scripting :: Applying Multiple Strokes With JS

Apr 17, 2012

how to apply multiple strokes to a path with JavaScript? Assigning strokes width, caps, position in stack (my particular concern)? All i can do at the moment is to apply a single stroke.

View 5 Replies View Related

Illustrator Scripting :: Embed Multiple Linked Images?

Sep 27, 2012

I have been tying to figure out how I could easily embed multiple linked images easily. I have some 1000 .svg  images which have about 1-7 .tif images linked in to them. I now need to get those links embedded and becouse of the amount of images I'm hoping to make an action out of it. I have a script to embed single image in .svg but haven't have luck with multiple embeddings.

View 9 Replies View Related

Illustrator Scripting :: Changing Colors Multiple Files?

Feb 6, 2014

I have about 300+ product labels that are in Illustrator, and some of them have an incorrect rich black color swatch. What I have been doing is going through and changing the color pallette to change them manually. Essentially going to the instance of black and changing them to regular black.
 
Is there any sort of script that can do this? The files are in CMYK.
 
Otherwise I have a lot of monotonous file editing to do.

View 4 Replies View Related

Illustrator Scripting :: Get Width That Multiple Selected Items?

Apr 23, 2013

How can I get width that multiple selected items? (Not grouped.)
 
//---------- source code ----------
 var mm = 2.83464566929134 //unit conversion. (point->milimeter)
var W = docRef.selection[0].width/mm;
alert(W); 
//---------- source code ----------

View 3 Replies View Related

Illustrator Scripting :: Split File Into Multiple Files

Nov 4, 2013

Is it possible to have a script that would split up an Illustrator file that contains a number of groups of elements into individual files... for example, here is a download link for a file that has different types of moustaches and I want each moustache as an individual file... I have hundreds of Illustrator files like this that have 4, 8, 15, 20 or more illustrations all bunched onto the one file that I need to split up. I'm using CS4 [URL].... 

View 3 Replies View Related

Illustrator Scripting :: Select Items On Multiple Artboard

Sep 27, 2013

I have script where I select items on multiple artboard but I can't seem to get get active art board of the selected item. Is this possible?
 
each artboard has a text item and I would like them in the same position on each of their own artboards that they are already one. right now it adjusts them all to one artboard. here is what I have so far
 
doc = app.activeDocument;
for(i = 0; i < selection.length; i++){
    var firstItemPosition = doc.selection[0].position;
    doc.selection[i].position = firstItemPosition;
    var activeArtboardIndex = doc.artboards.getActiveArtboardIndex();
    alert(activeArtboardIndex);
}

View 10 Replies View Related

Illustrator Scripting :: Set To Save Multiple Thumbnails To XMP Packet By Artboard

Jul 19, 2012

Is it possible to save illustrator XMP thumbnail previews by artboard? It seems like Illustrator saves a single thumbnail with all art regardless of the number of artboards.
 
If there is a property that can be set to save multiple thumbnails to the XMP packet by artboard when saving to a native Illustrator file?

View 3 Replies View Related

Illustrator Scripting :: Creating Dialog Consisting Of Multiple Buttons

Apr 24, 2013

I want to create a dialog consisting of multiple buttons. As a result I want value which button was pressed by user.
 
The script (shortened to problematic part):
 
// I'm looping through elements on layer 'warstwa' from kolorStart to kolorStop, 'k' is used for number buttons

for (i = kolorStart, k = 0; i <= kolorStop; k++, i++) {
myButton[k] = myButtonGroup.add ("button", undefined, warstwa.pageItems[i].contents);
myButton[k].label = warstwa.pageItems[i].contents;
myButton[k].onClick = function () { wybranyKolor = myButton[k].label; myWindow.close(); }
}
 
The result:

But buttons don't work, wybranyKolor returning 'undefined'. If I change "wybranyKolor =  myButton[k].label" to "wybranyKolor =  myButton[k-1].label" I get proper answer but it is the same for all buttons so it looks that all buttons have the same action assigned. How to get each button to has unique name which can be passed to variable?
 
Probably I can achieve the same with radio buttons' list but with buttons it is one click less for the user.

View 7 Replies View Related

Illustrator Scripting :: How To Import Several PDF Files As Multiple Artboards Into One File

Feb 11, 2013

I have 30 separate illustrator pdf files (one page each) that I would like to make into one Illustrator CS6 file with 30 artboards. Is there any way to do that without having to import one by one?

View 1 Replies View Related

Illustrator Scripting :: Exports Multiple File Formats At Same Time?

Sep 13, 2013

I've found some very good scripts like the MultiExporter.js by Matthew Ericson and Export Layeres as PNG files by Johan Otterud, however none that quite fit our needs. We need an Illustrator script that takes an AI file and spits out an .eps, .jpg (for print), multiple .png sizes for web, and .pdf. We have an extensive download library for members that constantly change and rotate with new logos, print materials and other graphics.
 
I was hoping that there was some kind of script that would cut some time off of exporting all the different versions each time.

View 1 Replies View Related

Illustrator Scripting :: Raster Multiple Layers In AI Without Flattening To 1 Layer

Aug 8, 2012

I am trying to turn every layer in my .ai file to a raster image without flattening to one layer.
 
-The big issue I am dealing with is the agency that just built a paralax site for us refuses to export to PSD. I have tried every possible way to do this but keep getting the file is to big message. To add to it they had it all on 1 layer. I was able to release to sequence, but now am trying to see if rasterizing the objects will work.

View 1 Replies View Related

Illustrator Scripting :: How To Batch Huge Bunch Of WMF To AI In Multiple Subfolders

Nov 1, 2013

I have a couple of thousand old cliparts in .wmf format that I have to convert to .ai.  What I need to do is simply open the .wmf, store it as .ai in exactly the same location.
 
Actions didn´t work because the files are in mutliple folders and subfolders. "Actions" keeped saving all the ai-files in the same folder. Which is kinda weird since this doesn´t happen when using the same action in PS.
 
Sure, there are some quality issues with converting wmf to ai - but for what we´re plannning the quality is sufficient.
 
CarlosCantos script at [URL].....  looked like the thing to do. Loaded it in apple script,  patched the lines to open .wmf  and saved it in the Illustrator script folder, but all I got was a bunch of error messages.

View 10 Replies View Related

Illustrator Scripting :: Text Frames To Be Converted As Flash Text

Oct 17, 2012

I am working on a project which needs..Text frames to be converted as flash text >property changed to dynamic text > writing instance name “_txt”.so how can i write scripting on above process.

View 5 Replies View Related

Illustrator Scripting :: Altering Stroke Weights Of Path With Multiple Strokes?

Mar 24, 2013

I have created a path with multiple strokes, which differ in weight and color. I can save that as a profile but it's really tedious if I want to alter the different colors and stroke weights.
 
I can't seem to do record an action which will automatically alter those parameters (f.ex. raise each strokeweight by 10pt.). All I get is just an action that will recreate the altered state during recording (f.ex. stroke weights  20, 10 >--Action-->  15, 5). I cannot start the action and raise or lower my stroke weights at once based on the current parameters.

View 1 Replies View Related

Illustrator Scripting :: Relink Multiple Images And Link Filename To Artboard

Jan 21, 2014

I have been looking for a solution to automate a printing and ordering process. I have a design template with 2 pages both 8.5x11 in size. One page represents the front and other the back for double sided printing. I have 6 different images per sheet so in my links panel I have 12 total links, 2 of each. I was wondering if there is a script to update all the links with the same filename with other image? Currently I have to search through all the images and update each one.
 
I have 6 artboards dividing the 8.5x11 sheet proportionatly. Each artboard represents a different order. Is there a script to write the linked filename to the bottom corner of each artboard?

View 5 Replies View Related

Illustrator Scripting :: Create New Document With Profile And Multiple / Named Layers?

Mar 27, 2013

I can't figure out the proper commands to fill out and complete the script below. What I am trying to do is:
 
- Create a new document using one of the Profile presets (or have the New Document dialogue open so I could select the profile, size and bleed)
- Make 3 layers, each with a diferent name
- Create a rectangle the size of the artboard on the bottom layer, with a swatch stroke and no fill
- Create a rectangle the size of the bleed on the middle layer, with no stroke or fill
 
Like I said, I haven't gotten far at all. I've read through the basic scripting guides and I'm just not understanding all of the language needed to string things together.
  
tell application "Adobe Illustrator"
make new document
set topLayer to make new layer ¬
at beginning of document 1 with properties {name:"Vector"}
set bottomLayer to make new layer ¬
at end of document 1 with properties {name:"Through Cut"}
end tell

View 6 Replies View Related

Illustrator Scripting :: Adding Text To A Text Frame?

Mar 19, 2013

I have yet another question. I can see the text in a text frame with a script like this,
 
var doc = app.activeDocument;
var myTextFrames = doc.textFrames[0];
var myTF_Content = myTextFrames.contents; // this will return the string inside the text frame
alert(myTF_Content);
 
but how do I add some text to the beginning of that text? lets say that this is my textFrame[0] = "this is a simple test string".what is the proper way to add text like the number one and a period to the beginning?

View 3 Replies View Related

Illustrator Scripting :: Deleting Text From Text Frame

Apr 8, 2013

What is the best way or anyway to remove text from a text frame? Say if you want to remove anything in () in a text frame or any * symbols.
 
52(one on both sides) //you have this in a text frame
 
52 // and you want to change it to this by deleting (.)
 
or
 
40* //you have this in a text frame
 
40 // and you want to change it to this by deleting the *

View 25 Replies View Related

Illustrator :: Text Along A Circle

Apr 25, 2012

Whenever I click to add text to this  path, it starts the text at a different point on the path instead of directly where I clicked. If you can see it, towards the left side of the circle where it says "path" in green. Thats where I clicked, but as you can see the actual text would start a little further on the right side
 
How can I change this...Also I will add. Once I do type my text it is no longer selectable. After typing I switch up to my direct select tool, and as I hover over the text nothing happens. I cant select it, I can only select the blue bars on the sides of it. I want to be able to select my text also. Shouldnt the blue bars be at the end and the beginning of the text, not so far away from it

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved