[JS] [CS3] Get the Page number

Hello.

I need to find the number of the page containing a frame.

Normally, I would use "myFrame.parent.name" to find the page number. However, I can't use this method on a line chart.  What I'm getting back is the story, which has no page number.  I've used in various ways, such as:

myFrame.parent.insertionPoints [0] .parent

but nothing returns the page number.  I looked at all the properties of the frame and impossible to find a property, I can handle to extract the page number.
Is this possible? Should I give up now?
See you soon
Roy

Use the code below,

myFrame.parent.insertionPoints [0]. parentTextFrames [0]. parent.name

Kind regards

Imagine.

Tags: InDesign

Similar Questions

  • How to get the page number

    Sorry, but again I question. I want to select table by ID, where ID should be equal to the current page number. How can I get the page number?

    Davyd

    Try

    where ID = v('APP_PAGE_ID')
    

    Jeff

  • How to get the total number of pages have been printed using the pl/sql

    Dear all,

    I want to store the total number of physical pages printed in a database table, how could retrieve the value of the total number of pages.


    I am using Oracle 6i report

    thnxxx in advance :)

    At the end of your report (i.e. After all the images from your data model), place a dummy field. You can get the page number with srw.get_page_num in the trigger of the format of this field. Since it is the last field of your report, it is also the last page number.

  • How to find the page number of an xml element

    Hi everyone, sorry for my very bad English (french guy! logic). I hope you see what I'm looking for.

    I'm script (javascript), of each articles export a script from a script multiple indesign pages.

    In fact, I might have one or more article in a single file, each of which is a separate xml element. for each, I export an xml file named with, first, page where appears the xml element, the second number, the number of exported article.

    I am the second goal of success, but not the first.

    Someone has an idea?

    Hi kazegonzo,

    Please try the js code below, I have access to the doc/article/the title tag because the doc not placed in pages, you placed the title tags to access the title tag and get the page number.

    var myDoc=app.activeDocument;
    var root = myDoc.xmlElements[0];
    var docTag = root.evaluateXPathExpression('//doc//article//titre');
    for(i=0; i
    

    THX,

    csm_phil

    Post edited by: csm_phil

  • How to get MG7520 printer to print the page number

    How to get a MG7520 printer to print the page number on the paper

    Hello.

    Printers do not have the ability to print a page number of your document.  This will have to be enabled through your software or document settings.  Check if your document has the possibility of having a page printed on each page number.

    It has not responded to your question or problem? Find more help contact us.

  • How can I get the total number of pages printed on my LaserJet 3055?

    I have a nice 1012 LaserJet that is not supported in Windows 7, but there is a solution which is to set up a Vista driver as if the printer is a LaserJet 3055.  It works, even if sometimes I get a printed statement that it does not work, and when that happens I just turn off the printer and turn on again immediately and it is fine.  I would like to know if there is anyway I can get the total number of pages printed at some point, as I could with the LaserJet 1012.

    P.S. This thread was moved from software for Laserjet. -Hp moderator of the Forum

    Please ignore my post on the LaserJet 3055.  With the help of a good soul on another thread of discussion, I was able to install and operate my LaserJet 1012 printer on Windows 7, exactly as it did in XP.  No errors, no slow printing, no problem.  The LaserJet 3055 thing helped initially as a work around, but the message about the bad personality who stopped the printer until you turned off and turned it back was boring.

  • I need Flash CS3 for my work. How can I get the serial number?

    Hello world!

    I'm working in the studio of animation using Flash CS3.

    I downloaded the Flash CS3 trial version from the Adobe Web site.
    How can I get the serial number? The legal way of course!
    I searched through the Adobe website and found no idea.

    Thank you!

    You can not buy Adobe.

    You can try your luck through a 3rd party like ebay etc.

  • I have Photoshop CS3 on my mac. I lost the installation disc. Can I get the serial number within the program?

    I have Photoshop CS3 on my mac. I lost the installation disc. Can I get the serial number within the program?

    Hello

    The serial key cannot be located within the program, however, you can try to download an app to Apple: Mac product Key Finder, which can help you to extract the key of your version of Photoshop.

    Kind regards

    Claes

  • Lost the CD and the series, need to know how I can get the serial number of the system's installed Adobe Acrobat software

    Need to know how I can get the serial number of Adobe Acrobat software installed in the laptop

    Ask your Adobe Acrobat serial number

    It would be imprudent of me to ignore the obvious - maybe Adobe can help! Depending on how, when and from whom you have purchased Adobe Acrobat, you can contact Adobe and get the serial number of your Acrobat from them.

    Visit the page Adobe find the serial number your quickly for assistance.

    Or you need to dig up your Acrobat serial number and manually decrypt!

  • I try to install photoshop elements 14. In order to get the serial number, I need to enter the redemption code. But it keep saying the redemption code I entered is incorrect.

    I try to install photoshop elements 14. In order to get the serial number, I need to enter the redemption code. But it keep saying the redemption code I entered is incorrect.

    Hello

    Would you share your redemption code in private message please?

    Or

    Please contact Adobe customer care http://helpx.adobe.com/contact.html

    • Be sure to stay signed on the page with your Adobe ID.
    • Select your product and what you need help with
    • Click on the blue box "still need help? Contact us. "

    Kind regards

    Sandrine

  • How to reset the page number?

    Hello

    I added the page numbers for the report of OTM app, printing of invoices, using the generator of reports 10.1.2.0.2.
    Everything works fine until someone wants to print multiple invoices at once.

    In this case total and the page number must be calculated separately for each invoice. No idea how to operate?
    Docs Oracle do not help at all, unfortunately.

    DKV wrote:
    Hello

    I added the page numbers for the report of OTM app, printing of invoices, using the generator of reports 10.1.2.0.2.
    Everything works fine until someone wants to print multiple invoices at once.

    In this case total and the page number must be calculated separately for each invoice. No idea how to operate?
    Docs Oracle do not help at all, unfortunately.

    Hi dkv,
    Sorry, docs of oracle have documentation.
    Check http://docs.oracle.com/html/B10602_01/orbr_pagenum.htm

    read at * 19.6 create new fields * desire property is under field, click the field of Page numbering property to display the Page numbers dialog box.

    read everything and you will get all the.

    Thank you

    Hamid

    Mark correct/good to help others to get the right answers. *

  • How can I get the serial number for Adobe XI who bought from Amazon, more than two weeks ago?

    I'm trying to get the serial number so that I can have the permanent version of the Adobe XI that I bought on Amazon.  Does anyone know how Adobe warns a buyer for this info?  I bought the software for download don't have is not a box.

    Please visit: http://helpx.adobe.com/x-productkb/policy-pricing/education-faq.html

    Adobe student & teacher Editions require that you check your academic proof after you get the software in order to obtain your serial number. The instructions for this verification process are inside the box. Adobe teacher & editions can be installed and used immediately for thirty days before a serial number is required.

    You will need to go to the site Adobe Student & Teacher Edition eligibility verification listed in the instructions, enter your product code (which is located at the top of the notice), enter your details and provide academic proof. Once your academic status has been verified, you will be sent a serial number. This process can take 1 to 3 days, but you can still run a trial of the software while you wait.*

    If you want to check the status of your application, click on the "Check state" link on the left side of the Web page. If you have any questions about this process, click on the link "Contact us" on the left side of the Web page and fill out the form to contact us at the bottom of the page.

  • Get the page to validate in WC3

    I have two pages I have forms on. I'm getting errors

    on the two pages of the section of the form of the pages on the validator 3 Toilets. How can I get the pages to validate the WC 3?

    Here is the code for the form:

    < div id = "form" > < h3 > Contact form < / h3 > < form action = "FormToEmail.php" name = "Contact form" method = "post" > "
    < fieldset > < div id = "label" > < label > name: < / label >
    < br >
    < input name = "Name" type = "text" id = "Name" size = "30" / >


    < / label >

    < / div >
    < div id = "label" > < label > address: < br >
    < input name = "Address" type = "text" id = "Address" size = "30" / >
    < / label > < / div > < div id = "label" > < label > City: < br > < input name = "City" type = "text" size = "30" / >
    < / label > < / div > < br >
    < div id = "label" > < label > phone number: < br > < input name = "phone" type = "text" size = "13" / >
    < / label > < / div > < br >
    < Lablel > e-mail address: < br > < input name = "email" type = "text" / > < / label > < br > < / fieldset >
    < fieldset >
    < label >
    < br > the elements you are interested in: < br >
    < p >
    < label > < input name = "services" type = "checkbox" / > heating < / label >
    < label > < input name = "cool" type = "checkbox" / > air conditioning < / label >
    < label > < input name = "solar" type = "checkbox" / > solar < / label >
    < br > < label > < input name = "isolation" type = "checkbox" / > insulation < / label >
    < label > < input name = "Plate" type = "checkbox" / > sheet < / label >
    < label > < input name = "water heaters" type = "checkbox" / > water heater < / label >
    < /p >
    < br >
    < p > < input id = "Submit" type = "Submit" value = "Submit" / > < strong > < / strong > < / fieldset > < / form > < / div >

    Then the other page has this code for the form, and it is not validate either:

    "" < form > < input type = "button" value = "print this coupon"
    onclick = "Window.Print (); return false; "/ > < / make >

    Any advice/help is greatly appreciated.

    Thank you!

    That's all you need:

    
    

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • How to retrieve the page number of a page

    Hello

    I need to retrieve page which have been implemented with InDesign pages numbers. However, these page numbers are generated automatically based on markers (formula) created by using a master page. (Insert special characters-> markers).

    When I try to retrieve items from the page on a page, I'm not able to obtain the page number. If I try to get the pageitem corresponding to the page number of the page master, I retrieve the marker but not the page number that is on my page.

    I wonder if there is any way I can retrieve the page on a given page number using the SDK

    Thank you very much

    Sam

    Hello

    Have you tried GetPageString of IPageList?

    Concerning
    Bartek

  • Get the line number of the selected text

    Hi all

    Please tell me how to get the row number of the selected text in a page.

    for example

    Look, here's the page with text, I want to get the number of the line of the selected one (marked in red) text

    |-------------------------|

    | XXXXXXXXXXXXXX.

    | XXXXXXXXXX |
    | XXXXXXXXXXXXXX.

    | xxxxxxxxxxxxxx |

    | XXXXXXXXXX |

    | XXXXXXXXXXXXXX.

    | XXXXXXXXXXXXXX.

    ---------------------------

    Thanks in advance

    Shiv

    Hi Shiv,

    This thread of extraction. This will give you an idea.

    Always search the forum first before creating a new.

    Shonky

Maybe you are looking for

  • I want to download music from my cd to iCloud on my Mac.

    I want to get my original MP3s on my Mac. I copied audio files from a CD into iTunes years ago. They were MP3s of books I bought in the bookstore, not just any online service.  I think they have been downloaded to iCloud when I bought iTunes game. No

  • Lenovo Ideapad 100 is compatible with Windows 10?

    Lenovo Ideapad 100 is compatible with Windows 10? I plan on upgrading... but I'm afraid that my laptop will be broken if I have improved. Thank you for the answers.

  • HP officejet 150 print to iPad?

    Hello Work with an iPad 3. The connection is possible (via bluetooth) to print on the HP officejet 150? I read this is NOT possible. Could you confirm please? Thank you very much K

  • Windows 7 tells me it is not authentic

    I bought Windows seven 64 bits about 6 months ago and have been using it successfully since. But recently a message has started telling me that my copy of windows is not genuine with the error code "0xc004c003" is it possible to fix this problem? And

  • Blocks of 2560

    Does anyone know what represent the 2560 blocks? In the PIX performance monitor doc, they describe the 4 80, 256, 1550 and 16384 blocks, but no 2560. On one of our firewalls, the current number is 1. SIZE MAX LOW CNT 4 1600 1592-1599 80 400 397 400 2