Ask a Question related to Adobe Acrobat Macintosh, Design and Development.
-
Christian_Plessl@adobeforums.com #1
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
-
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... -
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... -
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... -
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... -
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... -
Aandi_Inston@adobeforums.com #2
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
-
Christian_Plessl@adobeforums.com #3
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
-
Aandi_Inston@adobeforums.com #4
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
-
Garrett_Cobarr@adobeforums.com #5
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



Reply With Quote

