incremental processing of the object on several pages?

Hi, I wonder if anyone knows of a script or an easy way to transform an object gradually over the pages.

in my case, I want a header and slips through slowly the tops and sides of a book, page by page. the book is 212 pages long, and I would like to the effect of being almost like an old fashioned flipbook, where if you flipped through the pages quickly you observing the folio of up and down slide.

the best I can get to is to do it manually (copy, paste in place, move one increment, copy again, next broadcast, repeat), but this seems incredibly annoying, not to mention error during "spreads 106".

Thanks in advance for any help!

Ben

Ok.. I'm at home so I can't really test this much, but using the method of jarek (faster, easiear, better etc.):

Create the "roving" items on the first page of your document.

Select them (if you have more items the script will regroup, but make sure you have at least a page item selected because I do not add too much to the script of error checking) and run the script.

function main(){
    var doc=app.activeDocument;
    var sel=doc.selection;
    var myTaveller=sel.length>1?doc.groups.add(sel):sel[0];
    var myDist=prompt ("Distance to move on each page in current vertical measurements", 1, "Distance");
    var pages=doc.pages.everyItem().getElements();

    for (var i=0; i

now... If you need to work for the odd pages, he needs a few changes (just add an another prompt to ask if the user wants to go two pages, if yes, double the myDist, then change the loop to form two), but it's pretty late for me now, i ' w benn working 13 hours now If I have the time, mabye tomorrow I can change if you or someone else is not, and you need.

Good luck

Vlad.

Tags: InDesign

Similar Questions

  • How to adapt the rows in the table spans several pages in proportion to an image?

    Hi all

    I have a fairly large excel file (more than 2000 lines) imported, and the resulting table spans more than 150 pages.

    The problem is that the lines don't always fill the height of the text block (height of 9.5 ") on every page.

    I don't like that the lines are of different sizes. I want just the lower edges of tables on each page to be in the same place.

    By dragging the line down with the SHIFT key does not work if the table spans several pages/text blocks.

    Is it possible to force the selected lines (or stored in a block of text) proportionally fill their block of text?

    It is really not any function automatic adjustment that apply at the height of the row in the table directly, then I suspect that you're not going to find a way to do this is automatic.

    If it was my document, I would consider (something like) do this:

    Find the highest line in the table. (Or, perhaps that if there is some exceptionally high lines; unobtrusively manipulate them and use the 2nd or 3rd highest line as a reference.) Calculate the number of lines (max number of) of this size will fit in each text block. Divide the height of the block of text by this number to get a line height that adapts the same number of lines in each image. Then, select the entire table and all rows from this height. Follow up with the typographic settings that help uniform line height look resolutely.

  • Keeping a DataModel object through several pages of QML

    Hello

    I have a simple question, but so far I have not been able to grasp the exact application. So I have a DataModel.cpp object that loads data from a JSON data file.

    On my page main qml, the data model object is charged by attaching it with the following code...

          // The model itself is a QListDataModel defined in       // mydatamodel.h and registered as a type in the       // creation of the application.
          MyDataModel
          {
            id: dataModel
    
            // The path to the JSON file with initial data, this file         // will be moved to the data folder on the first launch         // of the application (in order to be able to get write access).
            jsonAssetPath: "app/native/assets/data/mydata.json"
          }
    

    Now, from the Main.qml page, I can launch methods, get / set properties, attached signals etc...  for the dataModel object. This is perfect, but in case my application consists of several pages... ie:

    Main.QML > AddNewItem.qml
               
    On the Add QML page, I add a new object to the object MyDataModel.

    > ViewItems.qml

    On the points of view, a ListView is bound to the MyDataModel object.

    > EditItem.qml

    The edit page is called, and the user to apply changes to the MyDataModel

    > ViewGraph.qml

    On the graphic page, the data is distributed to the MyDataModel to display a graph.

    I can re-gasket the MyDataModel on every pages, but this requires a complete reading of the JSON data set, but this isn't the right approach and leads in data refresh issue when adding, editing and deleting items.

    QML, how can an object RPC be passed from one page to another qml... I quickly tried to set a property on the ViewItems.qml variant, but it generates a qml error: the value of the property Type mismatch "dataModel". Expecting DataModel and found zero.

    Page
    {
      property variant data
    
      ...
    }
    

    A simpler solution might be creating the dataModel once in the C++ code and the injection of the instance (not type) as a context for QML property. It will be accessible from all pages.

    The above code, try to declare the property as regarding:

    property alias data : listViewId.dataModel
    

    then you can assign the qml outside:
    qmlpage. Data = dataModelId

  • 2550n deaf then progressively less colored on the document of several pages and now none

    Problem started with the strange new relatively strong noise jerky rhythm while printing. All startup and systematic seems ok. Printed with success of State of supply and free page / test configuration at some point after the printer market but with a document of several pages, page 1A was perfect, lighter 2 page, page 4 and page 3 yellow and go progressively yellow fake only. Now it does not apply any at all what toner and paper appears as white as he went.

    Dark cyan is on (544 pages remianing EST) but no other warnings or lights newspaper correspondents.

    No idea how I confirm definitively what who is at fault? I have a service manual and am happy to tackle the problem, but with no printer engineering background would not know what was defective or not!

    Hi David

    No, the printer came not on loan.

    Engines operated but nothing changed.

    But wait...

    I used furry side (not spicy) velcro glued with glue to the impact. I chose this side because when I put a level on a sample of both, the soft side of fur was very slightly more thin.

    Put all back together and it works! Drum rotates smoothly, the warm-up is completed, ready light turns on and the pages of the file config/status and the real impression.

    The only differences are:

    1 / use velcro as opposed to slot the Chair or the foam cushion. The differences in thicknesses were low)<1mm) but="" may="" have="" been="" critical.="" my="" original="" worn="" pad="" seemed="" ok="" but="" was="" very="" thin=""><1mm and="" the="" first="" felt="" i="" tried="" was="" thicker.="" the="" foam="" was="" between="" the="" two="" but="" as,="" i="" said,="" even="" lifting="" the="" 'l'="" arm="" with="" a="" screwdriver="" failed="" to="" permit="" a="" free="" complete="" rotation="" without="" snagging="" when="" each="" toner="" passed="" the="">

    2 / when the solenoid is re-fixed, even if it has a hole and not a slot, which implies a position fixed, there is a small movement and so I shook at the limit of the upward movement in the hole so that the arm had a tiny less distance to be pulled up by the solenoid to release the carousel.

    3 / I cleaned up all the excess toner everywhere.

    I am indebted to you for your guidance, patience and the solution.

    I lost 100 + pages of each toner but the problem is solved.

  • Type of the object called several times Oracle constructor

    I have an object of type with a custom constructor. In SQL, when I reference attributes the constructor is called several times in Oracle 11.2.0.4.

    1. Why the constructor is called more than once?
    2. How can I stop it?

    My current job is about to reference attributes and use the / * + materialize * / tip.


    Problem installation

        create or replace type Foo as object
        (
          Bar1 NUMBER,
          Bar2 NUMBER,
          Bar3 NUMBER,
    
          CONSTRUCTOR FUNCTION Foo(p_Bar1 NUMBER, p_Bar2 NUMBER, p_Bar3 NUMBER)
            RETURN SELF AS RESULT
            DETERMINISTIC
        )
    /
        create or replace type body Foo is
    
          -- Member procedures and functions
          CONSTRUCTOR FUNCTION Foo(p_Bar1 NUMBER, p_Bar2 NUMBER, p_Bar3 NUMBER)
            RETURN SELF AS RESULT
            DETERMINISTIC
          AS
          BEGIN
            SELF.Bar1 := p_Bar1;
            SELF.Bar2 := p_Bar2;
            SELF.Bar3 := p_Bar3;
            dbms_output.put_line('Foo Constructor Called');
            RETURN;
          END;
    
        end;
    

    Problem

        -- Constructor is called 6 times! 
        -- Once for each column and once for each predicate in the where clause.
        SELECT x.f.bar1 AS bar1, x.f.bar2 AS bar2, x.f.bar3 AS bar3, f
        FROM (
          SELECT foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3) f
          FROM dual d
        ) x
        WHERE x.f.bar1 = x.f.bar1 AND x.f.bar2 = x.f.bar2
    

    Output

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Foo constructor called

    Workaround

        -- Work Around
        -- Constructor is called 3 times
        -- Once for each column in the inline view. 
        -- Note, I removed column f (the object type) because it's not compatible with the materialize hint.
        WITH y AS (
          SELECT /*+ materialize */ x.f.bar1 AS bar1, x.f.bar2 AS bar2, x.f.bar3 AS bar3
          FROM (
            SELECT foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3) f
            FROM dual d
          ) x
        )
        SELECT y.bar1, y.bar2, y.bar3
        FROM y
        WHERE y.bar1 = y.bar1 AND y.bar2 = y.bar2
    

    Another solution is described in this thread... Access to the fields of an object custom type... which makes use of a type of collection combined with SCOREBOARD operator, like this...

    create or replace type FooTable as table of Foo;
    
    SELECT x.bar1 AS bar1, x.bar2 AS bar2, x.bar3 AS bar3, value(x) f
        FROM table(FooTable(
          foo(p_Bar1 => 1, p_Bar2 => 2, p_Bar3 => 3)
        )) x
        WHERE x.bar1 = x.bar1 AND x.bar2 = x.bar2
    ;
    
    BAR1 BAR2 BAR2 F
    1    2    3    (1, 2, 3)
    
    Foo Constructor Called
    

    Hope that helps...

    Gerard

  • Get the objects on a page or get the selection with JavaScript?

    I have a bunch of page PDFs with an ornament on the page. I need to crop all pages the same distance of the ornament. The problem is that the ornament is never in the same horizontal position.

    I have the script where the operator cultures page tight for ornament and I use getPageBox and setPageBox to develop harvest evenly around the entire page, but I would like to completely automate it.

    Basically I need a way to know where the ornament is on the page. Is it possible in Java (I couldn't find one) to browse objects on the page to check their size?

    Thank you very much

    Ken

    Gobs much gratitude to MD_quake for posting back here when he or she finds his answer.

    It turns out that the boxes have BEEN changing, but the & #* $%! dialogue of cultures was not showing the changes on all the boxes! Save the file and open it again displays the boxes correctly. By mail to the MD, you can also use a preflight.

    I'm done with this JavaScript but could also change the media box to clean things up a bit.

    var TargetWid = 302

    var TargetHt = 477

    To display the culture for the page

    var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})

    var AdjWid = (TargetWid-CurrRect [2]) / 2

    var AdjHt = (TargetHt-CurrRect [1]) / 2

    App.Alert (AdjWid);

    The value of the new culture area of the box (in pixels)

    CurrRect [0]-= AdjWid;  Adjust the left side

    CurrRect [1] += AdjHt; Adjust the upper part

    CurrRect [2] += AdjWid;  Adjust the right side

    CurrRect [3]-= AdjHt; Adjust the lower side

    Apply the new harvest area to the area of all pages

    this.setPageBoxes ({cBox: "Crop", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    Reset the CurrRect to the new crop and adjust the other boxes

    var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})

    this.setPageBoxes ({cBox: "Art", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    this.setPageBoxes ({cBox: "Trim", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    this.setPageBoxes ({cBox: "Bleed", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    Best,
    Ken

  • move the object or shift page

    Hello!

    I have a lot of files with x A4 pages.

    At the top right of the pages, there is a box with name and address.

    I can move the box?... I need to translate the box down to a few millimeters...

    Alternatively, move all the contents of the page down (not only the box...)... what I can do in javascript?

    Thank you

    Andrea

    You cannot move content selectively in a PDF using JavaScript. The only way to move programmatically, an object or a group of objects is via a plug-in of Acrobat (written in C or C++). However, you can move all the contents of the page using JavaScript by changing the harvest of your pages and media boxes. Take a look at this script, it shows how this is done. The script moves all content by an inch (72pt). If you need a different distance, you must convert the distance you want to move your content in mm at points. A point is 1/72nd of an inch and one inch is 25.4 mm.

    // move content down by a certain amount
    (function() {
        var a = this.getPageBox("Media");
        a[1] += 72;     // 72pt is 1"
        a[3] += 72;
        this.setPageBoxes({cBox: "Media", rBox: a});
        a = this.getPageBox("Crop");
        a[1] += 72;     // 72pt is 1"
        a[3] += 72;
        this.setPageBoxes({cBox: "Crop", rBox: a});
    })();
    
  • Why is the Menu on the main Page below the objects in other Pages?

    I added a menu on the master page by using the Composition called new featured widget and it remains behind other objects on normal pages.

    How can I fix it? Here are pictures of the menu when it is closed and when it is open.

    Untitled-1.jpg

    Untitled-2.jpg

    Make a new layer, which is by default placed above all other layers.

    Go to the master page, and then drag the menu this layer.

  • How to extend the text on several pages in 9

    My form is long and a section of the Master Page will be text with no shape field, but the text is 10 + pages, depending on the version of the terms and conditions described.  In this link, http://forums.adobe.com/message/5112687, there are a lot of discussions about how to accomplish in 8.2, but how I would accomplish in 9?  I wish I could paste pages 10 + and automatically do master stream for this section of the Page. Have tried to place a text field and also tried a text in a fluid subform, assigning several lines, keep later, but is not only of course how to set up properly.  I see the sign at the bottom of the text box, but when I saw it, it does not flow to the other pages.  Hoped to avoid setting up 10 + pages in the form, from the time these terms are updated, and it would be much faster to just be able to copy and paste from Word in a correctly set text field or subform.  Hope that makes sense and to appreciate all the advice, thank you.

    1. Get your text in Word (or anywhere where you want to change the text so that it looks right).
    2. Open a document in LiveCycle (a new one if you are starting from scratch, in any case)
    3. Select your subform page1, set the content to be Flowed (allow page breaks automatically).
    4. Add a text field (make sure it is listed under this subform page1).
    5. Change the position of the legend to zero text box and make sure allow multiple lines is verified (as well as allow page breaks). Expand a height fixed auto
    6. Click the default value for the text field. Paste this 9 page document inside.
    7. Wait a few seconds (or minutes) for LiveCycle catch up.
    8. Listen to samples and enjoy your new document with several pages paged automatically for you.
  • Is there a rule of master or clause that would allow me to change the fonts on several pages?

    I use InDesign CS4.

    I wish I could create a header on a master who would control the police and the font size on each header on each page.

    On each page, the text is different, so it cannot be labeled...

    The titles on each page have a different font than the police in the body of the book.

    Creates a master in the best way, or creates a type of paragraph or paragraph NET the way forward?

    In my view, there must be a way to get there - so if the police needs to be changed, it can be changed from a master or a rule, do not have to go to each page...

    Thanks for your help, Lou

    What have I done?

    I'm not sure.

    What should I do?

    If you still don't have it sorted, here are some steps to follow, with a few from assumptions of information contained in the thread so far:

    1. Go to the Master Page and set up your header text block. Type a line of text in there, even if it's just "Header goes here" or something like that.
    2. To format the text as you like all your headers look; font, size, etc..
    3. With the text now selected, go in the paragraph Styles Panel, (if you do not see, choose window > Styles > Styles section or press Ctrl + F11) and choose new paragraph Style in the Panel menu, (click on the menu icon in the upper right panel to access the Panel menu). This will open the dialog box paragraph Style, pre-filled with the parameters according to your text selection. Give it a name like "Header on the left," putting a tick to apply a Style to the selection, and then click OK.
      1. If you need a style of right of the header for the Master Page next, there are a few ways to get it. In here is one: in the paragraph Styles Panel, right-click on the style of right of the header, and choose duplicate Style... to make a copy of it. Now, right-click on the new copy and choose Edit right header copy... Change its name to the left of the header, make any other changes you want for the style settings, (mainly the withdrawal and spacing > alignment, I think), and then click OK.
      2. Now, you can also duplicate the text block, you made in step 1 by copy/paste or Alt-make slide to the next page. Place it where you want and apply the style to the left header.
  • SWF covers all the objects on a page

    After I export interactive PDF, the page that has a SWF on it covers all other objects (text, in my case). I tried this sort with layers, but it does not work.
    I would appreciate your help,
    Thank you

    Personally, I suggest that you do not have. I think that the PDF is not a ship suitable for this task, regardless of how Adobe could push. PDF files is as a static document. in some cases like a form to fill out (if it is more heavy). Others will do doubless disagree.

  • States of the objects - one per page?

    I have problems of execution MSO several on the same page. (These are not "connected" to a button action - they are called to play on the loop and the loading of the page)

    It is interesting because it worked well working on the beta version of Digital Publishing Suite. Now that I use the same files to run an update of the application, this feature no longer works, even after re - build. Now it only shows the last created MSO and ignores the rest.

    Anyone know if this is a bug that is corrected? Or is there a reason for not allowing the MSO several in the same page?

    Thank you!

    PS: If anyone would like to see the article in question (free) download the Seattle Guide app official visitors and go to "Pike Place Market' article.

    It works great on the live app, but now I can't get the same effect when working on the update of this app with content in 2012...

    Hi Bob,

    Your answers have been very useful. One last thing to make sure that we are all on the same page:

    If I submit the ESM multiple iTunes app in an article/page, it will not work properly. It is still supported.  Is this correct?

    We have the same problem with effectiveness by having several people to review the App (especially if the viewer update will be available in a few weeks)

    Since we use the same set up under the latest version of this app, I think OK submitting without testing the timing of the WHO again.

    Thank you

    Hernán

  • I want to make an image of the Pacific on several pages.

    Hello, I have a hp officejet 4500 g150g and I want to make a picture of a map in 4 a4 pages, how it works I can not choose A0. What can I do? Please help me. I have Vista

    See you soon.

    I have a hp officejet 4500 g510g and I can't make posters to print a file in the business pages 4 and "a0" (I do not see it) I use Vista.

    Please help me.

  • Stop the text once several Page Document workflow is created

    I'm building a 300 more catalog pages and installing it, I created Masters with text boxes that flow from one page to the next. It has been very helpful at the beginning, when I would realize that I had to add something to the page 30 and I was on page 150.  But now that I'm basically done, and I'm just change - if I add the line on page 30 - all my titles and text from there on bumps out if I remember deleting a line offset.  I tried to turn off patterns, but instead of leaving things on the page I, he wants excess all text in there and I end up with a loaded cursor want me to tell him where to drop all of this text.


    Is there any way to fix this now that I'm at the end of the project without redo?



    One of the scripts that comes pre-installed with InDesign is called 'SplitStory.jsx '.

    It seems that all your blocks of text are threaded to one another throughout your 300-page catalogue. If this is the case and you want to break the thread between all these text frames, select one of them and run the SplitStory script.

    Once you have done this, you should find that your page layout is maintained if you add lines. Instead, if you add too many lines to fit a frame, it will become in excess, but won't push the lines in the next section.

    I would recommend a backup of your document in its current state before running the script, just in case later, you find that it is actually not so convenient that all the blocks of text are separated!

  • Apply an object style to the group without changing the object style of page within the group elements?

    Does anyone know a way to apply an object style to a group without changing the style of the subject of the articles within the Group?

    Well, as far as I know, there no way to do it. Apply an object style to a group applies this style to all elements within the group as well. So, I resorted to writing a script for this.

Maybe you are looking for

  • Removal tool?

    Earlier versions had save PDF as an option under Tools. THIS is my GO - TO browser Firefox feature. Tools no longer had the option and I can't find it elsewhere.Please tell us the new method to save in PDF, print file, etc. I have not been successful

  • After upgrade ram, iMac start 3 beeps

    Hi guys, I try to improve my ram from 8G to 32G with the new memory locations. It went very well. I was put in place the RAM and it worked very well. I put my PC on sleep, and then I wake up with strange beeps. I had to stop. I try to start it again,

  • Missing program

    I know it's a difficult question, but I would be very grateful if anyone has the answer. I had an application that extracts images from movies (and other facilities) which worked very well. The only problem was that she should be installed whenever I

  • missing hal.dll message after removing the hard drive

    Original title:Ok, I had the same problem on my hard drive missing hal.dll. My question is what windows xp writes the cmos on my computer? OK, I had the same problem on my hard drive missing hal.dll. My question is what windows xp writes the cmos on

  • Import d7200 Nikon .nef files into Lightroom 5.7.1

    Why Adobe don't make it easy on photographers and do so that you can directly import raw files into lightroom from Canon or Nikon or Olympus.  Why hassle free to your users and make them go through the dng converter.  This seems really bad business.