Illustrator Scripting :: Accessing Text Frame Inside An Envelope?

Jan 6, 2013

I am writing a script using javascript and the ESTK. I am able to access text frames in my document by name and/or id without a problem. However if the text frame is inside an envelope I can not access it using my script.

View 6 Replies


ADVERTISEMENT

Illustrator Scripting :: Renaming Layers To Be The Text Inside

Oct 9, 2013

I've got an Illustrator CS6 document that has 500+ layers with individual words on them (a word cloud).  I'm needing to animate this in AE.  When I "Release to Layers (Sequence)", all of the layers become Layer 1, Layer 2, etc.  Is there a script that will rename all of those layers to be the text inside them? 
 
i.e. Layer 1 has the word "Pencil" as a sub-layer, editable text.. I need to rename the Top-Layer Layer 1 to "Pencil".  I'm hoping there is a script that can do this so I don't have to manually rename all of the layers.I have found this script:
 
var idoc = app.activeDocument;
var ilayer = idoc.activeLayer;
for (i=0; i<ilayer.layers.length; i++) {
    var isublayer = ilayer.layers[i];
    isublayer.name = isublayer.pageItems[0].name;
}
 
But is doesn't seem to do what I need.

View 8 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 Scripting :: Divide Characters In Text Frame

Oct 23, 2012

I'm sending this message regarding this link : URL....Just need a favor with all my respect to you and i think you will not let me down asking u for 2 script to divide characters in the textbox like the following:
 
1st : (TEXT FRAME) : Each letter alone and delete the space character .. with out moving any character from it's position
2nd : (TEXT FRAME) : Each word alone and keep the space character
 
"both in multiple text frame".

View 5 Replies View Related

Illustrator Scripting :: JS / Accessing Menu Items In CS6?

Jul 16, 2012

I just got CS6, and I'm wondering how I access menu items using Javascript?Also, I'm looking at the CS6 JS reference, and it doesn't say whether app.activeDocument.selection is Read-Only. I would need this for my purposes in accessing the menu.The item I wanna access is Select > Same > Stroke Color. Seems simple enough.

View 5 Replies View Related

Illustrator Scripting :: Accessing Elements Of A Page Item

Jan 6, 2014

I am working on a script that performs a series of things on all of the artwork in a document.  At one point, it needs to compare the fill color of every item to a sample color.  The problem is, the artwork is a collection of compound path items and path items.  When I look for pathItems[x]. fillColor, it works fine.  When I look for compoundPathItem[x].fillColor, it comes back undefined.  So, I've moved to looking at page items, but I seem to be unable to get to the internals on the page items.  If I have a compound path item, how would I address its properties from its parent page item?  I tried:
 
pageItem[x].compoundPathItem.pathItems[0].fillColor,
pageItems[x].fillColor,   & 
pageItems[x].compoundPathItem.fillColor. 

View 9 Replies View Related

Illustrator :: Pointed Text Without Envelope

Aug 13, 2013

I'm trying to figure out a way to make the baseline of a line of text come to a point (rather than rounding off like an "arc lower") without using an envelope, in CS6.
 
Here's an example of what I'm talking about:

View 2 Replies View Related

Illustrator :: When Use Envelope Distort The Text Warps Wrong

Nov 18, 2012

When I use envelope distort on a a chevron shape, the text warps beyond the shape and new anchor points and curves are automatically added.  Here are images of [URL]

View 4 Replies View Related

Illustrator Scripting :: Detecting Objects Inside Shape?

Jun 18, 2012

so I came up with this script, and it worked fine until I tried it on a different file. I have moved the artboard around all over the "main" canvas (if that is what it is called) and on the one that it works on, seems to only work when artboard(top, left) is positive values. however on the new file it doesn't seem to matter where it is on the artboard, it wont work anywhere. it should find the textpath relative to the shapes position.
 
I thought it was the coordinateSystem, but that doesn't seem to fix it. How the canvas works (maybe the math.abs();
 
threw it up on gist because it was pretty big: [URL]

View 3 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

Illustrator Scripting :: Change Colour Of Objects Inside Of Document Using Applescipt?

Mar 26, 2013

I'm trying to use this command to change the colour of objects inside of a document using applescipt but i keep getting an error "adobe illustrator "can't get color"" the colour exists and is active on a document. I have read the manual on variables and i'm a little lost on what i'm doing wrong, heres what i've got so far:
 
tell application "Adobe Illustrator"
 
if color is "C=0 M=0 Y=0 K=90" then
set color to "C=0 M=0 Y=0 K=90"
end if
end tell
 
i understand this is quite basic but its all i have to start with at the moment

View 24 Replies View Related

Photoshop Elements :: Create A Frame Inside Frame?

Nov 15, 2013

How do I creat a frame inside a frame?  Elements 4.0

View 2 Replies View Related

AutoCAD 2010 :: Bold Text Inside Viewport And Slim Text Inside Paperspace?

Feb 8, 2013

I have this strange situation.. i use the Arial font inside my cad drawings and when i print my paperspace layout, the text inside the viewport is a little bit more "bold" then the text i put directly on paper space.

Maybe it's a trick to know what text is placed where, but i want all this to be uniform, same thickness. Is there a system variable to correct that issue?

See the image below: It's a 400 DPI scan from an impression i did.

Up to COUPE C1 is the text inside the viewport, under COUPE C1is the paperspace text. Both are the same height... but difference tickness.

View 9 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 :: Get Dots Inside Text

Feb 12, 2014

I'm trying to do some comic-booky style text with some half tone "dots" inside the text. I've got my text, I've got my dots, but I'm having hard time getting them in the text. I've tried using "Paint Inside" and pasting them in, but then I lose the stroke and can't get it to stroke the text the way I want. I've tried a clipping mask, but that doesn't seem to work quite right either.

View 2 Replies View Related

Illustrator :: Fitting Text Inside Shape

Sep 26, 2013

I'm trying to find a way to fit a text inside a shape and to align it exactly to the shape borders, I was trying to play with the justification panel under the paragraph link but couldn't make it work,

I was trying to fit my text inside a shape look like the number 7 so eventually when a viewer see it they can recognize the number 7 without a stroke - only by the text insize the shape, above is an example of what happe when I try the same with a circular shape - I would like the test to fit in nicely filling the entire circle.

View 5 Replies View Related

Illustrator :: How To Place Some Text Inside A Shape

Oct 24, 2010

I select a shape and choose file > place to place some text in it, though the text does not display, the stroke also disappears indicating that it seemed to do something.

View 8 Replies View Related

Illustrator :: Graph Line With Text Inside?

Oct 16, 2013

How to put text inside a line and then bend both of them to fit a line in graph. I've made a line at 22 points and then I've put text inside. Thought it would look cool. How do I make them become one so that I can bend them together? And how do I bend them the easiest way?

View 3 Replies View Related

Illustrator :: How To Stretch Only Object Without Stretching Text Inside It

Jun 28, 2013

I have a complex object (a plot with a bunch of text labels, etc.), and I want to stretch it horizontally or vertically without distorting text. I have an option to scale or not to scale strokes,. However, whatever I select here, the text always ends up distorted.
 
Is there a way to stretch it so that the text retains it's original shape?

View 4 Replies View Related

Photoshop :: Envelope Distort In Illustrator

Sep 24, 2013

I want to know in Photoshop Is there any plug_in that can make envelope distort (distort object to full-fill inside certain area) , something like envelope distort in Illustrator ?

View 2 Replies View Related

Illustrator :: Unwanted Distortion With Envelope?

May 3, 2013

I have a problem with the envelope distort function. The left part of the image shows what I want to distort with what shape, the right one is a close up for what it does in the mid corner (straight lines no longer straight... at least the horizontal ones...).

View 5 Replies View Related

CorelDRAW Graphics Suite X5 :: Envelope Then Shape Tool Text

Jun 15, 2011

After I put an envelope on some text and then adjust the envelope (i.e. curve it upwards), I was wondering if you can still adjust letters' kerning with shape tool.

View 3 Replies View Related

Illustrator :: Placing Image Inside Text But Want Letters To Have Outlines?

Sep 13, 2013

I'm trying to create a logo whose letters have an image in them - which I've got figured out (turning letters to outlines, creating clipping mask with image). The trouble is, once the image is inside the letters, I can't figure out how to then give the letters a thin stroke outline. Is this possible? The image I've placed is high contrast black and white, so when I create the clipping mask, large chunks of the letters disappear.

View 11 Replies View Related

Illustrator :: Envelope Distort To Center Of The Object Only Possible?

Mar 14, 2013

Envelope distort to center of the object only possible?
 
How to achieve the effect shown in the image? If not with Illustrator what software can do this effect?
 
It's like an envelope distort but like the object (small circles) is not entirely wrapped into the envelope.
 
I tried moving the corners of the applied envelope towards the center of the object but it resizes the entire shape along with it...

View 2 Replies View Related

Illustrator :: Can Make A Mesh Behave Like Envelope

Sep 17, 2012

The technique of making an envelope distortion with the Top Object is very useful, because you can apply the same distortion (that is, the same top object) to any number of objects and at any time.
 
I'd like to use meshes in the same way. I don't want to apply mesh colour, or any other mesh property than its shape: I just want to use the mesh shape as a re-usable distorter.
 
(I've tried using the mesh as a Top Object, but the resulting error message is not useful. And I've also tried editing the mesh contents, but this doesn't work as there's no way to replace the contents with other objects.)

View 7 Replies View Related

CorelDRAW X5 :: How To Set Envelope Function Box Size Prior To Entering Text Data

Oct 22, 2011

I am creating a template that will have four text boxes that I will populate from a merge document.  I need to have the envelope feature applied to each of the text boxes so any long text will be compressed to fit in the designated text box.

I understand the basic function, input text, select text, select Envelope feature but that sets the envelope box to the size of the inputted text, where I need a fixed text input box size.  

View 5 Replies View Related

CorelDRAW Graphics Suite X5 :: Stretching Text Width In Envelope Or On Path

Jun 21, 2011

Is there a way to stretch the width of text, once it is in an envelope or on a path? You can adjust the kerning(spacing), but I don't see anywhere that you can adjust the width of the letters.

An example: I have the word MAVERICKS on an arched path in a design. I want to change that design for the RAMS, so where it says MAVERICKS it will now say RAMS. The problem is RAMS is a much shorter word and I need it to stretch to the same width as the previously used MAVERICKS.

View 15 Replies View Related

Illustrator SDK :: How To Define A Frame Around Text

Mar 18, 2013

How de define a frame around a text with a short-key ?
 
In Illustrator, I want to know if there is a keyboard shortcut allowing me to set the size of a block of text from the text inside ?

View 1 Replies View Related

Illustrator :: Envelope Distort Doesn't Work With A Picture

Nov 25, 2013

I'm trying to distort a picture to make it fit a cover of a magazine. I read a few tutorials on Envelope Distort and followed directions. It seemed pretty straightforward.
 
I created a single, closed path that I placed it on a top layer. I placed the picture I want to distort and embedded iton a second layer behind the shape. Selected them together, continued with Object>Envelope Distort>Make with Top Object. But, the picture gets twisted and messed up. 

This is what it looks like and I can't think of anything that is interfering with the process. This image will be part of a collage of images that will go on the front cover of my Google+ and Facebook profile.

View 2 Replies View Related

Illustrator Scripting :: How To Tell With JavaScript That The Text Was Set To Overprint

Feb 24, 2012

If I were to select some text, then checkmark 'Overprint Fill' in the 'Attributes' pane, is there a way to tell with JavaScript that the text was set to overprint?
 
I've been experimenting with this code in ExtendScript, but it keeps returning false:
 
var doc = app.activeDocument;
$.write(doc.textFrames[0].textPath.fillOverprint + '
');

View 3 Replies View Related







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