Questions
Recently active
Hi,I'm new to Javascript and acrobat. I've figured out how to merge my PDFs, but now am attempting to reorder them. The same pages will need to be moved to the same positions every time the PDF is updated (page 5 to 10, pages 11-14 to 67-70 etc.). What's the best way to do this? I've already consulted the API reference and still can't figure it out. I've attempted the this.movePage command as well as creating a temporary folder to hold the pages that I need to move. No luck.Thanks for your help.
I have Windows 10, Microsoft Office 2010, and Acrobat X installed on my computer. In Word, the PDFMaker Add-in will not stick. Every time I close the application, the add-in disappears and I have to re-activate it each time I open Word. In addition, when I try to combine Word files as a PDF file ("Combine supported files in Acrobat"), an error message pops up that says "Missing PDFMaker files. Do you want to run the installer in repair mode?" If I say yes, the computer goes through the process and then prompts me to restart. Then I go through the process all over again in a never-ending loop. I've checked the location of the PDFMaker files, and they are where they should be: C:\Program Files (x86)\Adobe\Acrobat 10.0\PDFMaker\Office\PDFMOfficeAddin.dll. Any suggestions on a fix?
Is there any possibility to use Acrobat SDK in Angular for OCR to convert PDF to text ?
How to run .sequ file through Javascript object?
I would like to write a program that opens a pdf in a new window, saves the pdf on any change to the document, and closes the window when the program determines is appropriate. However, I would also like the pdf to interact with the user through a third-party plugin in the same way it does in Adobe Reader DC. With the third-party plugin installed, when the document is open in Adobe Reader DC and the user clicks on a signature field, a signature box pops up for the user to apply their signature, and when they click Accept, the signature field on the pdf is updated. Is it possible to open a pdf in a non-Adobe-Reader-DC window (without the scrolling options frame on the right and without the toolbar at the top) that still interacts with third-party Reader plugins? Would I use AcroPDF object’s LoadFile method? I am trying to determine what is and is not possible before embarking down a path, so any help is greatly appreciated.
Whenever I try to open the comments pane in Acrobat Pro DC, it hangs with a beachball for nearly 15 seconds. This happens on both machines where I have Acrobat DC installed. Is this normal behavior for Acrobat DC? We are an all Mac all digital workflow, but I am one of the few not using Acrobat 9. Oh, how I miss it
Old Windows 10 computer died. Got new Windows 10 one. Tried to reinstall Adobe DC. Got error16.How do I fix an Error 16, Windows 10?
Hi,I have a big problem with a calculation on my form or lets say it works in a strange way.Well, I guess it had to do with the order they are calculated.There are two fields (date) and one field (number) which calculates the difference of the two date fields as days.E.g.Field 1: 2018.01.26Field 2: 2018.01.28Field 3: 2Field 4: 70€That works correctly and they are updated immediatly when I'll change the date values. So far so good.Then I've created 5 more fields format is number.Where I can put more values into it to create a SubTotal.The Subtotal would look like this:140€ (which is 2x 70€ for the example above)The SubTotal is created likeSum1+Sum2+Sum3+Sum4+Sum5Then I've also a Checkbox (Discount Yes/No) default to No. When checked I display another Field where you can put a value into which will be substracted from the SubTotal field.Now the Problem for the SubTotal field in the calculation event I placed the following:Sum1, Sum2, Sum3, Sum4, Sum5This works for the very first time but
I created an "action", to get a document's file and path by copying the following code (which I found somewhere on the web) into the console:/* Put script title here */console.show(); // open consoleconsole.clear(); // clear contentsconsole.println(this.path); // display the current pdf's pathThe action generates the following text in the console output window:/F/VB/PythonAndPySide_Info/Python_Info/Introduction to Python Classes (Part 1 of 2) - Python Central.pdfI am beginning to try to learn javascript. (I'm comfortable in vba and python, but I'm having trouble learning Acrobat javascript).I want to use javascript to (1) insert a ":" after the drive letter "F"; (2) remove the first forward slash ("/"); and (3) replace the replace the remaining forward slashes with back slashes.I tried unsuccessfully to do #3 first, but the following code produced an error message:/* Put script title here */console.show(); // open consoleconsole.clear(); // clear contentsvar fullname
I have multiple duplicate PDF files. They definitely are the same, contents-wise.Acrobat compare files shows no differences. File sizes are the same, dates (not times) are the same.But they have different hashes (there is technical reason why this, but not very much relevant)So, sizes, contents, metadata and dates are the same.The usual duplicate files finder tools, they take hashes into account and therefore they are of no use.Acrobat can compare 1 file with another one.Regretfully I have not found a way where files within an entire folder is being compared, based on above criteria,thus marking files as (possible) duplicates.Are there any solution for this?Except, of course, going thru the entire folder and manually delete duplicates.=
I would like to create a program that will open a pdf in a new window, automatically save the pdf on any change to the document, and will close the window when the program determines is appropriate. However, I would also like the pdf window to interact with a third-party pdf-signing plugin like it currently does in Acrobat Reader DC. Currently, when the user clicks on a signature field in Acrobat Reader DC, a signature box pops up so the user can apply his/her signature and then when they click Accept, the signature box closes and the signature field on the pdf is updated. If I create a "plug-in" that opens a pdf in a new window, will that window still interact with the third-party plugin in the same way Adobe Reader DC does? Would I use the AcroPDF object’s LoadFile method? I am trying to determine what is and is not possible before embarking down a path, so thanks in advance for any help.
Hi,I am having a number field ("Number Field") with decimals and I want to know the placement of decimals, it would be dynamic. Sometimes "Number Field" value will be("52.6531", "526.531", "5265.31") I want to know the exact place of where the decimal starts like (3, 4, 5) answers for the given values.
I'm preparing a form with some custom calculations in Adobe Acrobat Pro DC and I'm fairly new to javascript, especially concerning form PDFs.I have a single dropdown with three values (A, B, C) and six numeric fields (1, 2, 3, 4, 5, 6). The dropdown's default value is null and each field's default value is 0. When the dropdown = A, I'd like 1 and 4 to auto-populate with "25";dropdown = B, 2 and 5 auto-populate with 20;dropdown = C, 3 and 6 auto-populate with 15.What kind of functions should I use to achieve this, and where do I put the script?Thank you!
Hi,I'm having one text field (Text1) and one number field (NumberField) in an acrobat form and I need to pull the data from number field to the text field.Sometimes the NumberField value is in negative numbers. So, I need to change the negative numbers to parentheses ().var num = this.getField("NumberField").value;var str = num.toString();var strlen = str.lenght;var value1 = util.printf("%, 0 0.2f", num);if (num == "") {event.value = "This part contains: "} else {even.value = "This part contains: + value1;}Above is the script to get the value from number field and formatting decimal as well.Please help me to change the negative number to parentheses.
Hallo,Bin ratlos und suche hier Hilfe. Ein PDF Formular, welches ausfüllbare Felder hat und auf anderen Rechnern einwandfrei funktioniert, spuckt bei mir immer nachstehende Fehlermeldung aus.Wo muss ich ansetzen um mein Problem in den Griff zu bekommen?Danke und Gruss,Markus
I am working on a project in Adobe acrobat pro XI where I have arranged number of buttons in a horizontal manner. For all the buttons, I have given some actions to perform when clicked. I want to make the specific button gets highligted whenever a user clicks on it.Thanks in Advance.
Hello Guys, Is there any method to interact with internet explorer's adobe tool bar to save a pdf?
Currently creating an application form where there are required "Yes" or "No" answers (using radio buttons).1. I'd like to have the form require either Yes or No to be selected but not both. I've used the required selection under Properties>General. However, it is still requiring both to be checked even though they are in the same group.I've read several js scripts but they don't seem to fit these needs as it seems to be too simple.2. Also, on another part of the form, if the applicant marks "Yes" I'd like a text box then be required (to explain why). So, first require a "Yes" or "No" if "Yes" then require "Textbox1"3. If at all possible, if the applicant hasn't selected an option in the required radio button group, have the group display a message "Select at least one option"The closest I could find to #2 is, I believe:if (event.target.value == "Three") { this.getField("Text Field 1").required = false;}For #3 I believe it is similar to:<script
How can we use watch folder or timer concept in plugin using SDK? Please anyone answer my question
I launch one dialog using app.execDialog(dialog1). Then in that dialog I have a button and if they click the button I dismiss the current dialog using:"btn1": function(dialog) { dialog.end(); app.execDialog(dialog2);}This works fine in Adobe Acrobat Pro DC on Mac, but on Windows it does not dismiss the original dialog. Any ideas?
conversion from a word file with AVConversionConvertToPDF hangs when word file is in revision mode, conversion from a word file with AVConversionConvertToPDF hangs when word file is in revision mode.I am supposing that, like in manual mode, Word is waiting for the user to acknoledge some dialog.Can I control Word from the conversion process?Thanks a lot.Christian
I am trying to write a script to change a dropdown's background color depending on the value selected. I have "Commit selected value immediately" selected and my code, which is attached to Validate is here:var drop = this.getField("Dropdown1");var DropDownValue = event.value;DropDownValue = drop.value;console.println(DropDownValue);if (DropDownValue == "Pass"){ DropDown.fillColor = color.green;}else if(DropDownValue == "Fail"){ DropDown.fillColor = color.red;}else{ DropDown.fillColor = color.white;}The problem I am having is when I select "Pass" it doesn't change, but when I select "Fail", "Pass" gets written to the console and the dropdown turns green as if I selected "Pass". Then when I select "Pass" again "Fail" gets written to the console and it turns red. Basically Adobe thinks the prior selection is the current one. How can I fix this behavior?
Hi,how can I extract the first line of a multiline textfield into a variable with javascript?The thing is I would like to use a multiline textfield for the address so that I don't need to use a lot of separate textfields.I need to extract the first line of it to get the client name (which always would be the first line of that field)Best regards
Dears,I have the challenge that I need to print an PDF in Format A5. Want to do this with VBA.The AVDoc /PDDoc matter can bee out of scope here, not finally decided who I will feed the PDF in.The Challenge is:Print PDF on Standard Printer, Format A5. The default Format is A4.I am already searched here and the whole SDK, from this I was able to Build up something. But this is not workung fine and my main Issue is not fixed here.Dim AcroApp As Acrobat.CAcroAppDim PdDoc As Acrobat.CAcroPDDocSet AcroApp = CreateObject("AcroExch.App")Set PdDoc = CreateObject("AcroExch.PDDoc")Dim AcroPDDoc As Acrobat.AcroPDDocDim JSObject As ObjectDim pp As ObjectDim fv As ObjectIf PdDoc.Open("C:\Users\ND01132\Downloads\Loadlist (6).pdf") = True ThenSet JSObject = PdDoc.GetJSObjectSet pp = JSObject.getPrintParamspp.Interactive = AcroPrintParams.Constants.interactionLevel.Silentpp.firstPage = 0pp.lastPage = 1pp.pageHandling = 1Set fv = pp.Constants.flagValuespp.flags = fv.setPageSize()JSObject.Print (pp)End I
Greetings,I am new to the group and to JavaScript and I am trying to create a calculation script on a field that if two conditions are not met, the field allows the user to enter data manually.In the script below, the calculation is performed if a value is entered in Field1 but I'd like it to allow the user to manually enter data into the field if no data is entered in Field1 and Field2 (and no calculation is performed). I hope my question makes sense... Sometimes there is no value for Field2 so the user must be able to populate the field. Even an override would work that if the user enters a value into the field, the calculation script is ignored.// Get first field value (Condition one) var f1 = getField("Field1").valueAsString;// Get second field value (Condition two) var f2 = getField("Field2").valueAsString;// Get Third field value var f3 = getField("Field3").valueAsString;if (f1.length>0)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.