Make the same text of length and distribute evenly

Hi all

I'm creating a series of posters and I need to have lines of text with simple words or phrases of the same length. Obviously would the font size need to change upwards or downwards according to the number of letters per word/sentence that needs to be pressed in the specified length.

The distance between the lines must be the same (IE 2mm).

For the moment, I do these manually, that is to say, I am typing the text and manually enter the width and then align all the words and phrases to create a rectangular block of text. Also, I manually adjust the distance between each line, as using the distribution does not have the desired effect...

Y at - it anyway to sort coins to automate the process above that I need to do a few posters with different texts.

Thanks in advance for your help.

Here you can select your text frames before the race. It should work in CS4 and ealier, I'll have access to CS5 tomorrow, will be testing there, hope it works too.

#target Illustrator

//  script.name = textBlock_CS4.jsx; // not tested on CS5 yet.
//  script.description = converts selected point textFrames into a Block of Text;
//  script.required = one document with at least two selected text frames;
//  script.parent = carlos canto // 12/4/11;
//  script.elegant = false;

if (app.documents.length > 0)
    {
                    var sel = idoc.selection;
                    if (sel.length>1)
                              {
                                        var width = prompt ("Enter desired Text Block width", 300, "Text Block"); //
                                        if (width!=null) // quit if pressed Cancel
                                                  {
                                                            var idoc = app.activeDocument;
                                                            //var ilayer = idoc.activeLayer;

                                                            var dupLayer = idoc.layers.add(); // add a layer to place the new block of text
                                                            dupLayer.name = "Text Block";
                                                            var blockGrp = dupLayer.groupItems.add(); // add a group to final output
                                                            blockGrp.name = "Text Block";

                                                            var left = idoc.width/3; // place block at the bottom 3rd of the page
                                                            var top = idoc.height/3
                                                            var spacingMM = prompt ("Enter spacing in Millimeters", 2, "Text Block"); // text lines spacing in mm
                                                            var spacingPts = new UnitValue(spacingMM,"mm").as ("pt") // convert to points

                                                            for (i=0; i 1
                    else
                              {
                                        alert ("Select at least 2 textFrames before running");
                              }
     } // end at least one document
 else
    {
        alert ("There are no open documents");
    }

Post edited by: CarlosCanto

Tags: Illustrator

Similar Questions

  • How to make the default text size and line spacing in small Sticky Notes?

    How to make the default text size and line spacing in small Sticky Notes

    Hello

    I suggest that you try the method below and check if it helps.

    Method 1: analysis of auditor of file system (CFS)

    System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files. To perform a scan of the SFC, check out the link: https://support.microsoft.com/en-us/kb/929833.

    Note: the steps for Windows 8/8.1, works perfectly with Windows 10.

    Method 2: clean boot

    A clean boot is executed to start Windows by using a minimal set of drivers and startup programs. This will eliminate software conflicts that occur when you install a program, an update or when you run a program in Windows. Follow the link to perform the clean boot: https://support.microsoft.com/en-us/kb/929135.

    Kind regards

    Angelo bar

    Microsoft community

  • When I use Windows Maovie Maker, the program keeps freezing upwards and says that it does not.

    When I use Windows Maovie Maker, the program keeps freezing upwards and says that it does not. I close and try again, but get the same question. in the past, I used this program very well without any problem. Now I do one or two things in the tyring program to create a video and it freezes. Any suggestions how I can fix this problem?

    The three main causes of problems of Movie Maker are:

    (1) incompatible or damaged source files.
    (Photos / videos / Audio clips)

    Several formats are apparently compatible with
    Movie Maker, but the most reliable choices are:

    Photos - bmp
    Video - wmv or dv - avi
    Audio - wav, wma, wmv

    (2) problems with video filters

    Open Movie Maker and go... Tools / Options /.
    Compatibility tab and disable all filters / OK.

    If this does not help, try going back to the same
    location and on the left, click on the 'all the default settings.
    button. / OK.

    (3) too large or complex project

    Create small projects.
    Add less Transitions, effects, etc...

  • How to make the same effect of scrolling like Tumblr (beginning Web page) with Adobe Muse?

    How to make the same effect of scrolling like Tumblr (beginning Web page) with Adobe Muse?

    I used Adobe Muse since the day it first came out, I played with the timings and effects of scrolling a lot. Tumblr landing page scrolling is very nice, I can see why you want a similar effect. Something similar could be created using the scrolling in AdobeMuse effects, especially if you familiarize yourself with the scrolling of the transparency. Start with a color block simple try it scroll up to double speed, then add items to the next page with the scrolling transparencies. Best practical work, use layers to do this, it makes things so much easier when you need to edit the page.

    Once you have played with the effects of scroll, you will begin to note how the elements of the Tumblr page can be re-created. This will be a sharp learning curve, but very doable in Muse for a similar effect. You will have a number of layers with page elements and new blocks of color on each layer when your done, fine tweaking the movement of scrolling and timings will make perfect. Good luck.

    If not, try adding an animation on board, you can create a Web page in Adobe Edge, but again... probably much more involved learning with this option.

  • How to apply/generalize the same text of failure in all Failure_Caption in the project in order to avoid manually change in each legend of failure?

    How to apply/generalize the same text of failure in all Failure_Caption in the project in order to avoid manually change in each legend of failure?

    For example the 'wrong' text in all the legend of failure

    You can set the default text that appears in all the legends of failure for the quiz via the parameters for the Quiz questions.  However, after you have made changes here that will affect quiz slides that you add AFTER that, change.  There is no way to change the text in all the legends of defect EXISTING at the same time.  You will have to select each one and replace the current text manually.  If you firmly believe that you will need to do this more than once, you might consider using a user Variable that displays as the value in the legends of the failure.  Then you can edit them while changing just the value of the user variable.

  • lov 2 in the same text element

    I create 2 LOV, I want to show in the same text element, the problem is: 1-) I want the code I have to write in the key_lstval. 2-) during the creation the 2 LOV, what I must do when I get the process of LOOKING up the VALUE return it... should I assign the text element LOV or leave it empty, because they are 2 lov allocation in the same piece of text. Thank you for your help

    == Use this one... and then check and confirm ==

    Start
    If: PYPSTSM_DATE > sysdate can
    SET_ITEM_PROPERTY ('PYPSTSD_STATUS_IND', LOV_NAME, 'LOV353');
    LIST_VALUES;
    on the other
    SET_ITEM_PROPERTY ('PYPSTSD_STATUS_IND', LOV_NAME, 'LOV368');
    LIST_VALUES;
    end if;
    end;

  • How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can?

    Switch issues. Help, please.

    How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can? We already checked the firewall as a question, that it was not, and now, we are puzzled.

    Well, I know that the issue is long-term... believe me, it's a long, but as they say, the devil is in the details. Anywho, the question is, my grandfather has a HP laptop, which for two years has been able to run through a Linksys switch to his router and connect its printers to his laptop. About two months ago it suddenly doesn't work like that. Now, it works fine if it plugs directly into the router/Ethernet. My uncle suggested that the switch was bad, but after testing the same port, cable and all, the switch worked well for him. ' GRAMPS really needs this answered, but someone else, it is called can not understand and now I, in turn, ask you all for what you can offer. Here are the ideas that we have already discredited.

    -Switch bad: as above, is that this particular laptop, even under identical conditions, the works of my uncle very well.
    -Bad NIC: debunked through the fact we connected to the computer directly to the router and it worked fine.
    -Bad configuration of the firewall: we have disabled the firewall (please do not notice, he wasn't the smartest idea, we already know) and even if she recorded the switch exists, the internet is always triggered when you are connected with the switch.

    Thanks in advance for any assistance that you can provide and Merry Christmas to you all.

    It would be useful to consult the results of the ipconfig/all command both when it is connected to the switch and when it is connected directly to the router.  In addition, what is the model of the switch?

    To save the manual copy and the new hits of the ipconfig/all command output-

    First connect through switch.
    Open a command prompt window (start > run > cmd > OK)
    Type the following lines in the black command prompt window and press ENTER after each line

    echo "Connected via the button" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".

    Now connect directly to the router, type the following lines in the command prompt window and press ENTER after each line

    echo "Connected to the router" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".
    Notepad '% UserProfile%\Desktop\ipinfo.txt '.
    output

    Copy the contents of the Notepad window in your response (if you use the laptop when it is connected directly to the router) or close the Notepad window, and then copy ipinfo.txt of the laptop to the Gramps in a USB FlashDrive you can connect to any computer allows you to answer.

    You can delete ipinfo.txt on the desktop when you are finished.

  • Error 0x800CCC0F Outlook Express can duplicate the same messages from yesterday, and I can't delete them.

    Original title: outlook can duplicate the same messages from yesterday, and I can't delete them.

    I use outlook express for my e-mail yesterday same emails keep coming, I tried to remove them, but can't everytime I open outlook I get the same


    The other post:
    I opened outlook express the same messages from yesterday, continue to repeat every time error 0x800CCC0F had no new messages and I can't delete these messages

    Hi glendamcmillan,

    You did it all change hardware or software on your computer before this problem?

    You can follow this link & check if the problem persists:

    Troubleshooting error messages that you receive when you try to send and receive e-mail in Outlook and Outlook Express

    Hope the helps of information.

  • I get the same files repeat KB and how to stop it?

    I get the same files repeat KB and how to stop it?

    The KB record number are KB2478663 and KB2518870.

    Mike

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update/how-to-stop-the-KB-file-from-keeping-repeating-to/21fb21b2-9a13-4261-9c1a-e7ef90a9e6a0

  • Set a style different cases for the same placeholder (data fusion) used two times in the same text

    Hello.

    I have a document with some parties updated with the fusion of data (via placeholders). Is it possible to set a style of different cases for the same placeholder in the same text. See the example:

    Mike runs its < < vehicule_placeholder > > in the city. But its < < VEHICULE_PLACEHOLDER > > is meant to be shared.

    If the value of this placeholder in the file merger is 'bike', the sentence should be:

    Mike runs his bike in the city. But his BIKE is meant to be shared.

    Is this possible? How?

    Thank you.

    You can do it. A character style for this configuration placeholder text, set in all caps.

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • Creative cloud says that he's broken and says that I have to download and (re) install to fix it. I'm doing this, and he said that must be creative to be downloaded cloud and (re) installed. I do it it says the same thing. On and on. What's wrong?

    Creative cloud says that he's broken and says that I have to download and (re) install to fix it. I'm doing this, and he said that must be creative to be downloaded cloud and (re) installed. I do it it says the same thing. On and on. What's wrong? Any difficulty?

    See the link below:

    https://forums.Adobe.com/thread/1858669

  • How to export data to excel that has 2 tables with the same number of columns and the column names?

    Hi everyone, yet once landed upward with a problem.

    After trying many things to myself, finally decided to post here...

    I created a form in form builder 6i in which clicking on a button, the data gets exported to the excel sheet.

    It works very well with a single table. The problem now is that I cannot do the same with 2 tables.

    Because the tables have the same number of columns and the columns names.

    Here are the 2 tables with column names:

    Table-1 (MONTHLY_PART_1) Table-2 (MONTHLY_PART_2)
    SL_NOSL_NO
    MODELMODEL
    END_DATEEND_DATE
    U-1U-1
    U-2U-2
    U-4U-4
    ..................
    ..................
    U-20U-20
    U-25U-25

    Given that the tables have the same column names, I get the following error :

    402 error at line 103, column 4

    required aliases in the SELECT list of the slider to avoid duplicate column names.

    So how to export data to excel that has 2 tables with the same number of columns and the column names?

    Should I paste the code? Should I publish this query in 'SQL and PL/SQL ' Forum?

    Help me with this please.

    Thank you.

    Wait a second... is this a kind of House of partitioning? Shouldn't it is a union of two tables instead a join?

    see you soon

  • Creative cloud keeps giving me the same app updates over and over

    Overall I was happy with creative cloud and ease installation and update applications.  My only complaint is that, whenever I am asked to update an application (or applications), I STILL get the same notice of update and even ONCE, regardless of how many times I have to perform the installation.  Is not problems with my system, but it is annoying and I wonder if installs it actually happen.  Everyone knows this?

    Hi efelberg,

    For Mac, please follow the steps:

    1. navigate to ~/Library/Application Support/Adobe/AAMUpdater/1.0 and rename to 1.0.old (http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html)

    2. activate the root account and place you ~/Library/Application Support/Adobe/AAMUpdater/1.0 and rename to 1.0.old

    Root: http://support.apple.com/kb/PH11331

    Connect to the back of your account and launch of Office CC and it shouldn't give you any update prompt.

    Kind regards

    Romit Sinha

  • Access the same catalog of XP and 7

    Hello

    I added a second drive on which I have win7 RC running. Before destroying the soemthing I would ask some advice:

    Can I access the same catalog of XP and Win7?

    If you work on XP, everything is on the C: drive so that when you work on Win7 XP disk and threrfore catalogue is on drive D:\ win7 point of view. Will this be a problem? LR stores data of absolute paths in the catalog that would prevent me from doing this?

    Thanks for your suggestions.

    Franz

    McLion (+) wrote:

    Since I have the catalog and images on the XP C:, they would be seen on both D: of Win7 forcing me to update the location of the folder whenever I work another OS (bothway).

    I don't think that you still have to update the location of the folder, since the relative paths between the catalog and images will remain the same. I'm not sure, though - you should try.

Maybe you are looking for