Unlock the power of Acrobat SDK through our community.
Recently active
I have a textbox that holds a time like "1:00 pm". I have another textbox below that I want to display 5 minutes added to the first box (1:05 pm). I've been looking through multiple forums trying different code, but the second text always displays "Invalid Date5". Here is the code I am using. var dater = "1/1/2020" + " " + this.getField("Start1").value var previousDate = util.scand("m/d/yyyy h:MM tt", dater); previousDate.changeBy({"minutes": 5}); event.value = util.printd("m/d/yyyy h:MM tt", previousDate);I'm very basic in Javascript so any suggestions or help would be appreciated. Thank you!
As soon as I open Acrobat Pro DC 2015 it automatically switches from onboard graphics (INTEL) to my discrete GPU (NVIDIA) which uses a lot of battery power. Is there a way to stop this so it only uses the intel? What does Acrobat need High Performance GPU for?Thank you.
When I am trying to create a calculated field in Adobe Acrobat I am unable to mark the fields for calculation. I can select the field but I cannot check the field to identify it as one of the fields I would like calculated.(Image One) I can however choose select all and all the fields get a check mark.(Image two) When I do this it seems to start multiplying random numbers (Image three)I am test driving this for my job at a Public Library and so far I am not impressed.Image oneImage twoImage ThreeThank you for your comments.Robin
I created a custom script that equates a percentage and that works fine. However, I get the error message of "the value entered does not match the format of the field". I believe that by other discussions I have read that I need to set a script that ensures the field has a non-zero value but don't know how to write it. My current calculation is: event.value = this.getField("Sponsor Total").value/this.getField("Overall Project Total").value
I have two form fields. One is called SOP No and one called Version No along with a digital signature. I need acrobat to save my document with the Date/SOP No/Version No once digitally signed and save it. Can you tell me how I would do this? Thank you in advance.
I'm new to JS. I know it should be easy to do that but I didn't find my answer anywhere.I have a check box that I want to be checked only if there is a value in either one of my three drop-down list. Every script I tried didn't work out. How should I write it ? If Drop1 or Drop 2 or Drop 3 is not empty, check Box 1Thanks again,
Has anyone got any answer to why we have yet another Adobe developer domain using a British Indian Ocean Territory domain - Adobe IO. What is wrong with devnet?
Hey all, I've been using this code in a JavaScript file saved in the application folder and calling the function from the Action Wizard but I want to paste the code from the JavaScript file into Action Wizard so I can transfer the Action Sequence across multiple computers and not have to worry about the JavaScipt file as well. Any ideas on how I would change this so runs inside of the Action Wizard? Thanks 🙂 // Enter and validate 8 digit numeric case number and add to bookmarks function enterCase() { if (this.bookmarkRoot==null || this.bookmarkRoot.children==null || this.bookmarkRoot.children.length==0) { app.alert("Error! There are no bookmarks in this file.",0,0,"COMPANY NAME"); event.rc = false; return; } var resp = ""; while (resp=="") { var dialog1 = { initialize: function (dialog) { }, commit:function (dialog) { var results = dialog.store(); resp = results["txt1"]; }, description: { name: "COMPANY NAME",
Greetings!I have created a fillable form for my company. I have radio buttons that toggle on and off layers and interactive fields depending on what marketing piece the person wants to request. If the person selects the "Flyer" radio dial, the form shows the only the layer and fields for Flyer-specific questions. It works great but for one issue: It does not save the last layer configuration after the form is saved and closed. It does save the filled-in fields. The form default is to not have any questions showing (forcing the form-filler to select a radio dial). But after the form is filled out AND saved, I want to the form to open on the layer that was saved. It currently reverts back to it's default blank state. I am a novice (literally brand new) to the world of Javascript. Does anyone have a javascript code to fix my issue? Something I can copy and paste? Also, please specify HOW/WHERE to place the script in the document or attach it. I've tried o
Hi,I m trying to add the rectangle annotation to the existing PDF but not able to achieve that.Please help to solve this. I m using Adobe Acrobat 9 pro. I tried with the below C# code,string inputfilepath="C:\\RedLine.pdf"//Object for Adobe application and DocumentAcroApp gApp;AcroAVDoc acroAVDoc;//Initialize Acrobat ApplicationgApp = new AcroApp();//Open PDf DocumentacroAVDoc = new AcroAVDoc();acroAVDoc.Open(inputfilepath, "output");//To show the ApplicationgApp.Show();CAcroPDDoc acroPDDoc = (CAcroPDDoc)acroAVDoc.GetPDDoc();//Rectangle boundsAcroRect acroRect = new AcroRect();acroRect.Left = 906;acroRect.right = 815;acroRect.Top = 377;acroRect.bottom = 142;CAcroPDAnnot acroPDAnnot = acroPDPage.AddNewAnnot(2, "Rectangle", acroRect);acroPDAnnot.SetContents("Testing the Acrobat Redline");Thanks in advance,SASIKUMAR
Hi, I'm looking to automate the calculation of this form with simple check fields. These fields would each have their own assigned value and, at the bottom, the total sum of the fields selected would display. I'm new to acrobat and have found it hard to crack the javascript needed for this.Here's an example:+(The idea is that the value is displayed at the end instead of the client having to do the math on their end)
we integrating convert html to pdf function in .Net using DocumentServices.PDFTools library but facing one issue. we are not able to remove header and footer in pdf. we tried with CreatePDFOptions IncludeHeaderFooter set to false but not working.
Hi all, I am trying to automate bulk email generation using Adobe Acrobat Pro. I need to send documents from an input file to a fixed email address in bulk i.e. all docs attached in a single email. Does anyone know how to code that in adobe javascript / action wizard? Conversely, I don't mind generating one email per doc using doc.mailDoc() function as long as I am able to autosend the email generated without clicking the "Send" button. i.e. no manual touchpoint. Thanks.
I am looking for a way to1. Check if any word on PDF page matches a word in an excel spreadsheet.2. Copy a corresponding cell's data and place it on the PDF. (not in a form). I'll attach a sample pdf page.I would like to see if the word Sample appears in the excel sheet andpull out the corresponding data (Test) and paste it inside. Thanks in advance
Is there a way to save my document as current date/Text Form Field1/Text Form Field 2 once it has been signed? Either by javasript, document action or something?
Hi experts, I'm getting an "Unhandled exception at 0x772ECE50 (ucrtbase.dll)" when I run my plugin. I need to add 2 buttons in a flyout toolbar attached to the main Toolbutton but I always get that error. Here is my code:static void SetUpToolButton(void) { // Creating the main ToolButton //CreateIcons(); stamperToolButton = AVToolButtonNew(Stamper_K, NULL, false, false); //creating the Opt subtoolbuttons OPT1SubToolButton = AVToolButtonNew(ASAtomFromString("OPT_1"), NULL, false, false); OPT2SubToolButton = AVToolButtonNew(ASAtomFromString("OPT_2"), NULL, false, false); //creating the flyoutToolbar AVToolBar flyoutToolbar = AVToolBarNewFlyout(); //adding the opt subtoolbuttons to the flyoutToolbar AVToolBarAddButton(flyoutToolbar, OPT1SubToolButton, false, NULL); AVToolBarUpdateButtonStates(flyoutToolbar); AVToolBarAddButton(flyoutToolbar, OPT2SubToolButton, false, NULL); AVToolBarUpdateButtonStates(flyoutToolbar); //Attaching the flyoutToolbar to the main Toolb AVToolBut
Hi, Sorry to be asking again but I need some more help. I am trying to set up a PDF form in Acrobat 2017 to calculate the total of some cells. i.e Field1 is CITY_RATE, Field2 is COUNTRY_RATE, Field3 is NUMBER_DAYS and Field4 is TOTAL$ So if there is an entry in Field1 it is multiplied by Field3. Using the calculate tab in properties I have been able to do this using "CITY_BFAST$, NUMBER_DAYS which does work. But I want to set it up so that if I enter details in both Field1 & 2 they will both multiply by Field3 to give me a total in Field4 and this is where I am stumped.Any assistance would be very much appreciated.
I am trying to get my document to save as a new name once signed or even put that information on signature once signed. I used the above script like this:var currentTime = new Date() var month = currentTime.getMonth() + 1 var day = currentTime.getDate() var year = currentTime.getFullYear() var signingTime = month +"/"+day+"/"+year // var f = this.getField("SOP No+Version No"); // f.value = signingTime;I could not get it to work????
Hi All, I am using Acrobat Pro DC version 2020.012.20048I would like to ask you to help with the following:I have many pdf technical drawings. For each one I want to add an image holding additional information.When this additional info changes, I create a new image file (image source is the same) and rename the old one.What I would like to achieve is that pdf drawings update image after opening, showing the new file content.Is there a solution for this? The more simple the better. Thanks in advance,Gabor
Howdy, knowledgeables!I currently have eight tabs open on my browser in my effort to crack this code, and not one of them has helped me accomplish a simple, singular if/else effectively in a particular box's properties, which doesn't bode well for the fact that the ultimate if/else should be many, many lines tall.What I need to create is three auto-filling field variations, two of which are not mathmatically derived but are numerical values unique from but reliant on the user-entered value of another field, while the third field IS the mathematical sum of the two auto-generated fields, but only if a checkbox is marked. At this point, I would very much just appreciate hunks of text I can copy and drop where they need to go!So in other words, there are five total fields and one checkbox interacting in the chain: if the user enters into field "A" a value of "1", field "B" will automatically display a value of "3"; elsewhere, if the user enters into field "C" a value of "9," field "D" will
Hello, I have a question.I am using the javascript code below to email a pdf file as an attachment in my email.But the only problem is that it will create a attachment for the complete document.Is there a way to send only a specific page ? var url = "mailto:testemail@test.com?subject=My Subject&body=Here is my form data.";this.submitForm({cURL: url, cSubmitAs: "PDF"})
Hello,I am looking for a javascript code that can send a specific page to the printer.The people who will use it all have acrobat reader DC I have foud the code below but is doesn't work for printing the first page. var pp = this.getPrintParams();pp.printRange = [1];this.print(pp);
Hi allUsing the Action Wizard (Tools>Customize>Action Wizard) I created an action that sets the page box (page size) adds the trim marks and saves the document (see attached (XXXXX Label.pdf) I have a separate form with fields (some are dropdown) that I would like to integrate with the XXXXX Label.pdf by placing the form fields at the top Is there a Javascript that would allow me to add those form fields to the top XXXXX Label.pdf? Thanks much!
Hello all!Adobe Acrobat DC proMac os 10.12.6I want to create a acrobat action to split top level bookmarks using bm names for file names, to my surprise Adobe doesn't have that as an option under the "tools to add" when creating a new action. I was equally surprised to find very little discussion or code postings on the net about this subject.What I did find doesn't work. I was hoping one of the experts on the forum could take a look at the code below and give some direction on how to get it to work.Thanks in advance!!BookmarkCollection bookmarks = document.Bookmarks;for ( int index=0, fromPage=0; index<bookmarks.Count; index++ ){ // determine last page of next part int toPage = -1; Bookmark bookmark = null; if ( index == bookmarks.Count-1 ) { // last bookmark - append all remaining pages toPage = document.Pages.Count; } else {&n
I have the full version of Acrobat Pro installed and licensed on my computer, but I don't want anything to do with the "Acrobat Document Cloud"! But every time I boot up, I get a message saying "Update available for Acrobat DC". Does this have anything to do with the fact that I have Adobe Creative Cloud installed? I was required to have it installed when I subscribed to a minimal-cost monthly subscription to Photoshop CC.But I never wanted anything to do with any 'cloud' features with respect to Acrobat Pro.How do I make these messages stop appearing?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.