Is there a script that it can make Overflow text automatically routed Next?(Not the main text frame)

Is there a script that it can make Overflow text automatically routed Next?(Not the main text frame)
when I run the scrip,Overflow text can auto Typesetting to the next page?
thankS Supreme~

Here's the script I use. Notice the complications getting the live area when other than rulers per spread is employed. The script automatically selects the final selection point in the story and moves to that page in the active window.
//DESCRIPTION: Autoflow selected overset story
(function(){
          if (app.documents.length > 0
                              && app.selection.length == 1
                              && app.selection[0].hasOwnProperty("parentStory")
                              && app.selection[0].parentStory.overflows) {
                    app.doScript(fixOverset, undefined, app.selection[0].parentStory, UndoModes.entireScript, "Fix Overset");
          } else {
                    alert("There must be a selection that identifies the overset story.");
          function fixOverset(story) {
                    while (story.overflows) {
                              var aDoc = story.parent;
                              var lastTF = story.textContainers.pop();
                              var lastPage = lastTF.parentPage;
                              if (lastPage instanceof Page == false) {
                                        alert("Story ends on pasteboard; no action taken.");
                                        return;
                              var master = lastPage.appliedMaster;
                              var newPage = aDoc.pages.add(LocationOptions.after, lastPage);
                              newPage.appliedMaster = master; // may not be necessary
                              var liveArea = getLiveBounds(newPage);
                              var newTF = newPage.textFrames.add({geometricBounds : liveArea, layer : lastTF.itemLayer});
                              newTF.previousTextFrame = lastTF;
                              if (newTF.insertionPoints.length == 0
                                                  && lastTF.insertionPoints.length == 0) {
                                        // allows for paragraph style with startParagraph on specific page side
                                        alert("Story is permanently overset.");
                                        return;
                    selectIt(story.insertionPoints[-1]);
          function getLiveBounds(page) {
                    var rO = page.parent.parent.viewPreferences.rulerOrigin;
                    var bounds = page.bounds;
                    if (rO == RulerOrigin.spreadOrigin) return returnBounds(page, bounds);
                    var width = bounds[3] - bounds[1];
                    if (rO == RulerOrigin.spineOrigin &&
                                        (page.side == PageSideOptions.leftHand ||
                                                  (page.side == PageSideOptions.rightHand &&
                                                            page.parent.pages.length > 1)) ||
                              (rO == RulerOrigin.pageOrigin &&
                                        page.side == PageSideOptions.rightHand &&
                                                  page.parent.pages.length > 1)) {
                                        bounds[1] = bounds[1] - width;
                                        bounds[3] = bounds[3] - width;
                    return returnBounds(page, bounds);
                    function returnBounds(page, bounds) {
                              return [
                                        page.marginPreferences.top,
                                        page.side == PageSideOptions.leftHand ?
                                                  bounds[1] + page.marginPreferences.right :
                                                  bounds[1] + page.marginPreferences.left,
                                        bounds[2] - page.marginPreferences.bottom,
                                        page.side == PageSideOptions.leftHand ?
                                                  bounds[3] - page.marginPreferences.left :
                                                  bounds[3] - page.marginPreferences.right
           function selectIt(theObj) {
                    var myZoom = app.activeWindow.zoomPercentage;
                    app.select(theObj);
                    app.activeWindow.zoom(ZoomOptions.fitPage);
                    app.activeWindow.zoomPercentage = myZoom;

Similar Messages

  • Hello,  Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    Hello,
    Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    the offset has to be semi-automatic, apply an Offset Path Effect (by hand), create a Graphic Style out of it (by hand), then the script can apply this graphic style to objects.

  • I want to get rid of my japan softbank contract..but they are refusing to do that..is there anyway,so that i can make it global?

    i want to get rid of my japan softbank contract..but they are refusing to do that..is there anyway,so that i can make it global?

    No.
    ONLY the carrier to which a phone is locked can unlock it and Japanese carriers do not do that.
    Sorry

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Dashboard is going really slow, is there a way that I can make it speed up?

    Hi guys, my dashboard is at a crawl. Can i speed it ^.
    Thanks

    Open a new finder window
    Make sure that you are at your home folder
    then ~/Library/Caches/com.apple.dashboard.client and delete that cache file in there.
    You might have to secure empty the trash

  • Is there a way that I can make my browsing history secure?? Like so no one else who uses my computer can erase it. Or is there a way that I can have it copy to a folder, automatically?

    I would like to make it so that my browsing history cannot be cleared or is saved to another folder automatically. I would like to make it so that you have to have a password to clear the history.

    To save it automatically when you close Firefox you could use the [http://www.pikey.me.uk/mozilla/?addon=bb Bookmark Backup] add-on. That add-on can be used to save bookmarks, history, passwords, cookies, preference files and other user profile data automatically. It saves 7 copies of your user data to a location chosen by you, one for each day of the week.

  • HELP!! I have an applet, is there a way that I can make a button take me...

    to another website?

    I can't do it like that. I have to use a button because it is a login with apassword an name text fields. If I press a button called continue, and the name and password are correct, I need to be transfered to another page.
    Thanks though.
    Virum

  • HT5312 The option to reset security information tab isn't showing up for me, is there I way that I can make it show up. I have a rescue email address and it still doesn't show up. Please help!

    The option to reset my security information tab is not available for me, I have a rescue email address in place and it still doesn't show up. Please help!

    You need to ask Apple to reset your security questions; ways of doing so include clicking here and picking a method for your country, and filling out and submitting this form.
    (96335)

  • I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can create my own ringtones as I had done in the past? Thank you.

    I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can make my own ringtones? I have always done so in the past (Android). I much prefer to hear my songs when someone calls. Thank you.   

    I have tried to follow all the steps correctly. I presently have on itunes 2 entries:
    1. song.m4r with this highlighted on info screen but song location.m4a on summary screen. I have enetered "OK" several times.
    2. song no suffix on info screen but song location .m4r.mp3 on summary screen
      After syncing I then go a contact and edit it. Trying to change ringtone does not give me an option for the ringtone that I created only those that were preloaded. Is there something that I need to do here? The ringtone (at least one of them) does appear in my song  list and I can play it. I don't know how to check for its properties on the iphone.
    I do not have an itunes created entry on the sidebar for ringtones (I did create a playlist myself).

  • My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?

    My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?  Were it shows how much storage  I have available it still says 9.9 even after all that I have done so I don't know if I need to change my storage plan or what but anything will help I guess

    Check for 'others' in iTunes against your iPhone.
    Restore from a previous backup to reclaim some of it.
    Still want more, Restore in iTunes, setup as New.

  • There is no option in my iPhone 5s showing that I can make my fingerprint :/ I have already made my passcode why this is happening :( it's really annoying me!!

    There is no option in my iPhone 5s settings showing that I can make my fingerprint :/ I have already made my passcode why this is happening it's really annoying me!!

    Do a Reset
    http://support.apple.com/kb/HT1430, no data will be lost.
    Check iPhone model
    Settings > General > About > Model?

  • Wondering if there is a place that we can make suggestions to apple?

    I was just wondering if there was a way that we can make suggestions to apple about things we would like to see on IOS software.
    Wouldn't it be nice if there was a place that the engineers would check, maybe they will come up with some good ideas.
    Here's mine.
    Since most people carry there phone with them every where they go, but might not carry there ID.  Wouldn't it be nice if you could push the home button, even on a locked phone and be able to see an overlay on the picture that we chose that would have emergency information.
    My locked screen has the earth planet that comes with the phone, I think its pretty.  I want to be able to see that, and also the date and time.  But I would also like to be able to have emergency information on the phone in case I am in an accident while riding my bike or walking.

    http://www.apple.com/feedback/iphone.html

  • How do I access Java on my Mac Pro so that I can make sure it's working so I can view Netflix "watch instantly"?

    How do I access Java on my Mac Pro so that I can make sure it's working so that we can view "watch instantly" on Netflix?

    There are various browser scripts
    1: Java (not needed much at all and highly advised to be turned off in Safari/Firefox preferences due to it's vulnerability)
    2: Javascript (if off, needs to be turned on in Safari/Firefox preferences as it's used A LOT)
    Note:  If your using a NoScript type blocker, then you need to whitelist the site. Or drag a Temp Allow All button to Firefox's Toolbar.
    3: Silverlight plug-in (needed for watching Netflix content, it's from Microsoft)
    4: Flash (needed for watching a lot of web based content, but requires constant checks to make sure it's current as they have a lot of security issues)
    Check your status here, works on all web browsers
    http://www.mozilla.org/en-US/plugincheck/

  • Is there a way that iTunes can act as a Radio Alarm Clock? I have found the radio station I enjoy listening to in the iTunes Radio List. Is there anyway iTunes (and my Mac) can be set to come-on and start playing that Radio Station from Sleep mode at spec

    Is there a way that iTunes can act as a Radio Alarm Clock?
    I have found the radio station I enjoy listening to in the iTunes Radio List. Is there anyway iTunes (and my Mac) can be set to come-on from Sleep mode and start playing that Radio Station at specific times of the day?
    Any App or plug-in that does that?
    Many thanks
    Kevin

    Turning your Mac into a clock radio.
    1.  In iTunes create a playlist that contains just the radio station you want to wake up to.
    2.  Export the playlist (as .m3u works well).  Get Info on your playlist file and look at the Open With entry to make sure it points to iTunes, VLC or some other app that will stream your station.
    3.  In iCal create an event entry at the time you want to wake up.
    4.  Right (or Control) click on your wakeup event and select Get Info.
    5.  For "alarm" select Open File.
    6.  Now under Open File there will be a place to add the file to open.  It will probably be some default entry (like iCal).  Click on it will allow you to select "other."  Then use the file dialog to select your playlist file.
    Your Mac will wake you up at the appointed time.  You don't need to keep iCal running.  If you want to put you Mac to sleep for the night then there is one more thing you need to do.  Open System Preferences to Energy Saver and click on the Schedule button.  Check Start up or wake and set the wake up time to slightly before your iCal alarm time.
    Dan

  • HT204053 How do I create an Apple ID for my kids which are linked to my Apple ID so that they can make purchases without me having to tell them my user/password?

    How do I create an Apple ID for my kids which are linked to my Apple ID so that they can make purchases without me having to tell them my user/password?

    Welcome to the community.
    Unfortunately, you cannot do that. The first hurdle that you are going to face, is that mobile devices, by virtue of being prone to loss, will always require that a password is entered before a purchase of any kind is made.
    If your concern about the password, is related to your privacy in regard to your mail, contacts and calendar information rather than their acces to make purchases, then the best solution would be for you to use another Apple ID for iCloud.
    Apple have called the whole cloud thing iCloud, there are a number of features under the iCloud umbrella, some of which require their own login. iTunes is one of these, another is what Apple have unfortunately also called iCloud too.
    You can use the same Apple ID (account) to login to both iCloud and iTunes, but you don't need to and often users will login to each service using a different ID.
    The part that you need to remember is that the services available when you log into iCloud are completely different and unrelated to those when you log in to iTunes. Your iCloud login enables mail, contacts, calendars, find my phone, Back to My Mac, Documents & Data sharing and photostream, it does not affect any of your iTunes services.

Maybe you are looking for