Script to change page to section in entire document

Hi,
using CS2 (WIN) I have a problem with setting sections which might sound trivial. From time to time I have to set-up a questionnaire containing forms. These forms will be filled in later by the user. In order to give some advice on how to fill in the forms correctly, completion instructions will be provided as well. The problem now is that I have to create the forms first on numbered pages. After they have been reviewed, the instructions are added next to each questionnaire form and these must not have page numbers. Up to now I use two masterpages (one with and one without page numbers) but it is very time-consuming to set a new section for each numbered page manually (several 100 pages), so I was wondering if there is a possibility to let a script do the "splitting into sections" work once the numbered pages have bee set up, before I add the completion instruction pages.
Thanks for your help in advance.
Angus

Looks interesting. But I'd like to keep it as simple as possible and avoid the part with the extra textfiles and just insert the code text straight into the menu file, kind of like this:
mmaker --no-desktop -vf pekwm
sed {
        find-and-goto-line-below-'root menu'-declaration, insert-text {
                                                                                                       entry for 'terminal'
                                                                                                       entry for 'run"
       ~/.pekwm/menu
sed {
         find-line-below-'pekwm'-submenu-declaration, insert-text {
                                                                                                   entry for 'themes'
       ~/.pekwm/menu
Obviously it's not real code but it's just to outline how I'd like to have it. Just need to know the correct syntax to make it work. I don't care much for 'Go To' and the rest.
Last edited by lostinpurdy (2010-07-10 03:48:10)

Similar Messages

  • Why does Pages delete sections of a document?

    While writing a document, Pages will suddenly delete a section of the document. Anyone else experience this?

    Pages doesn't delete anything. It is probably something you are doing that triggers this behaviour. Which device do you use Pages on? In this forum we mainly try to help those having computers. There is a forum for those using Pages on iPads too.

  • Change page order in a combined document

    I have been attempting to create a combined document with the pages in a specific order.
    The pages are in the list in the proper order and then when it combines they are out of order.
    Can I change the order of documents in a combined file?

    You should be able to do this in Acrobat X and Acrobat XI by simply going to File>Create>Combine Files into a Single PDF, and adjust the order of the files with the tools at the lower left portion of the Combine window.  Is this not working for you?

  • How  to change page layout in an Appleworks document  to horizontal?

    I have written a lengthy document in Appleworks 6 in vertical A4 page layout, and want to reduce it in size by printing horizontally with two pages to a sheet. The Epson 56DBAD printer doesn't seem to recognize or allow for page layouts to be previewed, and neither does Appleworks, which when I try to preview eliminates the right and left margins!
    It's a simple thing, surely, to turn an A4 page onto its side and print two pages of a document side by side on it. What am I doing wrong?

    With your document open go to File > Page Setup & click the second icon (the one not highlighted in this screenshot).

  • Need to move pages and sections from one doc to another

    I have a long document loaded with graphics. I need to repurpose pages and sections from that document and use them in another document.
    How do I move a section or page from one to another. A simple copy and paste doesn't seem to be the answer since it copies only the text, not the illustrations and format.
    Also, it would help if I could unlock sections - is that possible and how do I do it?

    You will have to do it manually, but you can do it whole sections at a time. Open your files & show thumbnails. Sections have a yellow border around all of the pages in that section. Now click on the page in the thumbnail pane & copy. If the file is more than one page & you only want one, you'll need to insert a section break to separate the pages. Then go to your other file & paste. The whole copied page will be pasted in. I found that pasting in the body of the target document only pasted the text but, if I clicked in the thumbnail area of the target document & pasted, I got both text & graphics. Repeat with another section. Styles will copy over with the sections but headers & footers will not.

  • How to I make all the pages in a Pages document into pages, not sections, to I can drag specific pages around and place them where I need them? When I try to drag a specific page, it drags an entire section.

    How to I convert all the pages in a Pages document into simply pages, eliminating pages called "sections", so I can pick and chose specific pages to drag where I want (without dragging an entire section of pages)?

    Insert a Section Break at the foot of each page
    or:
    Toolbar > Document > Document > uncheck Document Body
    This will destroy any content in your document, but I presume that is what you want.
    Peter

  • When I change pages I get a box 'java script uninstal set' how do I get rid of this?

    every time I change pages I get several error boxes saying java script application, uninstal set (misspelled) . I cannot continue til I close all the boxes. It also has a yellow triangle with an exclamation point

    click on the pair of eyeglasses

  • When I convert documents from pages to word, the format is changed partially and at times entirely. Any solution for this?

    When I convert documents from pages to word, the format is changed partially and at times entirely. Any solution for this?

    Gig Harbor Tina wrote:
    ...Is it possible that the server at work is somehow affecting these attachments?
    I can't say, but if that's the answer, trying to get it fixed might be impossible. Instead, I'd suggest compressing your attachments to create a .zip file. Decompression at the other end would take no time, and if the server changes the attachment's file type, just change it back to .zip.

  • IWeb won't publish changed pages, just entire site

    Hi folks, I have iWeb 09 and use ME as my webhost. I'm having an issues when I create additional pages iweb now publishes the entire site and not just changes. In the past published pages were blue and changed pages were red, now all pages stay red even after a successful site update.
    of course this is rather annoying and time consuming as i have several gigs on my site, when only changing 1 page it takes hours to publish.
    Any ideas?
    Thanks
    Jon

    David:
    I just discovered one reason the iWeb keeps displaying icons red when publishing to a folder.
    How are you publishing the site? To a folder and then uploading via an FTP client? If that's the case then are you deleting that folder after you upload? Again if that's the case then that's the problem. When publishing to a folder iWeb looks for for a plist file something like this: assets.file/--localhost-Users-toad-WSM%20Input-Helper%20Site-.plist. If that file is missing from the folder iWeb thinks this is a first time publication and publishes all the pages. You need to create a permanent folder to publish the site to and not delete between edits and republications. This is what it should look like:
    Click to view full size
    Bottom line: don't delete the site and files after publishing to a folder.
    OT

  • Change Page orientation in script..?

    Hi All,
                  i need to change change page orientation from portrait to lanscape.In the Basic settings the prientation is in disable mode even the form is in change mode...How should i change the page orientation...
    Please help me to resolve this...,
    Ravi
    Edited by: Ravi Reddy on Aug 13, 2009 12:00 PM

    Hi Ravi,
    I could see that orientation in change mode, I suggest to show that to ur basis guy for change authorizations.
    May be you are displying the form in different langauge (non-original langauage)
    Sripal

  • How to change tab stops in a completed document with Pages?

    I switched from WordPerfect to Pages and have struggled with figuring things out. I have a membership list I do each year with names addresses, phones, etc. I used a right tab to put the phone numbers out on the right margin. Now I find my originally defined margins are off, and I want to change that right tab. I seem to be able to do this only one name at a time: very tedious. Is there a way to change it for the entire list all at once?

    Here is a short script allowing us to select every paragraph starting with a TAB character.
    Of course, we may edit it allowing it to select paragraphs matching an other criteria.
    --(SCRIPT selectparagraphs_starting_withtab]
    Apply this script to a Pages document.
    Every paragraph starting with a TAB character will be selected.
    You may aplly some settings to all of them in a single operation.
    Thanks to Axel Lutgens.
    le 25 juillet 2008
    property L : {}
    tell application "Pages"
    set my L to {}
    tell first document
    set N to count of paragraphs
    repeat with P from 1 to N
    if character 1 of paragraph P is tab then copy (a reference to paragraph P) to the end of my L
    end repeat
    end tell
    select my L
    end tell
    set L to {}
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE vendredi 25 juillet 2008 11:41:29)

  • Indesign Post Script name changing to back up file name

    Hi all
    I am in a pre press workflow that requires that I write a post-script file to a hot folder.
    So saving as a post-script is the only option for our entire workflow to take place.
    When saving the post script file from indesign , the name defaults to the back up file name which is
    not similar to the original file name. We deal with an extremely large number of pages
    and need for this file name to stay the same as the original not the back up. Manually putting these file names
    in is a serious chance for error and takes too much time.
    Does anyone know how to prevent the name from changing?
    Thanks for any help.

    You should be posting to the InDesign or Acrobat forum. Please repost there giving them your version of InDesign and Acrobat. Detail you method of creating the postscript file. You should be printing to file using the Adobe PDF printer instance. I only suggest the InDesign forum, since the print dialog box in InDesign is not a standard Windows Print dialog box.

  • How Do I Change Columns Per Section

    I am trying to set up a Pages document to have varying numbers of columns in different sections.  I am aware of how to insert a section break, and have done so.  But when I move into that new section and change the column count then the entire document changes, not just that section.  I am reasonably sure I have done this before, but am wondering if it is one of the features that Apple removed in Pages 5 that everyone misses.
    If it is possible could someone please walk me through the process.  If it isn't, how to I get Apple's attention to get that feature back, please?

    Simply select (all) the text you want to change, then choose the number of columns you want that text to be.
    Peter

  • WLST script to change Endpoint URI

    Is it possible to change endpoint URI using WLST. If yes please provide the sample script for this. It is very urgent to implement in my project.
    Regards
    James

    Refer this page for simple java program to change the env variables. http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html (Changing environment values Section) . Sample example explained to change the File URI

  • Every time I open Firefox or open a page in a new tab, I get the error message that a script on this page is not responding or has quit working. This has only happened since I upgraded to 5.0.

    Even when I start firefox I have to sit here and wait for it to tell me a script on this page is not responding or has quit working. Once that happens which takes a while, I can say stop script and it moves on. I've always liked using firefox and have never had a problem in the past, however if I can't get this particular problem fixed, and I've tried many ways to do this, I may have to change to another browser. I would hope that you could find out why this is happening to me before I make that decision. One other thing, I am using the dreaded Vista OS.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

Maybe you are looking for