Keep the layer names when describing the text

I would like to know if there is a way to keep the names of the objects/layers of text when the text is converted to text outline, using scripts.

I create files with dozens of text layers (player names on the back of the jerseys of sport) and send the .ai file to manufacturers. This means that I have to expose the text, but when I do, the layers all lose their names and everything becomes "< Group >.

Can anyone think of a way of naming these layers with the text they contain?

Hi openbracket,.

It is impossible, if the text is underlined.

But it is possible for the text and the outline of the text via script (don't forget that the selected text is only filled with no effects or stroke)

You can try something like this:

// required: an opened document with one selected text frame
var aDoc = app.activeDocument;
var aSel = aDoc.selection;
if (aSel[0].typename =="TextFrame") {
    if (aSel[0].characters.length < 40) {
    var newName = aSel[0].contents;
    } else {
    newName = aSel[0].contents.substr(0, 39);
    }
aSel[0].createOutline();
aSel = aDoc.selection;
// name of the new Group = contents or part of contents of selected text frame
aSel[0].name = newName;
}

Have fun

Tags: Illustrator

Similar Questions

  • Keep the text perpendicular to the base line when you use the string.

    Is there a way to keep the text perpendicular to the base line when using the warp function?  I'm trying to reproduce a decal with curved text.  When I use the string to get the text that is curved like the original, the letters are slightly tilted.

    You could try to make each letter on a separate text layer, then use Image > transform > free transform to adapt the letters in place.

    A lot more control over the placement of the letter and size that warp text offers.

  • How to make the background transparent semi while keeping the text opaque

    Basically, as the title says.

    I am using a div as a container of text and I need do the slightly transparent background while keep the text with a full opacity, but am not sure how.

    Any help would be greatly appreciated.

    If more information just ask.

    Two ways to do it.  We need to make a picture of 1 x 1 saved as a PNG with transparency and which defined on the background and repeat.  This will work in IE 7 & up and all other browsers.  The other way with CSS transparency that requires a few lines in your code depending on the browser used - http://www.w3schools.com/Css/css_image_transparency.asp .

  • How can I remove the text box but keep the text?

    Hello...

    have several pieces of text in text boxes... to delete the text box, just keep the text... Any way to do this without a copy or cut paste?

    TIA

    JJ

    PS: Sorry... WinXP, CS3

    Nope. Copy and paste is the only way.

  • HOW TO KEEP THE TEXT AT THE BOTTOM OF PAGE BY USING JAVASCRIPT-RESPONDED

    UPDATE 12/05/2006: CODE MORE COMPATIBLE:
    Used OnRequestEnd.cfm to load the info from the copyright at the bottom of each page, but the size of the varied settings page and copyright law appears at various points on the different pages. Didn't look well. Could not use tables to align the text of exit reasons. Coded way using CSS and JavaScript to keep the text at the bottom of each page. Be careful with CFFORM, we define the attribute ' wMode = transparent "in CFFORM this text exceeds the shape. Tested in IE and Netscape. Put at the end of individual models or inside the OnRequestEnd.cfm - enjoy!

    (css goes in your external css file, or between local style tags)
    . Copyright {background-color: #d8d8d8; color: Black; do-size: 10px; do-family: Arial; width: 10 0%; text-align: center ;}}
    Body {border-bottom-width: 0px ;}}


    (following goes to end of page or OnRequestEnd.cfm)
    < span id = 'x' class = 'copyright' >
    my copyright
    </span >

    <!-*-> LINE COPYRIGHT GUARD ABSOLUTE BOTTOM OF EACH PAGE
    < script >
    If (document. Body.ScrollHeight < document. Body.ClientHeight) {}
    var s = 0;
    document.getElementById('x').style.cssText ='position: absolute; bottom:'+ s + ';';
    }
    else {}
    var s = document.body.scrollHeight;
    document.getElementById('x').style.cssText ='position: absolute; top:'+ s + ';';
    }
    < /script >

    UPDATE 12/05/2006: CODE MORE COMPATIBLE:
    Used OnRequestEnd.cfm to load the info from the copyright at the bottom of each page, but the size of the varied settings page and copyright law appears at various points on the different pages. Didn't look well. Could not use tables to align the text of exit reasons. Coded way using CSS and JavaScript to keep the text at the bottom of each page. Be careful with CFFORM, we define the attribute ' wMode = transparent "in CFFORM this text exceeds the shape. Tested in IE and Netscape. Put at the end of individual models or inside the OnRequestEnd.cfm - enjoy!

    (css goes in your external css file, or between local style tags)
    . Copyright {background-color: #d8d8d8; color: Black; do-size: 10px; do-family: Arial; width: 10 0%; text-align: center ;}}
    Body {border-bottom-width: 0px ;}}

    (following goes to end of page or OnRequestEnd.cfm)

    my copyright


  • How can I keep my domain name when I change bluehost to editing adobe?

    How can I keep my domain name when I change Bluehost at Adobe Muse Publishing?

    When you go live with your site to Business Catalyst, you will need to do two things.

    1: go to site settings and add the domain name

    2: depending on the weather, you want e-mail hosted on Business Catalyst as well or leave the mail on BlueHost

    a: to leave the mail on BlueHost will give you an IP address to redirect the DNS A Record field to control panel in the BlueHost.

    b: If you want to move mail as well, it is even easier. In the control panel BlueHost change the DNS of your domain name NS1.worldsecuresystems.com and NS2.worldsecuresystems.com settings

    This can take up to 48 hours for the change to take effect (but usually with in a few hours)

    More information here: adding a domain name to your site and direct donor site

  • Keep the text formatting when writing new file with FILEIO

    Hi all

    I wonder if there is a way to keep the formatting of the text when I write it in a new file using FILEIO. In particular, I have the following text in a domain member:

    test < background = L1_garaz / > (text in the tag a color and itsbold) test


    I use the following code to write the foregoing in a new filw using FILEIO:

    on mouseup


    Annot = member("annotator").text
    path = the moviepath & "Annotated_text\".
    whichanno = baGetFilename ('Save', ' "& path &" "," "," doc files | ") * .doc", 0, -2, 0, 0, 'save the doc file')

    myanott = new (xtra "FileIO")

    myanott. CreateFile (whichanno) - create
    myanott.openFile(whichanno,0)
    writeString(myanott,annot) - write the new string
    myanott.closeFile)
    myanott = CANCEL

    end

    the problem is that despite the type of file I want to choose to save it (.doc, txt, etc.), he refuses to save the text with its original formatting (with the colors and the words "BOLD"). No idea how to solve this problem?

    Use a member of text instead of a field member, then you can access the formatting of the text through property .rtf... then save this info to a file:
    Annot = member("annotator").rtf
    .....
    ...
    writeString(myanott,annot) - write the new string

    Quote:
    Posted by: wgb14
    NOP, its said property found rtf. So if saving to RTF (without change to the ownership of the member("annotator") still once he will not keep the main text formmat

    Quote:
    In particular, I have the following text in a domain member:

  • Keep the text format when replacing text

    Hi - I'm updating in indesign pages with 100 + boxes of text block containing prices / Cup/etc (not all threaded together, each thread is homogeneous). I need to replace the contents of these boxes with new content, but every time I put the new text, she brings with her fitness and I have to select everything and re - format text imported to the text format it replaced. I'm pulling my text in xls and converting it to plain text in text editing before placing it in my page layouts. I've never had this problem before and can not know if I messed up a preference or what. Previously, when I placed the new text, it took on the formatting of whatever it replaced. I work in CS5.

    Thank you!

    Looks like you're looking for "paste without formatting."

    This can be found in Edition > paste without formatting or with the shortcut Shift + Cmd (Ctrl) + V.

  • How to keep the text tables moves from DW to outlook?

    I am do an e-mail Blast, then inserting in our e-mail sender and to test it in outlook, it moves the right of the text table, so it's really long and can't rest not as set width and height, I thought I put it in the code.

    Here is the code:

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    < title > Untitled Document < /title >

    < style type = "text/css" >

    HTML, body, div, span, applet, object, iframe,

    H1, h2, h3, h4, h5, h6, p, blockquote, pre,

    a, abbr, acronym, address, big, cite, code,

    del, dfn, em, img, ins, kbd, q, s, samp,

    small, strike, strong, sub, sup, tt, var,

    b, u, i, Center.

    DL, dt, dd, ol, ul, li,

    fieldset, form, label, legend,.

    table, caption, tbody, tfoot, thead, tr, th, td,

    Article, aside, canvas, details, embed,

    Figure, figcaption, footer, header, hgroup,

    menu, nav, output, ruby, section, summary,

    time, mark, {audio, video

    margin: 0;

    padding: 0;

    border: 0;

    do-size: 100%;

    font: inherit;

    vertical-align: baseline;

    }

    do {}

    do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif.

    do-size: 12px;

    text-align: left;

    }

    .title {}

    do-family: Segoe, "Segoe UI", "DejaVu without", "Trebuchet MS", Verdana, without serif.

    do-size: 18px;

    do-variant: normal;

    make-weight: normal;

    }

    . Bold {}

    do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif.

    make-weight: bold;

    }

    . Border {}

    background-color: #FFF;

    border: thick solid #000;

    }

    . LinkColor {}

    color: #609;

    do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif.

    }

    table {}

    margin: 0px;

    padding: 0px;

    border-top-width: 0px;

    border-right-width: 0px;

    border-bottom-width: 0px;

    border-left-width: 0px;

    border-top-style: none;

    border-right-style: none;

    border-bottom-style: none;

    border-left-style: none;

    }

    container-.text {}

    padding: 4px;

    Width: 350px;

    }

    . Container {}

    border: 8px solid #000;

    }

    {.justify}

    text-align: justify;

    }

    {.leftcontainer}

    Width: 300px;

    }

    < / style >

    < / head >

    < body >

    < table width = "741" cellpadding = "0" cellspacing = "0" style = "border: background-color: #FFF;"

    border: thick solid #000; padding: 0px; margin: 0; ">

    < tr > < td colspan = "2" style = "padding: 0px;" "" "margin: 0px ' > < img src =" http://www.Juran.com/downloads/header_.png "style =" margin: 0px; " padding: 0px; border: 0px; "/ > < table > < /tr >

    < b >

    < td valign = "top" style = "font family:"great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " do-size: 12px; text-align: left; padding: 0px; margin: 0px; "" "width ="327px"> < img src =" http://www.Juran.com/downloads/header_bottom.png "style =" margin: 0px; " border: 0px; padding: 0px; » />

    < div style = "padding: 4px;" Width: 350px; Width: 350px; ">

    < style p = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" do-size: 12px;

    text-align: left; "> < span style =" do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " make-weight: bold; "> more organizations rely on Juran QbD </span > and not only because the quality of design is in itself a proven methodology, but also because it is rooted in the fundamental techniques of Juran. "Recognize many eminent practitioners of Juran < a href ="http://www.amazon.com/Juran-Quality-Design-Planning-Services/dp/0029166837/ref=sr_1_1?ie=U TF8 & qid = 1374850769 & sr = 8-1 & keywords = juran + on + quality + by + design"style =" color: #609; do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif. "" > design for world class quality < /a > as the < a href = "http://www.qualitydigest.com/inside/quality-insider-column/chronology-quality-part-1.html"style ="color: #609; do-family:"Lucida Grande","Lucida Sans Unicode"," Lucida without "," DejaVu without ', Verdana, without serif. "> < /a > base to develop their innovative and creative design initiatives; don't just pale imitations. < /p >

    < style p = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" do-size: 12px; text-align: left; "> < br >

    " < a href =" http://www.Juran.com/downloads/Juran_CS_EHRSchedulingandRegistration_2012.pdf "style =" color: #609; " do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif. "> click here < /a > to the deployment of QbD for a detailed case study describing Juran using DFSS in a large hospital for children, the process for planning and registration of electronic health records, greatly increased accuracy performance and patient satisfaction. < /p >

    < / div >

    < table border = "0" align = "center" >

    < b >

    " < td > < a href =" http://www.Juran.com/ "> < img src =" http://www.Juran.com/downloads/images/Juran-logo-Small.png "width ="144"height ="48"/ > < / a > < table > "

    " < td > < a href =" https://www.Facebook.com/JuranInstitute "> < img src =" http://www.Juran.com/downloads/images/FB.gif "width ="29"height ="29"/ > < / a > < table > "

    " < td > < a href =" https://Twitter.com/Juran_Institute "> < img src = ' http://www.Juran.com/downloads/images/Twitter.gif "width ="29"height ="29"/ > < / a > < table > "

    " < td > < a href =" http://www.LinkedIn.com/company/Juran-Institute "> < img src =" http://www.Juran.com/downloads/images/LinkedIn.gif "width ="30"height ="29"/ > < /a > < table > "

    " < td > < a href =" http://www.YouTube.com/user/JuranInstitute "> < img src = ' http://www.Juran.com/downloads/images/YouTube.gif "width ="29"height ="29"/ > < / a > < table > "

    < /tr >

    < /table >

    < p > < /p > < table >

    < td > < div style = "padding: 4px;" width: 350px; height: 480px; "> < style p =" do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " do-size: 12px;

    text-align: left; "> < span style =" font family: Segoe, "Segoe UI", "DejaVu without", "Trebuchet MS", Verdana, without serif; " do-size: 18px; do-variant: normal; make-weight: normal; ' > QBD GIVES MEASURABLE RESULTS </span > < br >

    Also known as DFSS, DFLSS, DMADV and DMEDI, < span style = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" "make-weight:" BOLD ";' > design quality is a structured process to develop best-in-class products that ensure your client needs are met." </span > organizations around the world move quickly from a corrective operational mindset to proactive prevention. Now, they must transition to an innovative way of thinking, to aggressively increase revenues while continuing to reduce costs. That reduction in life cycle of the products, reduce time-to-market for product is a competitive necessity. < span style = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" make-weight: bold; ' > the quality of design allows businesses to meet these challenges and demands. </span > < / p >

    < style p = "font family:"great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " do-size: 12px; text-align: left; ' > Products and services can no longer be designed without understanding the drivers of the acceptance of the product and scalability. QbD facilitates innovation happen in designing products and processes & #8212; including controls & #8212; to produce the final output. < span style = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" "make-weight:" BOLD ";' > it is essential to design output from the first time and a timely and cost-effective manner </span > < / p >"

    < style p = "font family:"great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " do-size: 12px; text-align: left; "> < span style =" font family: Segoe, "Segoe UI", "DejaVu without", "Trebuchet MS", Verdana, without serif; " do-size: 18px; do-variant: normal; make-weight: normal; ' > JURAN CAN DO for YOU </span > < br >

    Juran will work with your team to create the solution that best fits your needs. If you need a change of culture in the long term, a Lean Six Sigma program, or just a quickie, < span style = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" "make-weight:" BOLD ";' > we will develop the best solution to fit your needs." </span > < / p >

    < style p = "font family:"great Lucida', 'Lucida without Unicode', ' Lucida without "," DejaVu without ', Verdana, without serif; " do-size: 12px; text-align: left; "> you are ready to restart, streamline processes, improve efficiency and get measurable results? If you, < span style = "do-family: 'Great Lucida', 'Lucida without Unicode', ' Lucida without", "DejaVu without ', Verdana, without serif;" "make-weight:" BOLD ";' > you're ready for Juran." </span > contact us today by telephone to the 800.338.7726, or by e-mail, < a href = "mailto:[email protected]" style = "color: #609;" do-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida without", "DejaVu without ', Verdana, without serif. ">[email protected]< /a >. < /p > < / div > < table >

    < /tr >

    < /table >

    < / body >

    < / html >

    This is how it should look (that's in DW, it has a black border all around)

    dw.JPG

    This is what it looks like when we send it in outlook to test:

    outlook.JPG

    If anyone has comments, it would be greatly appreciated!

    Thank you!

    Embedded CSS are generally deleted emails and will not work.

    Use nested tables and don't make your primary table not exceeding some 600px wide.

    HTML e-mails: what you need to know

    http://ALT-Web.com/articles/HTML-emails.shtml

    Nancy O.

  • Why keep the text jumping

    The drafting of emails, text keeps jumping, so that sections of it are found in other parts of the text. It's not me the wrong key.
    Any advice would be appreciated
    Thank you

    Hello

    Some Thunderbird problems can be solved by make a clean reinstall. This means that you remove the Program Files of Thunderbird then reinstall Thunderbird. Please follow these steps:

    1. Download the latest version of Thunderbird from http://www.mozilla.org/en-US/thunderbird/ and save the file to install it on your computer.
    2. Once the download is complete, close all windows in Thunderbird (click on Exit/Quit the menu button on the right).
      • Windows:

        • C:\Program Files\Mozilla Thunderbird\
        • C:\Program Files (x 86) \Mozilla Thunderbird\
      • Mac: Remove Thunderbird in the Applications folder.
      • Linux: If you installed Thunderbird with the distribution-based package manager, you must use the same way to uninstall: see Install Thunderbird on Linux. If you have downloaded and installed the binary package of the Thunderbird Download Page, simply remove the thunderbird folder in your home directory.
    3. Now, go ahead and reinstall Thunderbird:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Thunderbird after you click the Finish button.

    WARNING: Uninstaller or the use of Thunderbird and not run a third remover as part of this process, because who could permanently delete your Thunderbird data, including but not limited to, extensions, email, personal settings and the saved passwords. These can be recovered, unless they have been backed up on an external device!

    Please report back to see if this helped you!

    Thank you.

  • Keep the text formatting by using dynamic text...

    Hello

    I try to keep the format of a text I wrote in Word or InDesign CS4 using a dynamic text field (multiline)...

    So far, I have unsuccessfully...  Does anyone have any suggestions?

    Thanks in advance,

    GGour

    Unfortunately, you can not paste html formatting in textfields.  While you can format the textfield itself for font, size, color and other features, html formatting must be affected by the code, and Flash supports only a limited number of html tags.

  • Remove circle guide while keeping the text on the way...

    I am fairly new. I used the ellipse to create a path for the text. I don't want the circle to appear. I removed the line and filling, but the blue guide is always there. How can I get rid of this? Thank you! Susancircle.jpg

    What version?

    In CS6

    Have you tried to view - options - hide the contours of the block

  • Wmp to wav conversion: is it possible to do and keep the text?

    I spent a few days by typing the titles of songs on the OMP file and when I went to convert WAV or burn them, the titles did not transfer over.

    I don't want to retype it.  Is there a simple way to convert the wpm to wav (which he was originally) and keep all securities?

    Hello

    (1) how are you trying to convert the file?

    (2) which is the exact file you are trying to convert?

    I suggest you to see link below and check if it helps.

    http://Windows.Microsoft.com/en-us/Windows-Vista/convert-music-videos-and-pictures-from-one-format-to-another

  • On two pc's, 1 Wired kb &amp; maus, 1 wireless, they had to keep - right click on the page - to keep the text page &amp; scroll operation. Difficulty?

    Have two Dell optiplex home computers. The two same operating system windows 7. Use a wired keyboard and mouse and the other wireless.
    On Web pages only using the same browser firefox on both pc, keyboard entry text constantly updated in a dialog box like this one and to use the scrolling of the mouse or the keyboard, the mouse has to right click on the page to reactivate the scrolling or entering text.
    This most often happens on web pages than others, and the problem is the same on both PCs. Used to access the internet wireless modem.

    The result is very encouraging to do exactly what is suggested.

    I've had the mode without failure for an hour now and there is no re-emergence of the issue of page web text of scrolling/entry so far. I'm now working my way through the process of elimination and will do the same for the other pc and report today come back later.

  • BlackBerry Q10 clear previous Messages - remove only emails, keep the texts and call logs

    Please indicate how I can delete all previous emails (without highlighting each e-mail message) and not to delete all my SMS and phone logs at the same time?

    Thank you

    Go to your Hub. Click on the left icon below, everything what he could be and select the icon associated with your e-mail account which you want to remove these previous emails. At the top, just under the name of your e-mail account, will be a date. This will be the last date for which you received emails. Hold the date and in the context menu, select delete prior (it's the icon of the trash downstairs). This will remove every email since that date and the older but will not affect the logs of your SMS or phone.

    I hope that helps you.

Maybe you are looking for