How to make separate/individual text frame from one parent frame in indesign with javascript

Hi all,
Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
Thanks
Rohit

@Larry – ah, your interpretation could be the right one…
May I rephrase the question:
"How to split threaded text frames to single ones?"
"SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
From the comments in the code of "BreakFrame.jsx":
//Removes the selected text frame (or text frames) from the
//story containing the text frame and removes the text contained
//by the text frame from the story.
//If you want to split *all* of the text fames in the story, use the
//SplitStory.jsx script.
Uwe

Similar Messages

  • How can I delete an Apple ID from one device and replace it with a different ID on that same device?

    How can I delete an Apple ID from one device and replace it with a different ID on that same device?

    Tthe brute force method: start with Settings > iCloud and turn off Find My (you will need the password), then change the iCloud ID, then go to the apps such as Messages, FaceTime, etc, and delete the Apple ID and enter the new one.

  • How do I move individual Firefox bookmarks from one computer to another?

    I want to move individual Firefox bookmarks from one computer to another on the network.
    I do NOT want to overwrite any of the bookmarks on the second computer, just add extra bookmarks. What is the easiest way to do this?
    Richard D. Jacques-Turner, CPP
    England.
    Tel: +44-1482-666610
    Fax: +44-871-253-1819
    E-mail: [email protected]

    Try http://forums.adobe.com/message/4683061

  • How do I send a text file from one device to another?

    Hi,
    I'm working on an Android Air app made in CS5.5 where user data is saved in the app's applicationStorageDirectory as a text file.
    Is there a way to send this saved text file to another device's applicationStorageDirectory via Bluetooth/email/text e.g?
    The idea is that the app "game" is saved on each person's device. When the game is over, I want the users to be able to compare their results. (I'll write some code to compute who the winner is via comparing the two results)
    Any help is greatly appreciated. Some code sample would be terriffic.
    Thanks,
    J.D.

    You're in native extension territory. Access to things like bluetooth are well beyond the scope of the AIR framework. You'd need to write a native extension, which is code that taps into the native functionality of the device to expand flash's abilities, to use something like bluetooth.
    For you to share locally it most likely may need you to use push notifications, which are perfectly possible, even on wifi.

  • Every cut I make in the sequence window leaves one remaining frame from its deleted neighbor clip. How do I turn off this feature - It is driving me mad.

    Every cut I make in the sequence window leaves one remaining frame from its deleted neighbor clip. How do I turn off this feature - It is driving me mad.

    Here are 3 pictures detailing what I'm experiencing.
    Picture 1; clip 1 tail frame.
    Picture 2; clip 2 head frame.
    Picture 3; clip 2 head frame is now tail frame of clip 1.
    does this help describe what is happening? Basically every cut I make
    leaves an unwanted frame as a ghost of the missing cut.
    best,
    Fred
    On Wed, Dec 10, 2014 at 4:50 PM, Kevin Monahan <[email protected]>

  • How can I make a form where text flows from one line to another?

    I have created a fillable multi page form in Adobe Acrobat Pro XI. The form was originally created in InDesign, using lines for text. I saved as an interactive pdf, opened in Acrobat Pro, and created a form using the "Create Form" function. This worked great, but some parts of the form have multiple lines that need to be filled out, so the customer would continue typing and the type would flow from one line to the next. Right now the lines are individual fields. Can I easily convert these fields so that the text goes from one line to the next as the person filling out the form types?
    Thank you for the help.

    The easiest way is to do a slight redesign to get rid of the lines and then use a multiline field instead of multiple single line fields. If you really need to have the lines, you can use an approach that's demonstrated in the following sample: https://workspaces.acrobat.com/?d=AG6oZ3bi3DYHokxDPeWN7A
    You may come across attempts to use JavaScript to automatically move to the next field when the previous one is filled-up, but I've never seen this work very well.

  • How do you extend the frame from one side but not the whole thing?

    I am updating my blog and want to put a rectangle picture into the pre-set frame. I need to stretch it horizontally but the entire frame (i.e., both sides and top/bottom) stretched instead. How do you extend the frame from one side but not the whole thing?

    In Inspector, select the Graphic Inspector. Choose, from the Fill options, Image Fill. Select the image from the dropdown and click Open. Now go back to Inspector and click on Scale to Fit. Choose from the options in the window. There are a number of them which should address your problem:
    With the Blog template, you will probably need to insert a text box over the stock placement frame and work with that instead.
    Mark

  • How can i turn off text messages from coming on my iMac

    how can i turn off text messages from coming on my imac

    Go to Messages->Preferences->Accounts and in the section labeled You can be reached for messages at: make sure only you telephone number is checked. Uncheck any email addresses that are checked.
    You mat have to do this on the iPhone also, I'm not sure.
    regards

  • How can I separate my iCloud account from my sons phone

    How can I separate my iCloud account from my sons phone?

    Just delete your iCloud account from your sons device. Therefor open "Settings >iCloud", scroll down, and delete your account (don't worry, it will only delete the account from your sons device). If he also uses this account for iTunes and App store purchases and you would like to change that as well, then you have to do the same in "Settings > iTunes & App Stores".

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • HT204380 How can I make a face time call from one country to another( supporsing both parties using iphone 4s). What will be the caller charges. If there is no charges as we use wifi, will there be a charge till connecting the call?

    How can I make a Face Time call from one country to another( supporsing both parties using iphone 4s). What will be the caller charges. If there is no charges as we use wifi, will there be a charge till connecting the call?

    FaceTime is free to use. You will not be charged for using FaceTime.

  • How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process?

    How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process? The source Macbook (OS 10.4.11 and iPhoto 6.0.6 (3.2.2.)) is with my husband in Germany, the target MacBook Pro (OS 10.8.5, iPhoto 11) is with me in Japan. Thanks for your help.

    I copied the iPhoto Library to a CD and from there to the new MacBook
    If you copied the library to the CD via the Finder it would be no different than the methods Terence suggested.  If you used the Share ➙ Burn menu option from inside iDVD you'll get a mini library that has to be accessed from the open library and the events/alubums copied into the destination library.  Not the same as the other methods.
    The Share ➙ Burn method is no longer supported with iPhoto 9 and later.
    OT

  • HT201269 How do I transfer my SMS text messages from one Iphone to another or to my Macbook Pro?

    How do I transfer my SMS text messages from one Iphone to another or to my Macbook Pro?

    Or you can be guided bt this 'officail' Apple support document:
    http://support.apple.com/kb/PH4441
    Ciao.
    Csound 1 greetings:  Nothing wrong with a little plagiarism.

  • I have added a 5 songs from a single album and in Ipod it comes as enigma album and in that one song is available and another album named enigma and another song. IT happens for 5 songs also. How to make all the 5 songs in one album name Enigma

    I have added a 5 songs from a single album and in Ipod it comes as enigma album and in that one song is available and another album named enigma and another song. IT happens for 5 songs also. How to make all the 5 songs in one album name Enigma???

    I am working on a friend of mine's 15g ipod(W/dock connector)and I am having the same trouble except it does it to all the songs. I have tried reseting it multiple times, but to no avail.
    I am not sure that this runs on windows XP, it is absolutly archaic (compared to my 5th gen. 30g video).
    Help?
    15g ipod (w/dock connector)   Windows XP  
      Windows XP  

  • How do I transfer my text message from Iphone 3gs to Iphone 4s

    How do I transfer my text messages from Iphone 3gs to Iphone 4s???

    Requires third-party software, like this:
    http://www.wideanglesoftware.com/touchcopy/index.php

Maybe you are looking for

  • How to Change a Default Value from Drop Down Box displayed in Web Dynpro?

    Hi, How to Change a Default Value from 'High' to 'Low'  in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component.  I saw a Default Value set for a RANGE field  in View Context When I select that field and click on Display. I am s

  • Problem with applications and accessing database

    Hi I have a serious problem with my applications.I was trying to change "users"'s folder icon so I changed the setting in information.I don'y know what I did but It made these problems: many of applications does not open for example itunes-->The fold

  • How to use Time Machine with an external drive?

    Hi-I'm new to this, I hope someone can help me=) I'm trying to back up my Macbook Pro 10.6.8 using Time Machine with an external drive Seagate Backplus Slim. I've tried several solutions that I've found through different forums but still wouldn't wor

  • Connect MacBook to Performa 6400

    I want to connect my Performa 6400 to my MacBook. Both have Ethernet. What's the proper technique?

  • Maintain settlement Rule for CJ20N

    Hi Experts,         How can i maintain settlement rule for sales order and item in cj20n. Is there any t.code or BAPI available..?, Please help me. Thanks.