Adding Applescript to Acrobats menubar

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

  1. #1

    Default Adding Applescript to Acrobats menubar

    I have written some applescript, that I would like to call from Acrobat Professional 6.0.2 using a keyboard shortcut. Is it possible to register applescripts with Acrobats menu bar, and assign a keyboard shortcut to it? I couldn't find any documentation on that on the Acrobat web pages.

    Where has the script to be installed? I tried ~/Application Support/Adobe/Acrobat/Scripts but it seems like the wrong destination, since it didn't work.

    Any help would be greatly appreciated.

    Best regards,
    Christian
    Christian_Plessl@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Illustrator CS & applescript
      hello I have a document with about 70 objects (page items) which I want to export each in a separate file (.psd). I think about copy the page...
    2. AppleScript
      Hi, I was wondering if anybody out there can help me out here. I usually get a job from a customer. And everytime I work on this job I have to do the...
    3. AppleScript & FileMaker Pro
      I have two fields that contain dates. The dates are entered in this format: Saturday, May 24, 2003 00:53:04 These dates were populated into TEXT...
    4. applescript?
      Hi, Barb. Thanks, but you see, the question is, does PE understand applescript? With applications that are applescript aware, you can automate a lot...
    5. AppleScript and ChemDraw 8.0 ?
      Is anyone out there using AppleScript with ChemDraw 8.0 (http://www.camsoft.com) ? Is it even possible (in theory) to script the following tasks...
  3. #2

    Default Re: Adding Applescript to Acrobats menubar

    No, you can't do that with AppleScript. The scripts directory is for
    JavaScript.

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  4. #3

    Default Re: Adding Applescript to Acrobats menubar

    Thanks for the reply.

    It's really dissapointing, that Acrobat doesn't support adding AppleScript to its menus, since Acrobat has a lot of scripting support through AppleScript.

    Can JavaScript register themselves with the menu bar? If yes, how can it be done?
    Christian_Plessl@adobeforums.com Guest

  5. #4

    Default Re: Adding Applescript to Acrobats menubar

    Can AppleScript run JavaScript? Maybe, not sure. But in this case it
    would have to be all JavaScript. I believe JavaScripts can add to the
    menu. Details in the JavaScript Reference.

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  6. #5

    Default Re: Adding Applescript to Acrobats menubar

    Christian, you can add menus to Acrobat, actually you can add menuItems, menus under existing menus but there security restrictions. you can only add them from an external .js file started at app initialization, or from the console, or from a batch process. You cannot execute the addMenuItem JavaScript from inside a PDF document.

    I don't think that is the hard part, its making the cross over to AppleScript from the menu. Try making you post in the link below, this is the new Acrobat Scripting forum and there are some folks there whose heads are in both languages.

    <http://www.adobeforums.com/cgi-bin/webx?14@@.3bb55d70>

    Good Luck!
    Garrett_Cobarr@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