Need File-Save as-PDF as a toolbar button and one item on menu

What I'd like to see is a single menu line item and button added for File ->Save as ->PDF.  Right now, you have to open three menus to perform this function,and there is not a toolbar button offered at all.  Every document I save in this program is in PDF format, so it is frustrating to have to perform this action every time.  There are keystroke combinations (Shift + Control + S) but I tend to use the mouse more than the keyboard.

Here's some barebones code to add a Save As toolbar button. It goes in a folder-level JavaScript file that you have to create and install properly:
var mySave2 = app.trustedFunction(function(doc) {
    app.beginPriv();
    var oFS = app.browseForDoc({bSave: true, cFilenameInit: doc.documentFileName, cWindowTitle: "Save As"})
    if (oFS) {
        doc.saveAs({cPath: oFS.cPath});
    app.endPriv();
app.addToolButton(
    cName: "ToolbarSaveAs2",
    cLabel: "Save As",
    cExec: "mySave2(this);",
    cEnable: "event.rc = app.doc;"
For more information on folder-level scripts, see: http://acrobatusers.com/tutorials/print/entering-folder-level-scripts
and for updated info, see: http://acrobatninja.blogspot.com/2011/09/acrobat-1011-javascript-changes.html
As Dave mentioned, in Acrobat 10 you'll have to add the new button from "Tools > Add-on Tools" to the Quick Tools toolbar by right-clicking it and selecting "Add to Quick Tools Toolbar".

Similar Messages

  • Why are pdf files opened automatically in iPad email. I need to save the pdf file itself.

    Why are pdf files opened automatically in iPad email?  I need to save the pdf file itself, so I can re-read them for later.  ANy fix.  Some pdf files I send are saved as pdf files unopened.

    I have no idea how an iPad works.
    [topic moved to iOS subforum]

  • I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content

    I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content turned into symbols.  What is going wrong?

    You select the printer properties and set the appropriate page size (I think there is a place to set it in PDF Maker too, but not sure). In the printer, this is equivalent to putting the proper paper in the printer.

  • JavaScript in the PDF can hide toolbar buttons

    Hi Leonard,
    You mentioned in http://forums.adobe.com/message/2161074#2161074 that "JavaScript in the PDF can hide toolbar buttons."
    According to the Javascript docs for Acrobat 7 the App.HideToolbarButton function only runs at AppInit.  Which means that I would have to have the javascript in a file.  How can I do that from within the document?  Is there another way to to do set this from our web application?
    Rob

    Perhaps that's simply a feature that isn't supported by presenting a Captivate intended for the web from inside a PDF?
    Just guessing... Rick

  • HT1386 my screen crack on my ipad they are going to send me a new one but i need to save a video(my wedding) thats on the one i have now....i'm not very computer savy.....the lady said i can save ,sync, something all my info then put in on my new one....H

    my screen cracked on my ipad they are going to send me a new one but i need to save a video(my wedding) thats on the one i have now....i'm not very computer savy.....the lady said i can save ,sync, something all my info then put in on my new one....Help me

    You have to import the video to your computer by connecting the iPad with cable and then using iPhoto if you have a Mac or Windows Explorer or any other camera application that will import photos and videos. Read this for instructions.
    iOS: Importing personal photos and videos from ... - Support - Apple
    Make sure that you backup and sync with iTunes as well, if You have never synced with iTunes before, it might just be easier for you to backup with iCloud. You can restore from the backup when you get the replacement iPad.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766

  • Yesterday I ran Disk Utility and came up with hundreds of permissions that needed repair.  I hit the "repair permissions" button and waited until it said they were repaired, but just for fun I hit the v

    Yesterday I ran Disk Utility and came up with hundreds of permissions that needed repair.  I hit the "repair permissions" button and waited until it said they were repaired, but just for fun I hit the "verify permissions" button again, and they all came back!  I did this several more times and every time I would hit "verify permissions" I would get the same list.  What's up?  I've always suspected diagnostic programs, but this is Apple's own!

    Ignore them. They aren't errors. You will keep seeing the same ones. As long as you get the message "Permissions repair complete," you're OK.
    http://support.apple.com/kb/TS1448?viewlocale=en_US

  • The App Store said I needed to switch countries so I clicked the button and it switched it for me but now I can't update my apps but when I try to change it through settings it still says the country is the u.s. I don't know what to do to change it back

    The App Store said I needed to switch countries so I clicked the button and it switched it for me but now I can't update my apps but when I try to change it through settings it still says the country is the u.s. I don't know what to do to change it back

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311
    If necessary Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • No need to save my PDF online

    Hi, all.
    OSX 10.8.4, Mac Pro 2009, CC.
    When I save a PDF I read in the window the opportunity to save it (in account) online.
    I dont'have any need about, so what happens?
    Can I discard this option?
    Thanks in advance.

    Hi stefano,
    You are correct - it is simply an option and you can choose to ignore it!
    Hope this helped. Please let us know if you have further questions.
    Kind regards, Stacy

  • FM9: Problem with File- Save as PDF

    Hello,
    I'm using a German installation fo FrameMaker9 and will try to translate the actions and messages.
    When I try to save my document  as pdf I get a message telling me to clear the printer option "rely on system fonts only". When I do that for the Adobe PDF printer everything seems to work fine.
    But: The default printer on my laptop isn't (and shouldn't be) Adobe PDF, and  it looks like I have to manually select "Adobe PDF" in File->Print Setup everytime (i.e . at least once after starting FrameMaker) before I want to "save as pdf", which is annoying. Is there any way to get rid of this?
    Software Versions:
    FM 9.0p255
    Adobe Reader 9.4.4
    Adobe Acrobat 9 Pro 9.4.4
    OS: Windows 7
    Thanks in advance for any advice given,
    JF

    First thing I'd try is the SetPrint plugin, which sets your default printer to Adobe Acrobat/PDF printer in Frame ONLY.
    http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm

  • Using javascript to save a pdf to a different directory and generating a new filename based on form fields in the document.

    I have built the following script in an attempt to create a submit button that will automatically save the document in a different directory on my computer. It will also use the form field data "customer" and "date" to generate the filename. I printed out the variable myPath and it looks like it printed the correct string. I keep getting the following error:
    TypeError: redeclaration of const path
    any help would be much appreciated.
    var customer = this.getField("Customer").value;
    var date = this.getField("Date").value;
    var path = "C:/Users/awilliams/My Documents/Test/"
      var reg = date.match(/(\d+)\/(\d+)\/(\d+)/);
    var myPath= "C:/Users/awilliams/My Documents/Test/" + customer + "_" + reg[1] + "." + reg[2] + "." +
    reg[3] + ".pdf";
    this.saveAs(myPath);

    "path" is a keyword within a PDF you should not use keywords as a name for any other object as a general rule.
    Have you checked the PDF Reference to see how to create a file path name within a PDF,  3.10.1 File Specification Strings page 118?
    Did you carefully read the Acrobat JavaScript Reference for the saveAs method?
    The notes following the description:
    Note: This method can only be executed during a batch or console event. See Privileged versus non-privileged context for details. The event object contains a discussion of JavaScript events.
    (Adobe Reader S): This method is available in Adobe Reader for documents that have Save usage rights.
    How to Save a PDF with Acrobat JavaScript

  • Is there any way to save separate pdf docs in indesign cs6 at one time?

    i'm working one document to create different advertising. every time i save as pdf and jpg files. i want to save one time as separate pdf document. thanks...

    Try this http://indesignsecrets.com/page-exporter-utility-peu-5-script-updated-for-cs3.php
    Or this http://www.kahrel.plus.com/indesign/batch_convert.html
    How to install scripts http://indesignsecrets.com/how-to-install-scripts-in-indesign.php
    And if you are lucky - you could ask on the scripting forum to make more than 1 option clickable in either script.
    Someone might be able to help you.

  • How to save a pdf form with a button on Android?

    Hello can anyone inform me with the knowledge of how to save a pdf form after filling with button on an Android device?
    What code behind the button is necessary to make this work.

    It happens automatically. You don't need any code to trigger it.

  • Dev6 like The toolbar buttons and Browser

    Hi
    Question 1.
    How do I create the same style buttons as those of standard
    toolbar buttons in dev 6 forms.? Which properties are set? Any
    Example or so?
    Question 2.
    Ho do I create the navigation browser tree as in the Forms 6.?
    Any Example? How to set the multiple node select to on?
    Regards
    Santosh
    null

    Santosh Kharolkar (guest) wrote:
    : Hi
    : Question 1.
    : How do I create the same style buttons as those of standard
    : toolbar buttons in dev 6 forms.? Which properties are set? Any
    : Example or so?
    : Question 2.
    : Ho do I create the navigation browser tree as in the Forms
    6.?
    : Any Example? How to set the multiple node select to on?
    : Regards
    : Santosh
    Mr. Santosh
    Q 1.
    I think you want the toolbar features like, on mouse enter the
    button appears then vanishes. there is no direct property to do .
    There is work around and it is really stupid, if you want i
    shall mail to you
    Q 2.
    You can use the native Ftree with Dev6.0,
    use the standard built FTREE (refer help)
    Vishnu Vadla
    null

  • Issue with the FR translation for toolbar buttons and title bar

    Hi All,
    In a report program I have a toolbar with some custom buttons and icons (GI Status) and I have a title bar (GUI Title) with the report heading.
    I have FR translations defined for them in SE63, but they are not actually displayed when I run report in FR language.
    All other translation work fine, only GUI Status and GUI Title translations donu2019t work.
    Your help will be highly appreciated.
    Sagar

    hi sagar,
    1.go to se41
    2. give the report name
        and status name.
    3.then change mode
    then click on application tool bar
    4.menu GOTO---->TRANSLATION
    5. here you can change from EN to FR
    reward me if it is useful
    thanks
    AM

  • Excel file save as PDF goes to different locations on OneDrive

    Good Afternon,
    I'm trying to find any help referring to Excel 2013 and OneDrive. I've got application which creating kind of report and then saving it as PDF to OneDrive location. The problem
    is that application is dropping copy of PDF file to default location (see code below) but also sometimes you can find same copy in different random folders on L: drive. I'm sure there is no other code which making copy to those locations. I was wandering if
    it could be a problem with connection to a server? Your help will be much appreciated. Regards
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
        "L:\WW\Business Development\ARC South\Official's Report Templates\" & ActiveSheet.Range("GL42").Value & ".pdf" _
       , Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
       :=False, OpenAfterPublish:=False

    Thanks a lot for reply, I've got copies of those reports in
    Official's Report Templates subfolder, but for some reason macro is dropping another copy (not always) into different location e.g. somewhere in ARC South,
    outside of "Official's Report Templates" subfolder. Value in GL42 is only part of the name of the file and contains name of employee. That part seems to be fine, especially that macro is attaching that file to email from the same location (Official's
    Report Templates) later. No idea where could be a problem.

Maybe you are looking for