Executing JavaScript in X Pro on Mac

Hello,
I recently switched from Windows 7 with Acrobat 9 Standard to Mac OS X 10.8 with Acrobat X Pro.
On my windows setup, I could copy javascripts into Acrobat's "Javascripts" folder and those actions would appear on the Document menu. I've copied those same scripts to my Javascript folder on the Mac, but they don't seem to appear.
I believe the proper Javascripts folder is:
/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app/Contents/Resources/JavaScripts
Now that I've dropped the javascripts in there, and restarted Acrobat, I can't seem to find the place to actually run the scripts. In other words, there is no Documents menu, so I'm not sure where those scripts are. I've enabled JavaScript in Acrobat Preferences, and there is a "JavaScript" section on the tools menu, but my scripts don't appear anywhere.
The two scripts I'd like to add are a "Reverse Order" script that reverses the page order, and a "flatten" tool that flattens all comments on the document.
Please help, and many thanks in advance.

One way to be sure that you have the corrct folder for the Javascripts is that Acrobat places two files in the Javascripts folder.
You should see "glob.js" and/or "glob.settings.js" files in that folder. If at least one file is present, then you've got the right folder.
Next, check that Javascript is enabled in the preferences: Acrobat -> Preferences -> Javascript, and make sure that the box for "Enable Acrobat JavaScript" is checked.
You should be good to go. You might need to restart Acrobat for the prefs to take effect.
Darryl

Similar Messages

  • How to invoke JavaScript for Premiere Pro CC?

    Hi,
    I am new to Adobe CC products/scripting and I'm trying to control Adobe Premiere Pro CC from another desktop application. Using ExtendScript Toolkit, from its UI, I can invoke JavaScript commands or files.
    But I can't find any way for my desktop application to invoke JavaScript commands. I can't seem to find any command line tool for it (no documentation either and JavaScript doesn't seem to be officially supported). Any help regarding this would be greatly appreciated.
    I tried using the Socket object on a .jsx file to act as a server (to listen for commands from my desktop application) and placing it on the common startup script folder. But the start up script blocks the UI of the Premiere Pro application entirely (even if I use "$.sleep(milliseconds)" function in between  the "poll" function for acquiring a connection). This wouldn't work for my application as I can't block the UI.
    For After After Effects CC, I can use the "afterfx.exe" on Windows and AppleScript with "DoScript" command on Mac, to execute JavaScript expressions or files. But this doesn't seem to work with Premiere Pro or any Adobe CC products. For Photoshop, I can just open any .jsx file with Photoshop (for e.g. "Open With") and it runs the .jsx file. But this technique doesn't work with all the other Adobe CC products (even the ones which support JavaScript officially).
    According to Adobe Premiere Pro developer centre, there is no mention of any JavaScript support. But since the functionality does seem to be there (as discovered through ExtendScript Toolkit), I am hoping I can get away just by using JavaScript commands to control Premiere, as opposed to using the native SDK for Plugins. However, I really hope Adobe Premiere Pro folks are seeing this and they officially support JavaScript soon .
    Thanks for your help.

    Hi all,
    Any help? Seems that the general Adobe Premiere forum is a lot more active in terms of responses. That is why I originally kept in the general forum at first.
    Due to the lack of documentation, I ended up spending even more time just to figure out how to invoke Premiere Pro with a JavaScript file, from the command line. But no luck still . Any advice would be greatly appreciated.
    Thanks.

  • Calling javascript functions from xsl on mac safari

    Hi,
    I am having a problem calling external javascript functions from xsl on mac safari, i am trying to generate a dropdown dynamically from an xsl document using XSLTProcessor through javascript, following is the code snippet of the xsl document
    <select name="ddl_EmailSubType" class="Menu" onclick="onEmailSubTypeChange();" id="ddl_EmailSubType" >
    <xsl:for-each select="./SubTypeFields/FieldGroup">
    <xsl:if test="@SubTypeGroup != 'All'">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="@SubTypeGroup"/>
    </xsl:attribute>
    <xsl:if test="@SubTypeGroup = $SelectedSubContentType">
    <xsl:attribute name="selected">selected</xsl:attribute>
    </xsl:if>
    <xsl:value-of select="@SubTypeGroup"/>
    </option>
    </xsl:if>
    </xsl:for-each>
    </select>
    here the function onEmailSubTypeChange() is present in an external js file, all the other functions from this files are executed successfully except the ones which are defined in the xsl document.
    I have also tried replacing onclick="onEmailSubTypeChange();" with onclick="javascript:alert('hello world');" but the event is not getting fired at all since i cannot see any alert on the selected item change of the dropdown.
    Is there a way in which i can achieve this ?
    any helps appreciated.
    Thanks in advance
    Vikas Mestry.

    Hi,
    you can use this example VI
    Regards,
    Aurélien J.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe...
    Attachments:
    browser gps.vi ‏23 KB

  • I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported..pls advise

    I have recently purchased MacBook Pro with Mac OSX 10.7.3 Lion and I would like to install Final Cut Pro 6 Studio2, and it came up with this error: 'you can't open application FinalCutProStudio.mpkg because PowerPc apps are no longer supported......Is there a way to run FCP6 on lion withoput this error? Any help would be appreciated.....

    Hi Shane,
    Just one more quesiton re: this topic, I am looking to get rosetta but do not have Leopard or Snow Leopard...
    I read that it is not on Snow Leopard only on Leopard....so do I need to get only Leopard? Can u advise?
    Alternatively I do have Mac OS X Tiger so is it on this and can I install it from here?
    Please excuse my lack of knowledge here, just trying to get my FCP 6 up and running asap....
    Best Rgds.

  • Can't Get MacBook Pro and Mac Pro to Network

    I have a MacBook Pro (2008 - 2.5 Ghz. Core 2 Duo with 4 Gb of RAM running OS X 10.6.7) that I have been connecting to my Mac Pro (2005 - 2 2.66 Ghz Xeon with 20 Gb of RAM running OS X 10.6.7) through an Ethernet switch on my school's network. This has worked without a hitch for years, but when I upgraded to 10.6.7 recently, the MacBook and Mac Pro fail to network. On the MacBook Pro, the Mac Pro's icon doesn't show in the shared area, and on the Mac Pro, I can see the icon for the MacBook Pro, but when I click on the icon to connect, I get the message that "Connection Failed There was an error connecting to the server (name of my MacBook Pro). Check the server name or IP address, and then try again." I have tried a direct connect using the "Connect to Server" under the Go menu on both machines, using their IP addresses, but no luck. Is there something I need to re-set to get these two to talk again? I have other Macs on the same network that my MacBook and my Mac Pro can see, and both machines can connect to them. They just can't connect to each other.
    Thanks in advance for any ideas you might have on  how to fix this.

    I fixed the problem by re-setting the default values for my VirusBarrier X6 anti-virus program.

  • I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto '09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn't need it). I am totally happy with the

    I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto ’09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn’t need it).
    I am totally happy with the way iPhoto organizes my photos and how I can work with iMovie to create slide shows with music from iTunes, etc.
    I have been shooting mostly high resolution jpegs and I continue to learn more and more about photography, post processing etc. I realize that the small adjustments I can make in iPhoto are good, and are adequate most of the time. However, a have started to experiment with shooting RAW images and would like to go the next step, ie. post processing.I am totally technically challenged and need SIMPLE, INTUITIVE programs and am certainly NOT anywhere ready for Photoshop CS whatever!
    After having these programs sit on my computer, I decided to try to see if I could figure them out. When I opened Aperture, this is what first comes up.
    “Welcome to Aperture 3.2
    Your library needs to be upgraded to work with this version of Aperture. Once upgraded, you will not be able to use this library with previous versions of Aperture.
    Upgrading a library from previous versions of Aperture 3 generally takes a few minutes or less, though larger libraries will take longer. After that, Aperture 3.2 will upgrade your library's thumbnails, but you can use the application during that time.
    Tip: To open a different library, quit Aperture and hold the Option key down while starting Aperture
    Current Library Location:
    Jadzia (home)   -----Pictures------Aperture Library
                                                      QUIT             UPGRADE”
    I have heard horror stories  about moving your entire library to Aperture, ending up with 2 libraries, etc. etc. hence my previous reluctance in attempting Aperture. In addition, many of my photography friends are saying: Go with Lightroom 3.....you’ll love it!
    So here is my dilemma.  I don’t want to mess around with my iPhoto library. All I want to be able to do, is to isolate a few photos, export them to Aperture, Elements, and work on them there, then bring them back into iPhoto.
    Can I do this? Should I forget about Aperture and Elements and look at purchasing yet another program like Lightroom?

    Export those few photos via the File ➙ Export ➙ File Export menu option with Kind = Original to the Desktop.  Then import them into the Aperture library. That would keep one copy in your iPhoto library and another in your Aperture library to edit, etc.
    You can use Photoshop Elements 9 from within iPhoto as your editor of choice. However, if you edit a raw file in iPhoto with PSE9 the resulting edited version must be saved outside the iPhoto Library and imported back in as a new file.  For editing jpegs just do a Save (not a Save As) and it all will be kept within iPhoto. 
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Note:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    OT

  • I have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only any idea how can i change it to read & write ?

    i have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only
    any idea how can i change it to read & write ?

    i tried the trial version of tuxera and it gives me the possibility to read & write , Thanx fschweig.
    @ Samberl : what is the benifts of keeping my drives on mac format and this SW mediafour i install on my PC to let it write the mac formated HDD ?
    is it free ?
    all the best
    Adiab

  • How do I convert my Windows 7 Folder to an ISO image to burn to a USB, in order to use Bootcamp Assistant to partition my MacBook Pro for Mac and Windows?

    How do I convert my Windows 7 Folder to an ISO image to burn to my  USB Flash drive (16GB)  in order to use Bootcamp Assistant to partition my MacBook Pro for Mac and Windows?

    Sorry - confusing - My question has NOT been solved yet - can anyone help?

  • TS1702 how can i up load a program from my pc to my i pad  ? do i first have to upload it to I tunes (its a mac program) or is there a plug in that has a usb on one end and apple plug on th other?  i wnat to upload filemaker Pro for Mac to my i pad

    Hello guys and thanks for trying to help me.  I want to upload Mac programs that i have saved on my pc to my I Pad (the latest one) and do i have to upload it first to I Tunes and then down load it to the ipad and if so how do i do that (upload to i tunes)
    Second, is there an Apple adapter ( i have off brand ones fro China that don't work and i was told they would. also one from a company in he US and it doesn't work)
    One big question, if i upload (after you tell me how) FileMaker Pro Adv Mac to the I Pad can i create run time solutions from the ipad as if it were a laptop or computer or air book??? becuase that is the main reason i purchased the I Pad.
    i really would like to get to use the i pad but don't know the first thing about Macs..
    Norman  (reach me at [email protected])

    No, Mac programs and applications do not run on the iPad. an iPad is not a laptop. It can run only programs designed specifically for it and that are available only through the App Store.
    Ipads are geared towards media consumption, not so much creation.
    Perhaps what you should have bought is a MacBook Air rather than an iPad.  A Macbook Air is a fulll laptop, than runs a full MacOsx and can run File Maker Pro.

  • HOW DO I INSTALL PREMIERE PRO ON MAC?

    HOW DO I INSTALL PREMIERE PRO ON MAC?

    Hi almartin40117374674585858,
    Which version of Premiere Pro you are trying to install?
    Regards,
    Romit Sinha

  • Not able to reinstall adobe acrobat 9 pro for mac

    I have to reinstall adobe acrobat 9 pro for mac -- I had to reinstall the full CS5 package, and I had no issues reinstalling Indesign, Photoshop and Illustrator from the original disks, but when I insert the AA9 Pro disk, it appears to download, and I'm able to open it, but as soon as I eject the disk, it disappears. I can't figure out what I'm doing wrong. (not sure this has anything to do with it, but the other CS5 disk in the suite package -- for indesign, photoshop and illustrator -- prompted me for my serial number and product code, but when I inserted the disk for AA9 Pro, that didn't happen.) Any suggestions?

    There is some process for the CS version where you are supposed to open one of the other products and then complete the Acrobat install/activation. It seems a bit strange to someone like me without CS, but I have seen such several times. You might want to ask in the CS forum about the details. The details of the install is about all you may need to go to the CS forum for -- other Acrobat specific questions are fine here.
    If you wait, it may be that other CS users will be by to help with the variations for that install.

  • Acrobat X Pro for Mac fails to scan double-sided

    Hello All,
    I am having trouble in scanning double-sided through Acrobat X Pro with a Canon MF4880dw installed on an iMac with Mountain Lion.
    Here is the procedure I follow:
    File > Create > PDF from scanner
    in the box "Sides", I select "Both Sides" and check the box for "Prompt for scanning more pages".
    When I scan the first side of a multi-page document, I am prompted to indicate whether the scan is complete or I want to scan more pages, but I am NOT prompted to indicate whether I want to scan the other side!
    Turning off the option "Prompt for scanning more pages" has the only result of completing the scanning procedure without asking anything else...
    I found the following note on the on-line help of Acrobat,
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f71.w .html
    Note: You can scan both sides of pages even on scanners that do not themselves support two-sided scanning. When Both Sides is selected, a dialog box appears after the first sides are scanned. You can then reverse the original paper documents in the tray, and select the Scan Reverse Side (Put Reverse Of Sheets) option in that dialog box. This method produces a PDF with all pages in the proper sequence.
    This is indeed what I have always done on a Windows 7 computer with Acrobat 8 and a Samsung multifucntion printer, and never ever had any problem.
    In fact, I believe that the printer model is irrelevant, as this is an internal setting of Acrobat, and that this is a bug in the Acrobat X Pro for Mac, which must be fixed.
    Does anyone else have the same problem?
    Thank you,
    Salvatore

    Dear Mamak,
    Many thanks for the note.
    I followed your advice and dowloaded new drivers for my Canon MF4880dw.
    The filename was different than yours, because the model was different.
    However, I noticed that this last version I downloaded is pretty new (released in April), so I was hoping it would fix the problem. Also, it was the same file for all versions of Mac OS X from 10.5 through 10.8.
    Unfortunately, no luck: Acrobat still does not ask me to scan the reverse side. Maybe I should have uninstalled the printer before reinstalling it?
    I more or less solved the problem by scanning double-sided documents on Acrobat 7 for Windows (which I also have installed on my Mac), which is not optimal, but at least works.
    Any thoughts?
    Thank you again,
    Salvatore

  • Which is better mac book pro or Mac book pro with retina display?

    which is better mac book pro or Mac book pro with retina display?

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    If or when upgraded to the max, the Retina is a good value.
    But talk to other users on the notebook forum.

  • Trying to load a Dreamweaver CS5 extension called Image Show Pro to mac operating system 10.9.2. Trial version worked fine, but when I try to load full version, Adobe Extension Manager crashes.  I have downloaded new Extension Manager for CS5. and still c

    Trying to load a Dreamweaver CS5 extension called Image Show Pro to mac operating system 10.9.2. Trial version worked fine, but when I try to load full version, Adobe Extension Manager crashes.  I have downloaded new Extension Manager for CS5. and still crashes. Anybody else experience this? email:[email protected]

    Hi bigd_bud,
    Can you see if the solutions in this post help?
    Re: Adobe Extension Manager crashes on mac 10.8
    Thanks,
    Preran

  • HT2240 I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6

    I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6  I have copied and pasted exactly as require (I don't have an organization).  Any suggestions?  Thank you!

    There is no QuickTime System Preferences pane in 10.6.8 or later.
    You enter the registration under the player 7 menu.

Maybe you are looking for