JavaScript - How do you add an action to the JavaScript action menu

Ask a Question related to Adobe Acrobat Windows, Design and Development.

  1. #1

    Default JavaScript - How do you add an action to the JavaScript action menu

    Greetings,
    I'd like to add custom script(s) to the drop down list of actions in Acrobat.
    We are creating an app where many authors will be contributing documents to our system and we have a requirement for more advanced scripts and I need the authors to be able to select custom actions as part of the PDF creation process.

    Can scripts be added to the drop down?
    Should this be handled as some sort of plugin?
    Other solutions?

    TIA
    Ray
    Ray_Dahl@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Javascript error with flex-internal?action=history_html
      Hello, I made flex application who have no problem when I execute it directly with flex or in a browser. But when I call my mxml page in a frame...
    2. Can javascript control form action?
      Can the action of a form be determined by what is selected in a form? Eg. If I had two radio buttons (Radio 1 & Radio 2). If radio 1 is selected I...
    3. cfform javascript change action
      I am in the process off convertir all my form to cfform and here is my problem : <cfselect name="abc" onChange="document.form1.action='abc.cfm';...
    4. How to call javascript or action script from CFTREE?
      have a very simple and stupid question to ask. Can I call Javascrip from the onchnage in CFTREE tag? Or I have to use Action Script in the...
    5. Page Action Javascript
      Acrobat 5 had a Page Action Javascript (Document > Set Page Action > Page Open). Where in Acrobat 6.0 Professional can I do this? I had some scripts...
  3. #2

    Default Re: JavaScript - How do you add an action to the JavaScript action menu

    I'm not sure if I understand exactly what your needs are. From what I understand you'd want a menu item that would run some sort of javascript on the document. You could do this a menuitem



    app.addMenuItem({ cName: "New Javascript", cParent: "Tools", cExec: ""})

    and put the code you wanted to execute in the "" on the cExec:.
    Sounds like submenus would also be a good fit for you.

    Khye
    Khye_Kading@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139