Getting Page number for Notes

Hi
I am using the below methods to retreive page number of notes.
Method 1
var myNotes = myDocument.stories.item(k).notes.everyItem().getElements();
Method 2
myDocument.stories.item(k).paragraphs.item(i).notes.length;
Wat is the best way to scan through the notes in a document. I am trying to get the page number for each note(Page on which the note is placed)
For Method 1:
var myFrame = myDocument.stories.item(k).textContainers[0];
var myPage=myFrame.parent.name;
For Method 2:
myDocument.stories.item(k).paragraphs.item(i).parentTextFrames[0].parent.name;
In both the cases some of the page numbers aren't displayed. Can somebody tell me is there any other way or am i doing something wrong.
Thanks

Footnotes have a property storyOffset, which is the location of the footnote's cue in the text. This is an insertion point, so the following line gives myFootnote's page number:
>myFootnote.storyOffset.parentTextFrames[0].parent.name
Peter

Similar Messages

  • Redemption code needed to get serial number for Lightroom is not activated. What to do?

    redemption code needed to get serial number for Lightroom is not activated. What to do?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • BI Publisher - if page number is not divisible by 2 then print a blank page

    Hi,
    I have an BI Publisher rtf word template. I want to be able to print a blank page if the page number is not divisible by 2. Does any body know how this can be done? Your input is greatly appreciated and thank you so much in advance.
    MT
    Edited by: user11177994 on Mar 29, 2010 8:19 AM

    Hi Dominic,
    Thank you for the link. The problem that I have is when the job specification last page prints on the front of the page, and the next job specification prints on the back of that page. There is no way I can control what page it is going to print on. This is depending on how much description the user puts in. Any suggestion is greatly appreciated.
    I do have another issue too, and you maybe able to help me with this. Below is a list of form fields on my template. When the job specification is printed on more than one page, I could not get the fk_job_title to print on the continuous pages. Is there a way I can code this fk_job_title to print on all of it's continuos page? I have tried many different ways but could not get it to print. I also posted this in the forum, but didn't get any respond.
    ** form fields **
    CLASS TITLE: F fk_job_title PAY GRADE: p_grade
    JOB CODE: job_code SALARY RANGE: s1 - s2
    LOCATION OF WORK: work_location
    GENERAL DESCRIPTION: general_descr
    ESSENTIAL WORK TASKS: work_task
    KNOWLEDGE, SKILLS, AND ABILITIES: knowledge_skill
    EDUCATIONAL AND EXPERIENCE: education_exp
    SUBSTITUTIONS: sub
    CERTIFICATIONS/LICENSES: certification_license
    OTHER JOB ASPECTS: job_aspect E
    PB
    Thank you so much,
    MT

  • Get page number

    is there any way to get page number which my query search found it ?
    i mean when my search in documents such as word, pdf or ...

    If understand your requirement - that you want the page number of a document on which your search term was found - this is not possible. Oracle Text only keeps track of word offsets - for example it might know that "dog" is the 200th word in the document - it does not know about page numbers.
    The $I trace in ctx_output has no relevance to this problem.

  • Where can I get serial number for Lightroom to start using it?

    Hello. I have just created Adobe CC account and purchased a Photography membership plan for Individuals. The price is 9,99 per month and this sum has already been taken from my card. On this page (https://accounts.adobe.com/plans) I can see the confirmation that I have obtained this plan.
    Now I want to use Lightroom but it asks me for serial number. After reading some help I found that I should get serial number from here - https://www.adobe.com/account.html. But on this page it says that "You have no registered products.". So I see no serial number.
    So there's a simple question - where can I get serial number for Lightroom to start using it?

    Jeff, thanks for your answer but it doesn't help. I've successfully passed all checks on page Sign in, activation, or connection errors | CS5.5 and later . My internet connection is ok, hosts file ok, certificates ok, etc. It's not a source of the problem.
    I've found that on page Adobe ID it says that I have free membership. Somehow it turns that my purchased Photography membership plan is not there at all. in order to proof that I really purchased it please see screen from my internet-banking page below:
    Why it is displayed only free membership in my account page and not Photography subscription which was already paid?

  • When converting word to pdf the cover page of my documet gets page number 1.On the original the numb

    When converting word to pdf the cover page of my documet gets page number 1.On the original the number pages start from the second page.How to keep the original format?

    Michael's reponse is correct. However, as far as I knew, OFFICE 2007 came with printer metrics turned off, meaning it is not supposed to be sensitive to the printer selection. The setting is buried in the options list for compatibility. If it is turned off and a change in printer does affect the result, it would appear just one more of the many things in OFFICE 2007 that MS messed up. The latest one for me has been helping students with the messed up equation editor when you want to add equation numbers in a "standard" way. One of the MS employees even wrote a workaround macro for that problem.

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Why can't I type in a page number for a link anymore?

    I had version 6 and I could select an area to be a link, then pick the go to page option, then type in a page number by hand.
    Now, with version 8, I pick "go to a page view", then physically go to the page, then click "set link". What happened to typing in a page number by hand?

    That work-around came close. For some reason it brought me to page 13 instead of 12. But I'm looking for something as easy as it was in version 6 where you don't have to program in javascript. I suspect most people don't know how to program in javascript or anything anyway. All Adobe really had to do was NOT remove an option.
    Does anyone know a work-around that might be close to the simplicity(or easier) of version 6 for putting in a page number for a link (as you're creating the link from scratch) rather than having to go find the page? Or did I actually downgrade by buying version 8?

  • Where to get serial number for photoshop cs2?

    Hi! where do i get serial number for photoshop cs2 free dl? Thanks

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    CS2 is not free. The download is for existing owners of CS or CS2.

  • How to get online Number for India ?

    Spoiler (Highlight to read)
    How to get online Number for India ? 
    Spoiler (Highlight to read)

    Hello,
    Skype does not offer Online Numbers in this country.
    For more info regarding Online Numbers please visit: https://support.skype.com/en/faq/FA269
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • How to get pages list for a group space or create a page for a group space

    hi All,
    I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
    1. Get pages list for a given group space
    2. Create a page for a given group space
    I researched the following codes from web site:
    PageDef newPage = mPageService.createPage(
    PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
    "MyPageTemplate1.jspx",
    "/mytemplates/",
    null, null, null);
    What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
    By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
    Best regards

    did you manage to get the page list using Page Service API?

  • How do i get serial number for my element12 i have the redemption code

    how do i get serial number for my element12 i have the redemption code

    Hi ylee0y0te,
    Please follow the steps here.
    1. http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    2.http://helpx.adobe.com/x-productkb/global/find-serial-number-student-teacher.html
    3.http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Hope it helps you.
    Regards,
    Rajshree

  • I cant get a number for my ipod on iMessage?

    I'm having troubles, I can't get a number for my ipod on iMessage. Like I send &amp; receive texts from my email but I cant get a phone number. If I try to add it on the field it wont let me put it in. So what do I do?

    An iPod (and iPad) will only have a phone number for Messages (and FaceTime) if the same ID is used on an iPhone with iOS 6
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage

  • I cant get the number for imessage

    I cant get the number for imessage
    i press receive at and it only gives me my email

    An iPod uses the email address that you assign for Messages to receive messages. It is usually your Apple ID email address but you can add others to.

  • I purchased PSE 13 but have a Vista OS. It was suggested in this chat room that I download PSE 12. I did that & installed. The serial # for 13 does not work. Any thoughts on how I can get a number for PSE 12?

    I purchased PSE 13 but have a Vista OS. It was suggested in this chat room that I download PSE 12. I did that & installed 12.
    The serial # for 13 does not work. Any thoughts on how I can get a serial number for PSE 12?

    Hi
    There is a newer version of Resolution+ Plug-in released for an Qosmio X series
    [Resolution+ Plug-in v 1.1.2004|http://eu.computers.toshiba-europe.com/innovation/download_driver_details.jsp?service=EU&selCategory =2&selFamily=381&selSeries=231&selProduct=7506&sel ShortMod=null&language=13&selOS=all&selType=400&ye arupload=&monthupload=&dayupload=&useDate=null&mod e=allMachines&search=&action=search&macId=&country =all&selectedLanguage=13&type=400&page=1&ID=82406& OSID=30&driverLanguage=42]
    try it out...
    If it has not been installed properly, try rebooting your computer and reverify.

Maybe you are looking for

  • Creating a Process Chain

    Hello Now I have a task like creating a Process Chain for loading data into ODS object.I came to know that directly we can'nt create/delete index for ods objects in Process chain.For that we should write Abap code itseems. Can any one help me out in

  • Metadata baked-in after Convert Photo to DNG?

    Since I did Convert Photo to DNG to all my photos (originals were .CR2 and were Developed as well) it seems that Lightroom baked the previous metadata (XMP) to the new .DNG files so now, when I hit the " \ " keystroke to see " Before " (under Develop

  • In background a program seems to be trying to complete a function while I am using a rogram on Mac Book. What can fix this?

    My problem is that I faintly see a flashing(not exactly faint but too fast to read) that seems to be a program trying to comple an action or maybe ask a question. The flashing is disractive and interferes with input of information from keyboard-----m

  • Pantone color issues while PDFing

    The company I work for designs/publishes a magazine and have just been upgraded from CS2 to CS4. Since then, I've started having some problems when I PDF or print an ad. I'll receive an ad as a PDF and a component of their ad will be a Pantone color

  • Users per company code

    Hi Is there any report of Funtion module to get the list of uses per company code Do let me know if you know anything about this thanks sameer