Number of page with a color label

Dear people,

Is it possible that InDesign can count pages with a color label? (CS5)

If a window appears with the message.

10 yellow

20 Red

etc etc.

I have "looking through the forum and could not find anything with colorlabels.

Thanks for all those who want to help!

Greetings from Holland

This will do the job:

var
    mD = app.activeDocument,
    mP = mD.pages,
    pC = {}, i = 0;

for ( i ; i < mP.length ; i++ )
    ! pC [ mP [ i ].pageColor ] ? pC [ mP [ i ].pageColor ] = 1 : pC [ mP [ i ].pageColor ] += 1;

alert ( pC.toSource () );

HTH

--

Marijan (tomaxxi)

http://tomaxxi.com

Tags: InDesign

Similar Questions

  • Is there a way to only show the pages with a color label?

    I'm working on a document and I have several pages with colorful labels (gold, blue)

    I ask if there is a way not to show my pages gold for example, so I have an overview of these pages?

    Thank you

    There is no ability to filter these pages.

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • Total number of Pages with the exception of the page

    Hi all

    Currently one have a form that requires a page number starting on the second page. I did it via the DAL script

    #PCOUNT += 1;

    Return (#PCOUNT);

    Now, the problem lies in the total number of pages. Is it possible for me to get the total number of pages in my form, without taking into account the first page? Thank you!

    The total number of pages does not know during the GENDATA. You may need to use a DAL with SetFld() reports to print (for total_pages only) page numbers.

    As discussed above, the value of PAGE NUM OF the FORM is not available until the GENPRINT

  • With a color label important predefined

    Is it possible to import a batch of photos and assign them all the same color label during the import process?

    Is it possible to import a batch of photos and assign them all the same color label during the import process?

    In the import window Panel apply when importing, you can define an import of metadata preset that sets the label you want for all the imported photos:

  • Page with background color and view guidelines

    Hi guys,.

    Maybe it's a stupid question of is it possible to have a page of color in the background (gray in this case) and ALSO be able to see the guidelines. It is much too long to remove the background color of every time I want to check if the text box and margin adjustments are fair.

    Here is an example

    WITH THE GUIDELINES

    http://www.pixentral.com/show.php?picture=1FoWLGSA3zcMNpVmwIA06hduIJy80

    WITH THE BACKGROUND AND NO GUIDELINES

    http://www.pixentral.com/show.php?picture=17A3s8nMPkqvzw0rkI0Bi1z9Ey1Vg

    Thanks for your help ;-)

    I wonder if you have the "Guides in return" check box under the section of the Guides of the prefs uncheck the box only and the guides will always be in front of the content of the page.

  • HRMS sign on number of pages with PIA

    Hi all.
    I installed Peoplesoft 9.1, PT8.52 (Oracle database 11G 64-bit) on windows 2008 server 64-bit and a HRMS DEMO DB on one machine virtual PSDEMOVM.
    I also installed Oracle 11 G client 32 and configured a client workstation PS on another machine virtual PSDEMOWS
    I did all the steps, and now the server machine, I entered PSADMIN and created a field following all the steps configuration.
    I installed PIA also, user PTWEBSERVER/PTWEBSERVER.
    Web site: ps
    Auth_Token_Domain: nom_societe.com

    I am not able to access the application.
    PTWEBSERVER exists in the database and has the same password "encrypted" in the file "configuration.properties".
    No error found in newspapers both appserv and webserv.
    The login page http://psdemovm. [companyname].com:7180/psp/ps/?cmd=login & languageCd = ENG gives me the message error "Internet explorer cannot display the webpage".]
    I tried to use: http://psdemovm:7180/ps/signon.html, it displays an error message "Your URL must contain. nom_societe.com ' and redirects me to the URL mentioned above, as well as with the same error message.

    Yet one thing, I am able to access page WebLogic Console using http://psdemovm:7180 / console.

    What I am doing wrong? What should I check?

    THX and best regards

    Bechara

    adjust your configuration.properties with one off of these values: DEV, TEST, PROD and KIOSK

  • Display the page number and the total number of pages in a single domain. Is this possible?

    I would like to than my report to view the number of page in the format "< page number > of < total page >", as "2 of the 6". Rather than create 2 fields to display the page number and the total number of pages and 1 label to display the word 'from' in the Middle, can I combine all of this into one? If so, how?

    Note: I woud wants to use "physical page number" as "total physical pages" and page number as the total number of pages.

    Published by: 1008305 on June 6, 2013 19:31

    Hello

    It is not possible to write in a.

    Even I try for the same, but didn't find any solution.

    We ave only two options to display the page number;

    1.) reports under construction Page number option: string will be: page & to &

    2.), we can take 2 text field that displays the page number and the total number of pages with 'from' lable inside the two text fields.

    IF any new you will come to know then.

    Thank you

    SHAH HARD

  • Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each i

    Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each...

    Try:

  • HP Officejet Pro 8610: How can I get a report with the total number of pages printed on my HP Officejet Pro 8610?

    The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610?  And if I can, there are a total of 'resettable' or working capital?  Don't see anything in the user guide and a search gives nothing usable on this blog.

    Wireless printer installed on an old PC with Windows XP SP3.  I also of course install with cable network but so far it works well on my home network without a network cable.  Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.

    Please do not answer I can find total by counting the number of pieces of paper that I have.  Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!

    This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase.  So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.

    Thank you

    Harry

    Hello

    Article #2 of the report printer Ststus will tell you. Please try:

    Printer status report

    The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.

    The printer status report contains also a log of recent events.

    If you need to call HP, it is often useful to print the printer status report before calling.

    To print the printer status report

    1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.

    2. press on printing reports and then tap Printer Status Report.

    Kind regards.

  • Tips: to create a product with multiple color options page?

    Hello, thanks for reading!

    If I create a site for a client who has a makeup of brick and mortar store. Everything has been easy so far, each product gets its own page. Now, we are in a range of products that has many options: 10 with 12 different Nail Polish various tinted colors each. I could build each page with thumbnail links to each color, but thought someone may have already thought of an easier way to do this. Is there a widget or page shopping etc model anyone could recommend? Thank you!

    S6000 wrote:

    More research and looks like I'll need a updated CMS in place?

    It is an option... I would use one of the ready to use templates, but you need to match your code which allows the host server.

    is the BC Adobe host?

  • Problem with colored labels

    Hello

    I'm having some problems with color tags when you use lightroom;

    I recently upgraded to Lightroom from 5.6 to 6.5, and all the photos of my catalog with tags color turns white label only.

    I also have the same problem when I import pictures from my laptop catalog, whith photo colors such as red, blue, green, turns in a white label...

    Is there a problem with LR 6.5?

    Could you help me please?

    Cosette

    I finally found the solution.

    During the upgrade, LR languages have changed, and the words associated with the colors too, labels

    so I translate just the name of the color in the metadata / color label set / change, and everything is fine!

  • Friends of Hy. I want to ask that I am looking to get a pdf split software to split a pdf file into several PDF files with my set of pages specified. As if a document is 22 pages then I will specify the number of pages that must be cut in half to separate

    Friends of Hy. I want to ask that I am looking to get a pdf split software to split a pdf file into several PDF files with my set of pages specified. As if a document is 22 pages then I will specify the number of pages that must be cut in half in separate PDF files. for example I entered that do three pdfs of 1-5, 5-7, 8-10 pages and it will result in me

    first pdf = 1-5 pages

    second pdf = 5-7 pages

    Third pdf = 8 to 10 pages.

    Y at - there no way to do it with adobe acrobat or any other software? I tried many software including adobe with extract and split option, but I did not get the results you are looking for. so please:

    I would like to know if any of you have any knowledge about it. I have

    Thnanks in advance!

    Hi minixain,

    Yes, you can do it using Adobe Acrobat application (Adobe Acrobat free trial downloadversion |) Acrobat Pro DC), please refer to this document for help KB split a PDF | Adobe Acrobat DC tutorials.

    Kind regards

    Nicos

  • Dynamically, use page number in the form on the pages with their field?

    I have a form with pages having engineered.  JS for spawning exception works very well.  However, a text field on model is driving me crazy.  I wish that this field ("CaseNum") to dynamically display the page number, given that the page number also matches the file number.  On templage ("getcase"), I can calculate the value for CaseNum using custom script calc (event.value = this. PageNum).  But it does not work because each page having spawned Gets the same value (that is to say, what is the latest issue of the page generated). I also tried the JS below, using P0.getcase.CaseNum as the field on the model in which I wish the page number/box number to display:

    var this.pageNum = opaque;

    this.getField ('P' + opaque + ".getcase" + ".") CaseNum') .value = opaque;

    But it does not either, because the page automatically generated field gets the prefix of the P + .getcase page number appended to the name of the field.  Is it possible to number of dynamic page used in a form on the pages with their field?  If so, how? Note that while I try to use a dynamic file on pages with their number, it presents the same problem as dynamically displaying pages with their page numbers.  I'm a JS newbie, so any help appreciated.  I searched high and low on the web and in the forums and couldn't find the answer.  THX.

    http://forums.Adobe.com/thread/1160899

    @

    7George Johnson,.

    February 28, 2013 09:42 in reply to natelfo

    Is that what you mean?

    See also:

    http://www.PlanetPDF.com/developer/article.asp?contentid=6466

    d-template-pages-using-JavaScript-functions/ http://www.wordwizardsinc.com/blog/Finding-the-FieldName-prefix-on-Acrobat-acroform-spawne

  • Print black color with a color of the image page

    If I set up my printer to print in color, it prints black parts with cartridege or black color combination?

    Hi reneincer,

    I understand that you would like to know if the printer uses black ink if you set up to print with the color cartridges.

    There are different to choose print settings.

    High quality grayscale will use less cyan, megenta and yellow (CMY) that say normal printing mode, but will not be a drastic reduction. However, the only feature of black ink slightly reduced the use of the CMJ. This setting produces a composite black.

    The feature of black ink only will limit the use of color for the amount that passes under the black ink to ensure an impression for a long time and the true-black tone that should.

    More economical printing would quickly the project and black ink only.  Grayscale setting uses the color cartridge to print in grayscale, because it offers better quality.  The quality is better with shades of gray, but it uses more ink.

    You will find information in the following article. Use of inkjet printers ink.

    Here is a document on the color management settings.

    I hope it's useful.

Maybe you are looking for

  • iPhone 6 s most do not recognize the official cable apple

    Hello, please help me with this problem. I have a iphone 6 s more bought from Vodafone Romania with contract. I have a problem with the official cable, not recognized by the phone, pc (windows 8.1). I had installed until the night last ios 9.3.5, now

  • ads reappear in ALL how can I get rid of this without having to pay 4 something?

    No matter how many cookies I cancel or ads I have block, I keep getting interrupted at the MOST inconvenient times, especially when I am SMS anything at any time.

  • Error message when you try to scan

    When I try to scan on my HP HP 309 has, I get an error message "Cannot perform the analysis because another program has control of the HP imaging device."  I tried to restart the program, close all programs and restart the computer, and nothing seeme

  • Windows cannot access removable disks.

    I got a Sandisk Cruzer last Saturday, everything goes well, but today, during the transfer of a song, the sudden bar will not go, so I reject the flash drive, then this is the problem, the second time I plug my USB, it can open as usual, but when I t

  • is this useful?

    Reference Dell dimension e520 Windows xp home sp2 Intel core2 6300 1.86 ghz 1024 MB of ram IM currently paid for and fully updated suite mcafee internet security on my pc. I recently had a free trial 14 days counterspy v2. the free trial version is i