Unthread text frames indesign

hi
i develop an indesign extension with CS extension builder 2 and flashbuilder 4.6.
how to unthread text frames ? i don't find any method or property in textframe class...
thanks
Simon

hi
thanks for your reply but it doesn't work because i want to keep the text in all textframe. I found a solution in 2 time duplic and remove :
function unstory(qui:Document){
  for each(var stori in qui.stories){
   if(stori.textContainers.length>1){
  duplic(stori);
  remov(stori);
function duplic(myStory){
                              var myTextFrame;
                              //Duplicate each text frame in the story.
                              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                                        myTextFrame = myStory.textContainers[myCounter];
                                        myTextFrame.duplicate();
function remov(myStory){
                              //Remove each text frame in the story. Iterate backwards to avoid invalid references.
                              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                                        myStory.textContainers[myCounter].remove();

Similar Messages

  • How do I unthread text frames in CS4 InDesign Mac?

    I've looked everywhere and tried what I found in Adobe help. I can't FOR THE LIFE OF ME figure out how to unthread text frames in InDesign CS4 [Mac].
    Please help. I know it must be simple.
    Thank you,
    Margot

    Run the SplitStory scipt thats in the samples in the scripts panel.
    A waord of caution, though. Splitting a threaded story caused ID to treat the text at the top of each frame as a new paragraph, even if it was caninued from a previous frame. This can result in unwanted changes like an indent, if such is called for in the paragraph style, or an extra number or bullet item in a list.

  • Unthread text frames

    hi
    i develop an indesign extension with CS extension builder 2 and flashbuilder 4.6.
    how to unthread text frames ? i don't find any method or property in textframe class...
    thanks
    Simon

    This is a discussion for the scripting forum, however you can achieve what you want using the following code.
    tFrame.nextTextFrame = NothingEnum.NOTHING;
    This is a sample code in JS, i am not very proficient in AS, but you can converet this easily into AS.
    In the above code snippet "tFrame" corresponds to the textframe which you require to unlink from the one it is linked to.
    Hope i made the point clear, and please try to post your questions on the right forum to get good response and also help people searching help on similar issues
    Manan Joshi
    - Efficient InDesign Solutions
    - MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • Unthreading text frames for Idiots

    I know there is a quick way to unthread text frames but for the life of me I cannot remember what it is. I know I can copy the text from the thread & start a new thread. But that seems like the slow way to do it. I swear I held the shift key down and double-clicked but can't seem to get this to work.

    Do you want to break the story into two separate frames? If so, use the Break Frame script in the Samples.
    Do you want to suck the story back into a frame. Click the outport and then click inside that frame. That breaks the story and doesn't leave you with a loaded cursor.

  • Assign text to a text frame Indesign CS4 JC

    Hi,
    I have a little challenge. I assigned text to a text frame many times, but the line wouldn't work now. Could you help me with it:
    try{
    var myNumber = app.activeDocument.selection[0];
    if (myNumber instanceof Rectangle){
        myNumber.fillColor = "White";
    catch (e){
    alert ("Please create and select Rectangle");
    exit();
    myNumber.contentType = ContentType.TEXT_TYPE;
    //myNumber = String ();
    myNumber.contents = "mamma";
    It wouldn't input my value into the frame (the pink line).
    Thank you very much for your help.
    Yulia

    //Try this
    if(app.selection.length>0){
        var myNumber = app.selection[0];
        try{
            if (myNumber instanceof Rectangle){
                myNumber.fillColor = "Paper";
        catch (e){
            alert ("Please create and select Rectangle");
            exit();
        myNumber.contentType = 1952412773;
        //Seems to have lost the reference to the Rectangle
        app.selection[0].texts[0].contents = "Test";
    } else {
        alert("No items selected");

  • Break two threaded text frames into 2 separate unthreaded text frames

    I have the most trouble with this.  CS4.
    What I'm wanting to do is separate two sections, if this is the same answer.  I want my sections stand alone, unthreaded. Thanks!!!!!

    In your scripts panel you'll find one under Application > Samples called Break Frame.  Select the frame and click that.  Done!

  • InDesign freezes when resizing text frames

    I've placed a Word document with lots of tables and other graphics, and when I try to resize a text frame, InDesign frequently freezes. I have to shut it down in Task Manager and restart, often losing a lot of work. This happened once before with a similar project from the same client. I thought maybe it was some odd corruption in that file, so I muscled through it, but here it is happening again. Anybody have this issue before and know how to resolve or prevent it?
    I'm working with CS6 in Windows 8.
    Thanks.
    ~Valerie

    First of all, ID CS6 has a auto-recovery feature, so when closing it in the task manager you should not loose a lot of work, but the one since the last auto-save.
    However, software is not prefect, so the one way to prevent it would be to place a PDF version of your Word file, making it uneditable.

  • InDesign Text frame options - how to reset?

    Working in InDesign CC 2014.
    I have somehow set my text frame options so that when I use the type tool to create a text frame, columns are added as I make the box wider.
    I know that I want Columns - Fixed number of 1, because I  have found the settings I want by opening a new doc and creating a basic text frame and looking at the settings.
    In my working doc, when I change the text frame option settings, they will not "stick" and I can only create text frames with columns, and the width increases incrementally.
    Only way I can make the basic text frames I want is to copy a basic empty frame from a new doc and paste into my working doc.
    How can I get the settings I make to "stick"?
    Thanks!

    Open the Basic Text Frame Object Style, and fix your column settings there. Your new text boxes are based on those settings.

  • Indesign CS3 text frame parameters and export PDF

    could use some help with the following:
    I need to edit and export a large number (7000) Indesign documents (one page)
    1. check for locked text frames and unlock
    2. group all text frames
    3. set grouped text frames at x=8 millimeters, y 10 milimeters
    4. export the documents to PDF in a subfolder called "Out"
    5. save and close the documents in the same subfolder as an Indesign CS3 document (orig is CS2)
    This is what I've been trying soo far:
    Now only checking one text frame - should be all text frames
    "close document 1 saving yes" doesn't work because the originals are from CS2
    I get a PDF called "Adobe Indesign SC3"
    set processFolder to choose folder with prompt "Choose a folder that contains Innd Docs to process"
    tell application "Finder"
    if not (exists folder "OUT" of processFolder) then
    make new folder at processFolder with properties {name:"OUT"}
    end if
    set the destination_folder to folder "OUT" of processFolder as alias
    end tell
    tell application "Finder"
    try
    set listFiles to (files of contents of processFolder) as alias list
    on error
    set listFiles to (files of contents of processFolder) as alias as list
    end try
    repeat with thisFile in listFiles
    tell application "Adobe InDesign CS3"
    with timeout of 120 seconds
    activate
    set properties of view preferences to {horizontal measurement units:millimeters, vertical measurement units:millimeters, ruler origin:page origin}
    open thisFile
    set myDoc to document 1
    set docName to name
    tell myDoc
    set transform reference point of layout window 1 to top left anchor
    set myBox to text frame 1 of page 1
    set properties of myBox to {locked:false}
    move myBox to {8, 10}
    end tell
    export document 1 format PDF type to (destination_folder as string) & docName & ".pdf" using PDF export preset "[Drukwerkkwaliteit]" without showing options
    close document 1 saving yes
    tell application "Finder" to move thisFile to destination_folder with replacing
    end timeout
    end tell
    end repeat
    end tell
    end
    end
    Any help is greatly appreciated - Doing this manually is a lot of work!!!!!
    Peter

    You're asking for the name of the application, not the document -- you need<br />to do it after your "tell myDoc".<br /><br />You could also get the name from the alias you open, rather than the open<br />document, something like:<br /><br />repeat with thisFile in listFiles<br />set oldDelims to AppleScript's text item delimiters<br />set AppleScript's text item delimiters to {":"}<br />set docName to text item -1 of (thisFile as Unicode text)<br />set AppleScript's text item delimiters to oldDelims<br /><br />You should also move your "set properties of view preferences" line to after<br />your "tell myDoc".<br /><br />-- <br />Shane Stanley <[email protected]>

  • Adding a graphic or photo behind a text frame in InDesign CS

    Hi Everyone,
    I'm hoping I can get some help please on a problem I'm having. I'm switching from QuarkxPress to InDesign CS -  after having it for nearly six years! - thought it was time learn InDesign. So far, I really like it. But, I've discovered a small problem I never encountered with Quark but I'm having it with InDesign. I have placed a vector graphic separately behind a Headline text frame (also tried a photograph). For some reason, the vector graphic totally covers up the Headline text. I have tried "send to back," that didn't work, it still covered the text. I made sure that there was no fill color at all. I even tried putting the graphic on a separate layer "behind" the Headline text and that still won't work. Could someone please help me. I would so appreciate it.
    Snippet

    Does your image use text wrap? Unlike Quark, by default InDesign's text wrap affects text both in front and behind the wrapped object. This is good becasue if you use transparency you want the text onthe very top to prevent unwanted outlining or rasterization at ooutput. You can change the behavior to mimic Quark in the application preferences, or you can open the text frame options for a frame you don't want to be affected and check the box to Ignore Text Wrap.
    The other posiblility is a stacking order problem. If your text is on a master page it will be behind any objects onthe same or higher layer on the document page. On any given layer, master objects are always behind live objects on the page.

  • Global change to the size of a text frame in InDesign 5.5?

    Is there a way to make a global change to the size of a text frame in InDesign 5.5? I just laid out a book and the size needs to go up half an inch.

    If you have worked properly and have done following:
    Set up Masters with margins and columns,
    Aligned all text frames with the margins,
    Turned on Layout Adjustment,
    You will only change the margins on the Master and it will change every page.
    If not …
    you have to do it manually.

  • Text frames added to items in my Indesign library?

    Hey,
    When I put design elements (even just simple text so I can, say, save a headline font I like for a specific element) into my library to re-use later, when I pull them out they have a huge text frame on the, which I then have to remove manually. This is a pain. I might as well just keep a notepad beside my computer and write down things I like and remake them every time if I'm going to have to mess with the elements I pull out of the library anyway.
    Any way I can just get it to stop doing that? I'd like the element I put into the library to be THE SAME element when I take it out. I have a feeling there's just some setting somewhere I can't find that's causing this.
    I'm using CS6, by the way.

    Salah Fadlabi wrote:
    Try to open Object style with no document open, double click on none then close and open indesign. Every frame after this process will be without border.
    This is only correct for new created document, not for existing ones. If the problem existis in an existing document you have to change the default style with no object selected.
    I would strongly recommend to create its own basic styles for each category and load them into the several style panels to have always styles with the same name in every document which makes exchange of items easier.
    Default Object styles are those with the small rectangle graphic at the right. The one with the T ist for Text frames, the one without T for Image Frames.

  • How to enable the script label of a text frames in indesign using applescript

    hi all,
    am using Indesign CS2 with applescript..
    Using script I have to open a template in indesign and flow the word document into it...
    I can able to flow the word document into the template using "Place" command..but script labels of the text frames gets disabled...
    I need the script labels to be enabled...
    can anybody help me
    thanks in advance

    Script labels can't be disabled, so I'm not sure what your problem is -- perhaps seeing some code could help. Could it be that you're referencing a page item by label, but it is not responding because the item is part of a group?
    Shane Stanley <[email protected]>
    AppleScript Pro Sessions <http://scriptingmatters.com/aspro>

  • Why are InDesign text frames uneditable, or converted to outlined objects, when opened in CS4?

    When opening a CS3 Layout in CS4 to make client text changes, all the text frame box edges (on their appropriate layers) are shown as dotted lines, and none of the type is editable!
    I restored the old version, and opened in CS3 old version, and the same thing applies! Arggggh - there must be a frame preference that I don't know about or an instruction accidentally given.
    How do I convert the text boxes back to editable regions? Got a deadline and am miffed.
    I am a 20 year veteran of Pagemaker/Indesign/CS and this has never happened to me before!

    Dotted lines for frame edges means that the item is on the Master Page. That’s why you can’t edit items, because they are on the Master, not on the numbered page. Either Command-Shift-click on the object to edit it or edit it on the Master Page. You should find out why so much of the document was built on the Master Page. Either the designer meant this to be a template for multiple existing or future pages, or someone just wasn’t paying attention and didn’t realize they were designing on the Master.

  • Bullet problem when creating text frames and tables in InDesign CS5

    Every time I create a new text frame or table in InDesign CS5 and paste information there, the first row in the table or several lines of text come out with bullet points. I'm sure this is a setting or style at some point I created and now am unsure of how to delete. I would like the new text frames and tables to not include bullet points as a default when imported or pasted. Any thoughts? Thanks!

    Defaults for text in the current document are made with no text selected. Turn off bullets and they should stay off (but check the styles, too, you might have accidentally set a bulleted style as the defualt and you should change the default style instead). If this is happening in all files, you need to do it with nothing open to reset the default for all new documents (existing files, unfortunately, need to be fixed one at a time).

Maybe you are looking for

  • Comment_build display in ALV report

    Hi, I have to display date range(s_erdat) and it is comming like 'IBT2007110620071120' I want this to be like '11/06/2007 to 11/20/2007', please help me how to display like this. Thanks, Veni. FORM comment_build USING lt_top_of_page TYPE slis_t_listh

  • How much is a used ipod 4th Gen with atiny crack in the top corner worth

    The crack is only small and doesnt affect the screen and i dont use my ipod 4 any more so i was wondering how much itis worth if i were to sell it. Thanks, Jake

  • My buttonMode and my .visible doesn't work anymore

    Hi all, i was trying to make a movie clip visible (it starts invisible), than invisible again. It gets visible, but i could't make it turn invisible again! Same thing happened with buttonMode propertie. I applied both only for movieClips and buttons,

  • Color rows in ALV

    Hi, I want to color alternative rows in ALV when I dsiplay the ALV. How can I do this? Regards, Vishal.

  • Applet: problem with cookie encoding for jar request (Firefox - Iplanet)

    I have an applet working with a JAR file. When the JVM sends the request to the webserver for the JAR file, it adds to the request the existing domain cookies. However, one of these cookie is encoded, and on Firefox with Iplanet (webserver), it preve