Creating context menus by using bookmarks in acrobat pdf format

Hi all

I have a requirment to create a button called 'Index' in a pdf document.

When I click on this button, it should show the context menu, and if I click a menuitem in that, it brings me to the page in question. I've seen some of the interactive pdf available on the web and they have this facility. I tried to incorporate that into my pdf, it displays the pop-up menu item correctly but not taking me to this particular page and through an error message.

itemIndex is undefined
3:acroform:index:Annot1:MouseUp:Action1

Here is the code I tried for your reference.

My question: is it possible to fill this context menu with action to go to the page in particular, in the available PDF bookmarks?

Please help me. Thanks in advance.

var itemInedex = app.popUpMenu("Executive summary", "Why backups?", "Defining the data status (consistency)", "New disk technologies", "Understanding disaster recovery and restart and recovery", "Drawbacks with backups", "Backup in mainframe", "Schematic presentation", "For more information")
switch (itemIndex) {
 case "Executive summary":
 this.pageNum = 0
 break
 case "Why backups?":
 this.pageNum = 3
 break
 case "Defining the data status (consistency)":
 this.pageNum = 4
 break
 case "New disk technologies":
 this.pageNum = 5
 break
 case "Understanding disaster recovery and restart and recovery":
 this.pageNum = 6
 break
 case "Drawbacks with backups":
 this.pageNum = 7
 break
 case "Backup in mainframe":
 this.pageNum = 8
 break
 case "Schematic presentation":
 this.pageNum = 9
 break
 case "For more information":
 this.pageNum = 10
 break
}


Kind regards

Bachi. D

You have a typo. You called the variable itemInedex instead of itemIndex.

Tags: Acrobat

Similar Questions

  • create a link to a bookmark in another pdf file

    Hello

    I'm trying to create a link to a bookmark in another pdf file.  I was reading online on this subject and I found, you can create named destinations, but it only seems to work when the files are on a Web server.

    I tried this link: document1.pdf #nameddest = section 2 but does not work.

    My files will be on a network drive.

    Is anyway to do this with files located on a network drive?

    Thanks in advance!

    What you're talking to are the "parameters for opening PDF.

    This is the documentation:

    http://wwwimages.Adobe.com/www.Adobe.com/content/dam/Adobe/en/DevNet/Acrobat/PDFs/pdf_open _parameters_v9.pdf

    Open settings can be useful if the files are in the Web space and accessible via the browser.

    There are other methods to get PDFs in space network to "talk" to each who have greater efficiency.

    Be well...

  • Need to change size of font in Acrobat pdf format

    Need to change size of font in Acrobat pdf format

    You can change the font size of the PDF content in Acrobat 11. Using the text tool & Images change happens "Edition content" accordion pane 'Tools' to invoke Edit and do what is necessary.

  • How to remove a video in acrobat pdf format

    Hello everyone

    This is perhaps a silly question, but I can't figure out how to remove my video in acrobat format

    I'm new to a PDF file

    Would appreciate any help

    1. go to tools-> Rich Media.

    2. click on 'Select' tool in the top toolbar.

    3. click on the video to select this option and press on delete.

    For more details, see using Acrobat | Add audio, video and interactive objects in PDF format

  • How to write to Adobe Acrobat pdf format

    I recently bought Adobe Acrobat. When I go to print a document in pdf format, one of my printers is Adobe PDF. Who is the Adobe Acrobat printer or does it move? If this is the case, how can I add Adobe Acrobat pdf printer to my list of available printers?

    The Adobe PDF printer is installed when you install Acrobat. Go ahead and try to print to it. When you install Acrobat, it also normally install PDFMaker in some applications, such as MS Office. This allows more options when generating a PDF file of the source document, so familiarize yourself with him at the well.

  • Issue of form design - using the form in Acrobat PDF format

    I created a form in excel and imported into Acrobat Pro XI to create a pdf file which is automatically calculates the subtotal, discount, delivery, installation, retail etc...    The problem I have is that the sum does not calculate properly when the discount field or sales tax is nil.  Can someone tell me how write code if the value of "Discount" is $0.00, the value will be equal the subtotal? I should be able to then apply the same formula in the field of sales tax.  Here's the formula I am entered for the calculation of the discount and subtotal:

    Event.Value = this.getField ('subtotal') .value * this .getField ("Discount") .value.

    Ah, if it's a percentage field, not a dollar amount (as your original question has suggested). In this case, you can use something like this:

    If (this.getField("Discount").value == 0) event.value = this.getField("Subtotal").value;

    else this.getField("Subtotal").value = event.value * this.getField("Discount").value;

  • Principle and interest calculation in Acrobat PDF format

    Hi people,

    I have a customer who wants a created pdf form that mimics the main calculation and interest in an Excel doc. Please see the screenshot below of the Excel doc:

    screenshot.jpg

    Thus, the said Excel calculation = PMT(G51/12,30*12,-C60). "G51" being the "real interest rate" (4.84% in the example) and "C60" being the "Total loan" ($ 387 172 in the example).

    There is also a note under the LMP calculation that says 'PMT (rate, nper, pv, [VC], [type])' but I have no idea what it means.

    If someone could please help write a script customized to what would be much appreciated.

    (Based on the example above - with interest rates at 4.84% and the Total amount of the loan being $387 172 - the "monthly payment" is intended to match $2 041).

    Thank you

    You will need to implement the PMT function in JavaScript and use in the calculation. The following function supports three inputs the makes Excel PMT function:

    the PMT (i, n, p) {} function

    I return * p * Math.pow (1 + i, n) / (1 - Math.pow (1 + i, n));

    }

    This function would be normally defined in a JavaScript to the document level.

    If the calculation for the field of PMT script could then be:

    Calculation for PMT field script

    Get the value of the interest rate field

    var rate = + getField("G51").value;

    Get the value of the total amount field of loans

    var total = + getField("C60").value;

    Set the value of this field to the monthly payment

    Event.Value = PMT (rate/12, 30 * 12, - total);

    Post again if you need help.

  • can I create custom context menus? Can I use Push technology? With the browser?

    Anyone know if I can create custom context menus? Also, can I use Push technology? I vibrate the device? With the browser?

    Just try to clarify to make sure I understood the question.  The browser does not support the menu adding items to the BlackBerry menu (I don't know how tell - the menu that is displayed when you press the menu key on the BlackBerry). Java applications are.  You could build something in JavaScript (on 4.6 and later) who gave you menus, but it does not fire when the menu button has been pushed.

  • How to create a bookmark in a PDF in Adobe Acrobat Reader DC?

    How to create a bookmark in a PDF in Adobe Acrobat Reader DC

    Hey stas9056600,

    You will need to use Adobe Acrobat software to add bookmarks.

    This can be done using Adobe Reader.

    Kind regards

    Ana Maria

  • You can create a table of contents with page numbers using bookmarks?

    You can create a table of contents with page numbers using bookmarks?

    Sometimes a long article has bookmarks to help navigate, it but has no real TOC (table of contents) on the first page. In such a situation, I think that it would facilitate the reading of the paper version if you can somehow create a table of contents with page based on hierarchical bookmarks in the document numbers.

    If this is not possible from Acrobat, is there a third party app?

    Indeed you have created a script for this - sorry that I missed it. I should have...

    Acrobat - Create TOC bookmarks

  • Why the font is used in context menus display incorrectly/differently?

    Hello, I improved FX 3.6.23 to 8.0.1 and found the rendering of fonts in menus to be 'bad' or at least different/changed in 8.0.1 - it's like a bold, but also a little pixelated... font and pretty ugly.

    How can I get a police normally made in my context menus?

    I thought it would be something within my user profile, so I created a new profile and still had the same problem.

    Thank you =)

    UPDATED Nov 28 - I noticed also just two favicon graphics AND fonts are not rendered correctly (or as they have in previous versions of Fx) when I press and hold the buttons down front and rear.

    12.0 seems to have this problem resolved, all the fonts and the favicons visit as planned.

    (Possible interest for advanced users: I started in the 32-bit core of the Lion for testing purposes, launched Fx 12.0 and found the police and the favicons render properly as described in my original post.)

  • I use the current trial of Acrobat DC version. I opened a PDF I created in Corel Draw by publication in PDF format. I tried to copy and paste text from it to a Word 2007 document. The copy option was available, but when I went to the document and ch

    I use the current trial of Acrobat DC version. I opened a PDF I created in Corel Draw by publication in PDF format. I tried to copy and paste text from it to a Word 2007 document. The copy option was available, but when I went to the document and chose paste, it was nothing. I then tried the same thing but sticking in a document of Corel. The same problem. It seems that the text has been copied, but I'm unable to paste it into another program. Is this real?

    Is it permanently available text? (Can highlight you)?

    This seems a strange way of working well - why not copied from the draw to Word?

  • How to create a scrolling pages using Acrobat 5.0 for Windows (multi)

    How to create a multi page document that can be scrolled? I want to place a drawing, I have in pdf format, on each page of the document, and then send via email if the recipient can open and scroll through the pages to see all the designs.

    If I understand your situation, you have a lot of PDFs, each with a chart. You want to combine. Just open the first PDF and then go to Document > insert Pages to add pages. If they come out in the wrong order, simply use the thumbnails to rearrange. Save the file using Save as.

  • How to get started using offline file "acrobat_reference.pdf" from in Acrobat Pro DC, preferably in the Help menu?

    How to get started using offline file "acrobat_reference.pdf" from in Acrobat Pro DC, preferably in the Help menu?

    You create a JavaScript script like this.  It has two platforms, but available in JavaScript, but I have commented out the windows because it's from my Mac.  Also note that I've hidden the menu default Acrobat help item in this JavaScript.

    /************************* Hide Menu ********************************/

    Hide the default Help menu

    app.hideMenuItem ("HelpAcrobat");

    / * Menus execution * /.

    app.addMenuItem ({cName: 'Adobe Acrobat help PDF', cParent: 'Help', cExec: "fTDocs1()", NPO: 0});

    /***************************** Functions ************************************/

    Note: The ' / C/Program Files/Adobe / ' convention was used to conform to the

    SDK Adobe format but the installer does not you may need to

    Change the path to your system.

    Mac OS X

    function fTDocs1()

    {app.openDoc ("/ Applications/Adobe Acrobat XI Pro/Help/acrobat_reference.pdf") ;}} ;

    This section is commented

    64-bit Windows

    function fTDocs1()

    {app.openDoc("/C/Program Files (x 86) / Adobe/Acrobat DC/Acrobat/Javascripts/acrobat_reference.pdf') ;};}

  • Word 2010 on PC - using the Acrobat plugin in French - kerning is not correct in PDF format

    Here's my problem: I have a complex Word document (manuscript of 700 pages with internal hyperlinks by using bookmarks and Table of contents).

    I can't get the PDF to create correctly. I have the latest Acrobat and also the Word Acrobat plugin. I also have a Mac and a PC.

    I can't save the PDF on a Mac because it will not create a PDF file with dozens and dozens of hyperlinks internal - so I need to get the Word/PDF to work on a PC.

    I have great difficulty exporting the word because the document is mainly in Arial and the process will not embed Arial. Word/Acrobat will embed all fonts used in the document, but not Arial. It is a real problem because the Arial font is changing dramatically in the PDF file. Letters are even overlapping - exported as a PDF from Word, the document is almost unreadable. Of course, the police works great when you create a PDF on the Mac. I CAN incorporate the police once established in a PDF of Acrobat file, but it does not solve the problem of kerning. This isn't new the text layout.

    I'm frustrated and feel out of options.

    Any suggestions or alternatives? Is this a known bug in Word/PDF?

    Another autour work could switch to another font, but that would be extremely tedious because it moves the items from one page to another, and the document is 700 pages.

    Any help appreciated!

    The problem with the change of the police, it is that the document is set up like a book with page breaks in specific areas and chapters from the right side of pages etc.

    The reflow would be tedious.

    After many tests - in this file - Arial does not incorporate when choosing the options EMBED police or even make a Distiller profile. And the absence of incorporation is the origin of the problem of kerning.

    However, I found a solution that I'm very excited.

    If you select / a conformity: PDF/A3-B STRENGTH incorporate all variants ARIAL used in the document and the kerning the problem is resolved.

    I hope this helps other people who have had problems with Arial incorporates, as it seems there have been many problems based on research on the web for this topic.

    Good luck

Maybe you are looking for

  • Letter of verification sent iCloud, but I never receive.

    iCloud is always asking me to provide confirmation.  I click on the 'send letter of verification', but the letter never happens.  This has happened since OS X, I think.  How can I get around it?  And, no, it's not in my spam folder.  T

  • How can I mount a partition encrypted after the start?

    Hi all So I know that if I encrypt an external hard drive, I have to enter a password when I connect the disk on my computer until the drive mounts. However, I now try to have only one partition of an internal hard drive that is encrypted. When the c

  • Card drivers Dell 1397 WLAN for Windows 8

    Like a fool, I downloaded Windows 8 the first day of its publication. I have a laptop Inspiron 1545. As soon as I installed W8, my wireless card has stopped working. Are there opportunities that W8 drivers will be released anytime soon? I am very dep

  • Default display folder set to 'list' in the download window

    Whenever I need to download an attachment of e-mail or other Internet sites (which I often do for my work), the default view for 'desktop' in the download window is on display large icons. No matter how many times I've changed manually this view 'lis

  • BlackBerry Smartphones things unused cleaning

    I'm emptying the things I know that I will not use and I can't find a delete option. I am trying to remove the link XMRadio, music store, music id and a few other shopping icons that came preloaded. Any other application seems to have the option to d