Scripting the lenght of a page (for smooth scrolling in DPS)

Hi, folks
I am quite a layman in this scripting world but I have a question that I would really need answered. It's not so much a question of 'how' but one of 'is this possible with scripting'?
We want to set up a system where the pages would be automatically created with XML input from a short set of templates so that they end as indesign documents in a given folder.
We have a very clear idea now on how to do that. But now, I have to take a design decission: Should I try using "one-page articles" with pages of variable lengt depending on the size of the body text frame? (so that they make afterwards smooth scrolling in Adobe DPS)?
What refrains me from doing that is that body text will be variable in size and lenght. So... I cannot predetermine which length must have the main frame in the pages and, consequently, I cannot predetermine the lenght of the pages (expressed as top margin + body frame length + bottom margin).
The question for scripting: Is it possible that you may run a script that does this?
- Text is input into the main body text frame via XML import.
- Frame is resized so that it fits with content (no more, no less).
- Page is then resized so that (expressed as top margin + body frame length + bottom margin) it keeps designed proportions.
I hope what I want is clear enough, because that is the doubt that is stopping me from trying the one long page winding way. Any idea, please?
Thanks a lot
Gustavo (Posting from Madrid)

Hi Gustavo,
yes you can accomplish what you are describing with InDesign scripting.
Instead of creating a smooth scrolling page you could even create a frame with scrollable
content on the template an fill the scrollable content with text.
That way you will not have empty spots on the page.
That sounds like an exiting project which combines InDesign, DPS and scripting skills.
Stefan

Similar Messages

  • Form:The user sees on the screen a single page, for the second page (and to fill it in) he will click a button "next page"!

    Hello, sorry for my english!
    I am currently creating a form. This form contains 20 pages. For more comfier to fill it in, I want it to be loaded 1 page to 1 page. The user sees on the screen a single page, for the second page (and to fill it in) he will click a button "next page"!
    Is it possible to do this with adobe acrobat pro?
    In the case of a negative answer, can Indesign do this?
    thank you.

    Technically it's possible to use a script to prevent someone from going to the next page unless they click a button, but I think it's a bad idea and very user un-friendly. You can add a button that will take someone to the next page, but don't try to restrict them from doing so themselves if they so wish.

  • How to change the color background in Pages for iPad?

    how to change the color background in Pages for iPad?

    You can find many themes at https://github.com/hdoria/xcode-themes  There's a download zip button on the right side of the page.
    Unzip and and copy the .dvtcolortheme files into /Users/YourUsername/Library/Developer/XCode/UserData/FontAndColorThemes Create the directory if it doesn't exist.
    If you can't find the Library directory you can get to it by using Finder's "Go to Folder..." option under "Go" or press shift + cmd + G then type the path.

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • Can you add a word or name to the spell checker in pages for iPad?

    I'm looking for a way to add a word, alternate spelling or proper name to the spell checker for the newest version of pages for iPad so they won't keep showing up as "misspelled".
    Can you help?

    No, the ability to add a word to spell check dictionary is not a current feature.

  • I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    I am trying to put sound fonts into a playable format in garageband. I followed all of the instructions on the sound font help page for Garageband, but I still cannot play the sounds, or get them to show up. Any suggestions?

    Sorry, I was confused by your profile signature showing "GarageBand (Mac) '11".
    It is very similar in the newest GarageBand 10.0.2: 
    Enable Audio Units in the GarageBand Preferences > Audio/Midi.
    Create a software instrument track.
    Show the Smart Controls and click the button.
    In the Info panel scroll, to make the Audio Units brick visible and click the "Instrument" control.  Select "AuInstrument > Apple > DLSMusicDevice" and click it, to open the settings.
    This should show you a panel, where you can select a Sound Bank. Does that show your sound font?

  • The latest issue of Pages for iPad: 1. Very slow. 2. Late in reacting to typing. 3. When I go to a specific file, informs me that some images were deleted and therefore file has been changed. Then when OPEN option used, opens file slowly. Please, help!

    What I have to do to correct the following problems with Pages app. For iPad:
    Hesitates to display results of typing, some times for 5-6 characters;
    Very slow in opening files;
    Before opening of a specific file displays message: DOCUMENT DETAILS. SOME CHANGES WERE MADE TO YOUR DOCUMENT. SOME IMAGES ARE MISSING BECAUSE THEY WERE DELETED FROM YOUR DOCUMENT. We'll, nothing is missing. But it takes forever to open this file. The previous issue of Pages worked very good. But they would not let me to go back to it. Please, help!

    Tmobile did the exact same thing to me. So that is customer service at work in general. Nice try though lol.
    To the OP
    I see you said You paid for shipping, did you Insure it? Claim insurance on it. If you did not, It may not be Verizon or your fault in the sense of the phone not making it to the warehouse. There are people out in the postal world that will steal phones that are not insured. It could have been a Verizon employee, i suppose.
    But, if this was to be a bought in court, if you shipped it with out insurance, sadly your at fault.
    Do you still have the Serial number of your old phone? If so, you should be able to track where your phone is (if it is reported as a defect/damaged) If so, you may be able to use that as proof. If it does not show up as a defect or what ever they determine use as a loss, then you know it did not make it to the warehouse to be checked in. I would suspect Apple or Verizon could tell you what the Serial number came up as.

  • Why does the bottom bar in pages for ipad hide my typing?

    When I type enough text to scroll to the bottom of the screen on Pages for my iPad, the new (and redundant) tool bar hides the text. I have to manually scroll the text every time I find myself at the bottom of the screen. This only happens when I am using my Apple keyboard with the iPad. Extremely annoying!
    I can't believe I am the only iPad user, with an auxiliary keyboard, who is experiencing this glitch. I have been to see the "genius" – no joy. Tried everything I can think of. Anybody who can help me either get the text to scroll before going under the toolbar, or cancel the toolbar all together. (It doesn't add any features, since all the tools are available from the top of the screen.)
    Greg Woods

    This is likely to be a persona (light weight theme). There is a person who uses the name MaDonna who creates Personas, and some of them are signed MaDonna in the status bar at the bottom of the browser. To see if this is the case, try switching to another persona or theme, for details see [[Using themes with Firefox]].

  • Why doesn't the text boxes in Pages for iPad show the arrows to link the Boxes together?

    Hi. I am using Pages, which I love, on my iPad.
    As a perfectionist, I would like all my textboxes to be linked so that if I move one I can move them all.
    Any suggestions? 
    When I tap on the boxes I don't have the arrows appear like you would on a Mac.

    Yes sorry about that Rachel. I don't have an iPad so can't explore for the iOS options.
    There is a separate Pages for iOS forum where they may be able to give practical assistance.
    https://discussions.apple.com/community/app_store/iwork_for_ios
    Peter

  • Adding images to the header & footer in Pages for the iPad

    How do I add images i.e. logos into the header and footer in Pages for the iPad.

    I do not beleive Pages for iOS allows insertion of images into the header or footer, just the background of the page body. It can however be placed behind the header. (Tools icon (wrench - upper right of screen) > Document set up

  • HT1750 After powering up, my (late 2012) iMac (bought March 2013) 'freezes' on the the grey log-in page for about 7 minutes before I can even enter my password and get started. Anyone know why, please?

    It just hangs on the grey log-in page, with the mouse cursor stuck in top left corner, and unable to key password into window, until after about 7 minutes.
    I always close all applications and programs prior to shut-down, but it's as if something is running in the back-ground...
    Any suggestions welcome, thanks.

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged after the boot, during the time something abnormal was happening. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    For example, if the problem is a slow startup taking three minutes, post the messages timestamped within three minutes after the boot time, not before. Please include the BOOT_TIME message at the beginning of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Does the new version of pages for ipad have backwards compatability with previous versions of Pages?

    This one question is preventing me from downloading the new version of pages - I am worried I will lose the ability to read documents made with the previous version of pages, or that they will be automatically converted into the new format without my knowing. My laptop does not have Mavericks so I will have to keep using an older version of pages here, but I am reluctant to download the new version to my ipad because of concerns that users have previously voiced about the lack of backwards compatability. Is this still the case, or is there now backwards compatability?

    Did we get HyperCard back?
    Did we get all the features of AppleWork Back?
    Has QuickTime X got back the editability of QuickTime?
    Has FileMaker now got all the Bento features?
    Has Final Cut been reduced to match iMovie for iOS?
    Apple is out to attract iOS users, who mainly do selfies and twitter. They pay better because they are undemanding, don't even notice when Apple offers them something inferior and have been broken in with the iTunes Store harness.
    Peter

  • Not able to get Out-of-the-Box Examples Index Page for running the jsp examples

    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas

    Hi.
    Please post all WLS 7.0 beta questions to the beta newsgroups -
    weblogic.developer.interest.70beta.*.
    Thanks,
    Michael
    Vikas wrote:
    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • How do I resolve the "Unknown Error" in Pages for iOS 8.1 after splitting my AppleID?

    I had been using a shared AppleID between my family until iOS8. After we upgraded our devices, we decided to use Family Sharing. We have a draft of a book that was written in Pages on iPad and synced to iCloud.  After the splitting of accounts on family sharing, we uploaded the documents through the iCloud.com interface to the new AppleID and were happy to find them syncing to the iPad with the new AppleID.  We can now open the Pages documents, but ANY edits (including typing as few as 3 words) will cause Pages to present an "Unknown Error Close Document".  We can create new documents in Pages on the iPad without difficulty, but we would really like to be able to edit the existing documents in Pages.  Any thoughts?

    Some discussion on means of locating the SC Info folder on Windows 8 systems in the following topic:
    TS1389 Re: How can you do this in windows 8?

  • I clicked on an email link for what appeared to be a legitimate message from LinkedIn. It wasn't, and the link opened a page for drugs. Since then, my internet connection has been slow. How can I tell if my Mac has been hacked?

    <br mcebogus="1"></p>

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

Maybe you are looking for