How to display the watermark to each page number?

Hello.

app.documents.item(0).watermarkPreferences.watermarkText = "page";
app.documents.item(0).watermarkPreferences.watermarkVisibility = true;

These are all same watermark settings.

It is impossible to set a nonzero value of the element.

I want to display the watermark to each page number.

If there is no way, I want to create this similar feature.

Any ideas?

And please tell me if the function already exists.

Thank you.

I think I know what you want.

You need a different watermark to each page of a document.

Which seems not be possible since watermarkPreference is not a preference of page but a preference document.

If you need this for the PDF export for example, you can export single pages in single PDF files and change the watermarkText according to the name of the page you are currently exporting.

After the export of all pages you could assemble in Acrobat Pro. Or place them in InDesign page-by-page and export again to a multipage PDF document.

// ExportPages-ChangeWatermarkForEveryPage.jsx
// Uwe Laubender

/**
* @@@BUILDINFO@@@ ExportPages-ChangeWatermarkForEveryPage.jsx !Version! Mon Dec 14 2015 20:28:23 GMT+0100
*/

var doc = app.documents[0];
var pages = doc.pages.everyItem().getElements();

// You can also assign a preset by its name
// For simplicity here the second preset listed in assigned:
var pdfExportPreset = app.pdfExportPresets[1];

// Loop through all the pages:

for(var n=0;n

Hope, that helps.

Uwe

Tags: InDesign

Similar Questions

  • How to change the color of each page number in InDesign CC?

    I'm working on a book that has pages with black background and some with white background... I need to know how to change the color of each page number, so that they will be visible on the black background.

    I tried clicking on the page number, cmd + shift click... nothing seems to work. I have all the page numbers on a separate layer, because they were hidden behind the images that I place on each page... I don't know if it's important.

    Any suggestion would be appreciated.

    My best advice is to make a second set of master pages with white numbers and apply them as needed.

  • How to display the arraylist < list > jsf page

    HII all,.

    I'm having a jspx page where I want to display the value from a bean class Get accessor...

    the Get accessor returns a list Arrarylist

    and I want to display the list of table in its entirety on the jspx page when it is loaded.

    The method is: -.

    public ArrayList < list > getMyList() {}
    myList = getDocumentProperties ();
    return myList;
    }

    How to navigate the entire list on jsf... ??

    any idea... !!

    Thank you

    You can use or in an ADF Faces page to iterate over the items returned by the method getMyList() of the bean:

    
      
    
    

    If you want to browse the internal lists, then use a nested iterator:

    
      
        
      
    
    

    Dimitar

  • I've implemented a footer in the master page, how to set the size on each page?

    I don't want a white space before the footer on a few pages.

    You definitely pantyhose feet of page selected.

    Select your footer items and right-click and uncheck sticky footer.

  • How to display the connections Discoverer Plus page

    Hello
    With the URL I need access discoverer, I don't see the option to create connections as shown below in the user guide.
    http://download.Oracle.com/docs/HTML/B13915_04/intro_start.htm#CHDEIGIF
    Require a configuration on the server?
    I have a fashion apps EUL on discoverer 10.1.2.2.

    Thank you
    Ma'ariv

    Hello
    Alternatively, you can change it by changing the configuration. XML on the server.
    you just need to change the value of 'useConnectionMgmt' to true or false, as you like.
    Also if you're already here so I also propose to change 'webcache' false

  • BI Publisher - how to display the number of lines displayed at the bottom of the table on each page

    Hello

    We are the conversion reports Actuate BEEP and not able to understand how to view "Accum.Total = < n >" at the bottom of each page. In the attached report to operate it, "Accum.Total = < n >" must be displayed at the bottom of each page where < n > is the number of lines displayed on the current page and previous page.

    For example, if there are 10 rows in the result set, if the 1st page displays 4 rows, 2nd page displays 3 rows and 3rd page is 3 lines and then Accum.Total = 4 on page 1, Accum.Total = 7 on page 2 and Accum.Total = 10 on page 3.

    Note that we use the property table "allow the lines to break Pages = False" as we do not want a specific line can be split across pages.

    I enclose a sample of report actuate, rtf, BEEP and XML report for testing file.

    Approach used so far-

    1 > I tried to put the counter in the footer, but it seems that only the fields that come directly from the IC can be used on the header/footer. No matter what form text field or variables defined in the report.

    2 > I used approach given in the link below. Using this approach, I am able to view a coded value hard at the bottom of every page (just below the table) but his does not work for the variable (in my case the counter c1).

    https://blogs.oracle.com/xmlpublisher/entry/continued

    3 > on Google, I found a few articles on the page break conditionally as display only certain numbers on a page or the page by section break but in our case, its dynamics and its number of lines to display on a page is driven by data, so I could not think of a certain condition to use in "Condition." ": If" for use as a page break.

    Thank you

    Richa

    Watch see the-Report

    http://docs.Oracle.com/CD/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#do_bf_cf

    Download the https://blogs.oracle.com/xmlpublisher/entry/continued sample

    Add

    <>

    name = "contd_footer".

    format = "99G999G999" / >

    After the field "Footer."

    If need to use a footer to display the meter then and sous-modèle with code above and call it in footer

  • How to display the list on the page all?

    I have a 1 page. In this 1 page, I have a list box. This list to contain three region list.
    each list is a page (page 2, page 3, page 4). When click on any list redirect to the corresponding page, but the region from the list on page 1 does not appear when I redirect page 2, 3 or 4.

    How to display the page list all the 2,3,4?

    SKUD.

    Hello

    create the list in page zero and give the State, saying that all pages will be displayed..,.

    or

    GoTo
    Home > Application Builder > Application xxx > shared components > list of commitments

    Here you can set new pages where you need to see your list

    Kind regards
    Little Foot

  • How to show the title of the application on each page?

    Hello

    I'm tryon ti display as the title of each page in my application the titile of my application "Observatory" activities", followed by the title of the current page. That would give this kind of result in the part of Titile of the browser (the line dikspayed in the title of the browser), for example in the login page: 'Observatory of activities - Login', in another "Observatory of activities - cards" page, etc...

    I have defined as a substitution by #TITLE string"in the"Modify Application definition - Substitutions"shared components. Like this: "Observatory" activities ".
    in the section of the definition of the page title, I put #TITLE #. It does nothing (the title does not appear).

    I have my wrong somewhere but I don't know where. Do you have any idea how to do the work?

    Thank you for your help.

    Christian

    Christian,

    You just change your page template and on the header section, where you have this:

    #TITLE#
    

    Put this:

    Observatoire d'activités - #TITLE#
    

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • How to display the width of the page or the big screen in firefox 11 automatically?

    How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
    Help, please. Thank you.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • The print is so small. How can define you default largest size print without having to click the icon on each page?

    The print is so small. How can define you default largest size print without having to click the icon on each page?

    The Firefox Page Zoom feature makes a domain level by area to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox, as with some other browsers.

    Try the extension Default FullZoom Level:

    https://addons.Mozilla.org/en-us/Firefox/addon/6965

    Or the NoSquint extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/2592/

  • How to display the html page to 4.5Os

    Hi all

    How to display the html page to Nontouch 4.5Os...

    Private documentation has enough detail - read and implement.

  • How to extend a footer on each page on the website?

    Hello, excuse me as I'm new to the Forum and a little new in dreamweaver. I made the pages edition the long way in dreamweaver by editing each page separately. How to change the footer and let that remain the same throughout each page throughout? IM using dreamweaver CS5. Web site here www.englecomputerservice.com

    Use SSI for the content that appears on several pages.

  • How to display the names of header fields in the next page in report6i

    How to display the names of header fields repeated in the next page of report6i urgent please...


    When I'm runing report in 1st page that showing only the header in page 2 information header information does not display only records appear. So I want to display the header in 2nd page also information.

    You can help.

    Hello

    Go for the model of report layout and select these elements/objects that do not display on the next page and pressing the F4 key to open the palette of the property and set the property Print object on to All the Pages , then it will appear on all pages.

    -Clément

  • How to display the loading time of the page?

    Hello

    I would like to know how to display the loading time of the page? I know there is a var that must be in the footer, but I don't remember.




    Thanks in advance
    Antonio

    >
    You can use #TIMING # footer region the region to display the time taken to make this region - not sure about a whole page of
    >
    How about this the understands it in the front page template header...

    
    

    And then this in a div in the footer of the page template...

    
    

    See you soon

    Ben

  • How to make background the same on each page?

    How to make the uniform background on pages without having to do it manually? I think that it probably was sent on these forums, but I couldn't find it. Any help would be great.

    If you put a background or the master page content, it will apply to all pages using this page. I will attach a screen to show.

    You can learn more about master pages here:

    http://www.Adobe.com/products/Muse/master-pages.html

Maybe you are looking for

  • stop the random playback of music

    The shuffle music stays on and will not turn off.  It is very annoying, because I put my playlists in a particular order of song for good reasons

  • Carpet * a UJ - 831S engraving options (Satellite M40X-237)

    Hello I recently bought a Satellite M40X-237 with this carpet * a DVD - RAM drive.For DVD playback in a home theater system, I usually burn DVDs with booktype set to DVD - ROM, so that the reader can read correctly.Problem is that the latter does not

  • AirPlay has incorrect e-mail address

    In Apple TV, when I try to access my music on AirPlay it shows that the files are on iTunes under an old email address.  Does anyone know how to change this?

  • Vista, sims 3 and I/O device

    It is not possible to install the sims3 in the computer.about 3/4 installation appaears "unabble to run due to fail in an I/O device"This failure came to D:\gamedate\shared\packages\fullBuild2.package laptop with sufficient memory capacity and no fai

  • Spider Solitaire for Windows XP?

    The VISTA of Spider Solitaire version is available for Windows XP?