Text block ignores dressing

I created blocks of text with a script, but I want to ignore the text wraps as you can with the gui text frame options. I can't understand. Can someone help me please?

myTextFrame.textFramePreferences.ignoreWrap = true;

Tags: InDesign

Similar Questions

  • text block, no packaging, moving up like browser width decreases

    Hello

    I have a block of text in one of my breakpoints, that, when I adjust my browser window to check collisions, etc., he dresses not and moves upward into my position.  on all other breakpoints, wrapped as it should, and other blocks of text on the BP even behave as they should. I even tried to delete the offender and copy of text blocks in the operation, but he always does.  Any thoughts?

    See you soon

    06:00 here...

    delete the image under the text

    Insert a slider widget to empty library instead of the drop down menu on the right

    remove the arrows, next, previous etc just make a single 'keeper' for the image and add images in the widget

    size on page etc as the original image. Make sure that you use the layers panel to organize the slider under the text.

    which toured... I can send you your original with the change file if you are having trouble... nice site by the way.

  • Table header row gets cut off from view when the text block is resized

    I'm designing a table that has a header row, 6 body rows and 5 columns. I want the header skewed to 20º and rotation type of needles from the same angle. Knows someone who worked with tables, it is not possible to rotate the text to this value via the parameters of the cell, but the job is to split the table into two blocks of text. The lower sash will be the body lines, but the Executive must have the header where it gets skewed to the specified angle. The text must be created in separate and then cut and paste frames in each column header and then it can be rotated.

    The problem I have is when I try to drag the bottom of the text block to the top while the header remains visible, the header gets cropped view. The only way to prevent it from is Cup is I leave the first line in the frame, but then it gets skewed is not what I want. It seems that the block of text ignores the header still exists. The screenshot below has two tables. The top version is the one that I want to apply the effect to. The bottom has the effect, but his top line is a line of body (not a header).

    Table_2.jpg

    I don't think that it is possible to have a heading row without at least a body line in the framework...

  • Rotate the text with the character within the text block style

    I would like to apply a paragraph or character style to a certain character in a text frame. I would need to rotate 90 degrees in the framework, separate from the other text. Is this possible?

    Insert the text block in the block of text as an anchor and rotation you need.

  • How to put a new line in the text block using jsx?

    Hello guys,.

    I am concatenating the content of the text block using two JSX, but I want separator as a new line. I have tried \n but does not work please help how to do that.

    var  seperator = "\n" 
    frame1.textItem.contents + seperator + text;
    

    Hi UpendraSengarr,

    Try this:

    var frame1 = app.activeDocument.activeLayer;
    var  seperator = "\r";
    frame1.textItem.contents = frame1.textItem.contents + seperator + "text";
    

    Have fun

  • Tutorial of the postcard - can't get the new text block started

    It is a very basic question. I do the tutorial of postcard. I'm unable to get a second text block began on the front of the postcard to the time of the event. I take the text tool and drag it, but it does not create a new text frame. He thinks I want to type the information in the context of existing text.

    I hit escape repeatedly to try and out the first block of text, clicking on the tool text several times, tried shift and click, put the date in a Microsoft Word's doc information and then tried to 'Place' - all to nothing done. How can I get the file to understand that I am creating a second block of text?  How to get out the original text block?

    This seems to be a problem for me, I can't "uncheck" any tool path - by clicking on another tool or hit escape. It does not work. I close the file, then open it new in order to use a new tool. Very frustrating and time-consuming. I work under Windows, if that helps.

    Thank you.

    Try to zoom a little and start your slide text tool starting off the page on the region of cardboard. Using the black selection tool, you can drag to the page and resize it using the bounding box handles.

  • How to bind the text blocks between pages?

    Hello

    I searched all autour for this, and I'm guessing that the answer could be so simple that no tutorial it doesn't even mention:

    How can I link the blocks of text between pages? I made a block of text in each master page and then connected one left with the one on the right. Indeed, all of the text in the document is linked from the page on the left of the right-hand page. But how do I link the page on the right with the following two pages 'below' in the document?

    If I'm not clear, here is another attempt to explain: I'm going to insert a lot of text in a document, and I already know the size and the type of text block, I want the text inserted. When I put the text in the left side, it connects (goes on) the block of text on the right side. But it stops there. So I have to manaully through both pages, which connects the right page "at the top" with the left 'below', page by clicking on the image by clicking on the small arrow in the lower right corner, and clicking on the next page below. There must be a way to organize it in master pages or in some other way?

    Thanks in advance for helping me with this problem of small size, but huge!

    Best

    Kim

    Two things...

    For "automatic formatting" to work with Captain linked frames page, you must NOT release the Master frame before placing the text, and you must click inside the image area, not any sort of guide.

  • Why my text block go dark?

    Hi, I had a big problem when editing on indesign.

    Here's the original appearance before that I have to insert the picture, everything is perfect

    1.png

    as you can see, the block of text is blue light now.

    but, when I insert the image below my page, it will...

    1.png

    the text block turns into dark blue and the words gets more daring than the previous.

    It is of course bolder↓

    1.png

    He drags crazy me.

    Please help me ~ ~ ~

    Thank you very much!

    Looks like the picture transparency, which will call the merger of transparency of the document workspace. Try setting the merger in RGB space. If the document is printed on an offset press, you will need to look for the text to be converted to 4-colour CMYK when the merger is RGB.

  • Muse: Text blocks the lower graphic States

    I created buttons with rollover States: Normal with a 30% opacity. Rollover, Mousedown and Active: shadow 100% more drop. It is related to the landing page. So far so good.

    I want the text for each button to be 100% opacity all the time (he has a shadow too) so it is easy to read (not spent 30%), so it is in a separate text block, also linked to the landing page.

    button1.jpg

    In preview mode, when I rollover, mousedown, etc. the button background works as it should (go from 30% to 100%).

    button2.jpg

    Until he hits the block of text. He text block "shields" (for lack of better term) the State and the button returns to its Normal state:

    button3.jpg

    I tried to solve this with layers without result. So... my question is the following:

    How can I get the text above the button in a constant state of 100% and do not have the text block are interfering with the States below.

    Of course, I forgot something. What Miss me?

    Thanks in advance.

    The easiest way to do this is to use the "status button" comes with Muse widget.

    Here is a small tutorial: The Mighty State button Widget - Video Tutorial - MuseThemes.com - YouTube

  • C# / JavaScript how to set the primary text block?

    Hello

    I'm working with InDesign scripting API with c# for my work. I'm new to both the InDesign scripting API and using InDesign as well.

    I am building a gap of master, with blocks of text so that the text block on the left page of the cheese would pass in the block of text on the right page.


    I read there is the option block of primary text for the master spread, but I can't seem to understand how to use it.

    Is there someone who could show me an example of script code to define the framework of primary text for a master page/spread?


    Here is the code I have for now.

    The question I have is in line 53, where when I try to run it, it gives me a very generic error 'Invalid object for this request.', which leads me to believe I'm doing it wrong.

            public static byte[] CreatePageBasedOnCreatedMasterSpread(string savePath)
            {
                Application application = ActivateInDesign();
    
    
                // Create new document
                application.Documents.Add(true, application.DocumentPresets.FirstItem());
    
    
                // Get active document and change some settings
                Document document = application.ActiveDocument;
                document.DocumentPreferences.FacingPages = true;
                document.DocumentPreferences.PageWidth = 210;
                document.DocumentPreferences.PageHeight = 297;
    
    
                document.DocumentPreferences.CreatePrimaryTextFrame = true;
                document.TextPreferences.SmartTextReflow = true;
    
    
                MasterSpread masterSpread = document.MasterSpreads.Add();
                masterSpread.BaseName = "CustomMasterSpread";
                masterSpread.NamePrefix = "AC";
    
    
                //Set the document's ruler origin to page origin. This is very important
                //--if you don't do this, getting objects to the correct position on the
                //page is much more difficult.
                document.ViewPreferences.RulerOrigin = idRulerOrigin.idPageOrigin;
    
    
                Page leftPage = masterSpread.Pages.FirstItem();
                Page rightPage = masterSpread.Pages.LastItem();
    
    
                leftPage.MarginPreferences.Top = rightPage.MarginPreferences.Top = 10;
                leftPage.MarginPreferences.Bottom = rightPage.MarginPreferences.Bottom = 10;
                leftPage.MarginPreferences.Left = rightPage.MarginPreferences.Left = 30;
                leftPage.MarginPreferences.Right = rightPage.MarginPreferences.Right = 20;
    
    
                // Create a text frame. Do not add text to this, as this is a master spread text frame.
                // Link their flow together
                TextFrame primaryFirstPageTextFrame = leftPage.TextFrames.Add(document.Layers.FirstItem(), idLocationOptions.idUnknown, leftPage);
                TextFrame primarySecondPageTextFrame = rightPage.TextFrames.Add(document.Layers.FirstItem(), idLocationOptions.idUnknown, rightPage);
                primaryFirstPageTextFrame.NextTextFrame = primarySecondPageTextFrame;
                //Set primary text frame of master spread to be the two linked textframes
    
    
                primaryFirstPageTextFrame.GeometricBounds = GetPageBoundsWithMargin(leftPage, document);
                primarySecondPageTextFrame.GeometricBounds = GetPageBoundsWithMargin(rightPage, document);
             
                masterSpread.PrimaryTextFrame = primaryFirstPageTextFrame; //This causes the error
             
                return GetFileData(document, savePath);
            }
    
    

    I noticed the JavaScript API that is very similar to c#, so it would be useful if I get a response from JavaScript.

    Hi Michael,

    Basically, you can do something like this (in ExtendScript):

    //Store value:
    var storedPreset = app.documentPresets[0].createPrimaryTextFrame;
    
    //Let's set it to true:
    app.documentPresets[0].createPrimaryTextFrame = true;
    
    //Add the document, name the master as you wish etc.pp. :
    app.documents.add
    (
    
        {
            documentPrefreneces :
                {
                    facingPages : true
                    ,
                    pageWidth : "210 mm"
                    ,
                    pageHeight : "297 mm"
    
                }
        }
    
    );
    //Reset to stored value:
    app.documentPresets[0].createPrimaryTextFrame = storedPreset;
    

    Uwe

  • Script to remove all the images, text blocks, and the page numbers on a layer

    I have a 364 pages with 322 illustrations, photographs mainly, for offset printing.

    The photographs will be be overprinted with the varnish on a plate in the fifth, and I set it up as follows:

    On a new layer, (double layer 1) all photos are removed, but not their mounts.

    The frames are then filled with 100% black.

    All text blocks and page numbers must also be deleted.

    I realize I could have done this job easier if I put all the images on their own layer first, but unfortunately I do not have.

    And I don't do myself, script, so I was wondering if anyone has a script that will do...

    With the help of CC 2015.1 on Windows 7.

    Today, I don't have time to finish, which gave time to until now is the following:

      var myDocuments = app.documents.everyItem();
        var myLayers = myDocuments.layers.everyItem();
        var myStories = app.activeDocument.stories.everyItem().getElements();
        var myDoc = app.activeDocument;
        var myLayer = "palette"; //Add your layer name here
        var NewLayer = myDoc.layers.item(myLayer).duplicate();
        myDocuments.pageItems.everyItem().locked = false;
        myLayers.locked = false;
        myDoc.layers.item(myLayer).visible = false;
        NewLayer.name = "SampleNew";    //Add your new layer name here
    
                    re();
                    function re(){
                        var link, image;
                        var openDocs = app.documents;
                        var openDocsLen = openDocs.length;
                        for (var d = 0; d < openDocsLen; d ++){
                        currDoc = openDocs[d],
                        links = currDoc.links,
                        counter = 0;
                        myLayer.locked = true;
                        myDocuments.layers.item(myLayer).locked = true;
                            for (var i = links.length-1; i >= 0; i--) {
                                if (links[i].hasOwnProperty('relink')) {
                                    try {
                                        link = links[i];
                                        image = link.parent;
                                        image.remove();
                                        counter++;
                                    }
                                    catch (err) {
                                        $.writeln(i + " - " + err);
                                    }
                                }
                            }
                        }
                      }
    
            var myStories = app.activeDocument.stories.everyItem().getElements();
            for (i = myStories.length - 1; i >= 0; i--){
                var myTextFrames = myStories[i].textContainers;
                for (j = myTextFrames.length - 1; j >= 0; j--){
                myTextFrames[j].remove();
                }
            }
    

    If nobody finished the second finalized.

    Hug!

  • Problem with the text block, put in place when it is used on the page number marker

    Hello!

    I would use the text block on the marker page number on the master page in Indesign. The text block should change width when increases the page number. It does not work. What happens is that when the number of page moves a two-digit figure, the numbers tightened itself (compressed on top of each other) and the block of text changes size unless I drag on it (which means I have to manually unlock the master page first).

    I'm doing something wrong, or is this a bug?

    Thank you!

    Altogether! So, you can use a rule of Pará to simply do it!

  • Move the letter outside the text block

    Is it possible to move a letter outside of text without text block movement.

    Move text.PNG

    2 grep and regex 1 styles!

    styles 2 char:

    With 2 grep styles paragraph style

    WARNING: / / 1: ^ normal-space / / 2: ^ normal-space\K.

    A regex:

    WARNING: / / find: \r (? normal space) / / replace with: $0normal-space

    Cool and easy!

  • How to get the text block, given anchor (~ a)

    I need to dynamically position anchored with anchor text blocks (but the relative position will be different for each anchor). If I grep ~ i can get the anchor marker - how to get the text block once I got this marker?

    Thank you

    The marker "anchor" is a character of "simple".

    So you can do the following if you have identified the character (and in this example selected it):

    //Start with an "Anchor Marker" selected:
    var myCharacter = app.selection[0];
    
    if (myCharacter.texts[0].textFrames.length == 1){
    
    var myAnchoredTextFrame = myCharacter.texts[0].textFrames[0];
        //do something with the anchored text frame:
        myAnchoredTextFrame.fillColor = "Yellow";
    
        };
    

    You can set the myCharacter variable differently, if you know the index of the character according to his history of parent.

    Or if you have found the character as part of a search GREP or TEXT by ExtendScript (JavaScript).

    Uwe

  • Find the first paragraph of each specific chained text block...

    Hi all

    I have this kind of layout:

    Capture d’écran 2015-08-27 à 10.46.02.png

    Capture d’écran 2015-08-27 à 10.46.20.png

    ... with several groups of text blocks chained [red, green,...].

    I want to find in the identity document all the first para of each text block defined by a "BLOCK of TEXT GREEN" object style and apply a paragraph style "GREEN PARA STYLE while FIRST THE block"! as:

    Capture d’écran 2015-08-27 à 10.47.01.png

    Thank you much for the help!

    Here is a new version:

    main();
    
    function main() {
        if (app.documents.length > 0) {
            var story, containers, container,
            doc = app.activeDocument,
            stories = doc.stories;
    
            try {
                app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
                app.findTextPreferences.appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE FIRST ON BLOCK");
                app.changeTextPreferences.appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE");
                doc.changeText();
                app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
            }
            catch(err) {
                $.writeln(err.message + ", line: " + err.line);
            }
    
            for (var i = 0; i < stories.length; i++) {
                story = stories[i];
                containers = story.textContainers;
                if (containers.length > 1) { // process only chained text blocks
                    for (var j = 0; j < containers.length; j++) {
                        container = containers[j];
                        if (container.appliedObjectStyle.name == "GREEN TEXT BLOCK") {
                            try { // if the style or the 1st paragraph is missing, write error message to console and continue
                                container.paragraphs[0].appliedParagraphStyle = doc.paragraphStyles.item("GREEN PARA STYLE FIRST ON BLOCK");
                            }
                            catch(err) {
                                $.writeln(err.message + ", line: " + err.line);
                            }
                        }
                    }
                }
            }
        }
        else {
            alert("Please open a document and try again.", "Error", true);
        }
    }
    

Maybe you are looking for

  • I can't sort my boomarks in A - Z

    I use a MacBook with OS 10.8.5 on board and no matter how many times I sort my boomarks in A - Z, again and again and again, the next time that I check them that they went back to be unsorted again! Why? It makes me crazy!

  • Re: Conflict of resources to the Satellite A100

    Hello I have a 100 and when I start it up I get the message "conflict of resources ERROR - PCI Serial Bus Controller in slot 02 Bus: 02, device: 0a, function 00" Press to load the default values, installation This problem has only started recently. C

  • A program running in the background of my sequence

    In a first time to run a program in the background of my Teststand sequence, I'm trying to accomplish the very well detailed procedure that follows to run asynchronously a VI (my future intention is to call my a VI program which is running in paralle

  • Black screen problem and I have a real Windows XP Home Edition. Help, please!

    I have a genuine Windows XP Home Edition came with my Dell computer. After downloading the critical updates a few weeks ago, I now get the black screen and the message window saying that I may be victim of a counterfeit and that my system may be at r

  • my monitor suddenly time everything appears upside down

    My son was playing a video game and now the monitor displays everything backwards. need help... ??