Unlock the power of Acrobat SDK through our community.
Askettäinen
My response function is being called from a Net.HTTP PUT call; however, the response header array only contains the headers I set for the request, eg. Content-Type, and does not contain any of the response headers, eg. Set-Cookie.oHandler:{ response: function(oRequest, cURL, oException, aRspHeaders) { if (oException != undefined) { app.alert("Unknown exception occurred: "+ oException.msg); } else { if (aRspHeaders.length > 0) { var headerstr = ''; for (var i=0; i&l
Hi! I need help writing a custom calculation. Basically, If Box 1>Box 2, then value should be Box 1- Box 2. Otherwise, box should be blank. How do I do this?
I have filled up the "Adobe PDF Library Information Request Form" but I can't find an e-mail to send it to and the "Submit" button on the form does not want to work.I'm looking to create a solution in my iOS Software I'm currently writing to enable the user to import PDF files and have the software fill out the forms automatically with data from a database. Is this the correct Library I will need and where can I download this library from? I'm using xcode 8, swift 3. Even if its created in objective C, I can manage. But searching on www.adobe.com has thus far been unfruitful.P. Miron
I am very new and untrained on how to use this program.It was purchased for the direct purpose of converting PDF to Excell.I am unable to find any help with this subject.Can anyone help me. Please.
Okay so to keep it as simple as possible here is my problem and my logic to solve it. I use a program that exports all my Invoices to one PDF file of about 168 pages, let's say. Within those pages are several 1 page, 2 page, and 3 page documents. My software that is supposed to add OMR marks does not recognize enough text and therefore will not add OMR marks. The solution given by the software engineer was to change the font from calibri or arial to Times New Roman. This cannot be done at the invoice program and requires I run OCR in adobe and change the font, which seems too problematic given the OMR software should do that. The other proposed solution to the problem was to use another OMR software and have the envelop stuffer manufacture calibrate to recognize the new OMR. My Solution: run a script in Acrobat that puts a "watermark" in a location given a certain parameter. For Example(pardon my lack of code knowledge) I would suspect something around this logic would work but I don't
Hello,I would like to run a method which returns an array on opening the pdf file. Then I would like to access the returned array from different buttons.How can I do it?
I would like to set up an "action" whereby when a document is opened there is an automatic "pop-up" question (asking "Have you read and sign the Acknowledgement Form? If 'not' you will be directed here to do so. If 'yes' please ignore this message")Anybody have any idea how I could write this up as a New Action or New Custom Command in Acrobat Pro DC?
I have a form in Adobe acrobat where i have multiple checkboxes. Is there a way that if multiple check boxes are checked, the first check shows up on the first text box, and the second check box shows up in the second text box and so on, but; if the first check box is blank, and the second one is checked, could the second check box populate to the first text box instead of the second text box and so on down the line of all checkboxes required to auto populate text?// array of field names to usevar aFieldNames = new Array("cb1", "cb2", "cb3", "cb4", "cb5", "cb6", "cb7", "cb8", "cb9", "cb10", "cb11", "cb12", "cb13", "cb14", "cb15", "cb16", "cb17", "cb18", "cb19", "cb20", "cb21", "cb22", "cb23", "cb24", "cb25", "cb26", "cb27", "cb28", "cb29", "cb30", "cb31", "cb32", "cb33", "cb34", "cb35", "cb36");// clear the result fieldevent.value = "";// variable for testing the value of a single fieldvar cItem = "";// array of values not equal to "Off"var aValues = new Array();// pr
Hello. Using the Acrobat API, how can I write a script that does whatFile->Create->Combine Files into Single PDFdoes in Acrobat. I need to do this for thousands of PDF files, so it can't be done by hand. I need some way to automate it. The files have a rigid naming convention, so I can easily generate the name strings automatically. Is there a way to do this using the JavaScript API, or maybe the PDFL API? I know how to open, read in, and write out PDF files, but what calls are needed to actually combine them into one single document? Thanks.
Is it possible to redact multiple PDFs (30,000 of them) when the text search function is not working successfully? I need to redact SSNs, but they are hand-written and are not recognized by the "search and replace" function. But they're all in the same space on the documents. So, is it possible to redact, say, using the same spot in a PDF across multiples? Like two inches from the bottom, three from the left, and 1/4 inch x 3 inch redaction box? I'm using Acrobat DC. Thanks.
I am on an iMac 27inch Mid 2010 running Yosemite 10.10. I have tried installing Acrobat DC a number of times, initially I was unable to do so until I removed all old copies of Acrobat using the Adobe Uninstall utilities. After that it did start to install but failed with the following message below.What can I do to solve this problem quickly? ThanksExit Code: 7Please see specific errors below for troubleshooting. For example, ERROR: DW003, DW006 ...-------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s) ----------- Payload: Adobe Acrobat DC 15.10.20056.0 Acrobat DC/Acrobat DC Installer.pkg_15.010.20056 -----------ERROR: DW006: Apple Package failed to install successfully.ERROR: DW003: Third party payload installer Acrobat DC/Acrobat DC Installer.pkg failed with exit code: 1-------------------------------------------------------------------------------------
I am having problems in using Acrobat Pro DC. When I open a PDF file for reading, Acrobat hangs on for several seconds with a "Not responding" message. The screen sometimes gets gray. After freezing for several seconds, the system works normally.Sometimes the freezing starts when I close Acrobat. On other occasions, the "Not responding" notice does not appear, but the document cannot be scrolled for some seconds.I am running Acrobat under Windows 8.1.Any suggestion on where the problem originates from, and on how to fix it?Max
Hi All,I need slug information only for cover page (page 1). Rest of pages need not the slug portions. So am trying to crop the pages to remove slug areas except cover page using crop tool (with trim size).Is it possible with scripting? I am novice in Acrobat scripting, i tried using with this forum previous thread.var arrMedia = this.getPageBox({cBox:"Trim", nPage:1});arrMedia[0] = 0; arrMedia[1] = 0; arrMedia[2] = 0; arrMedia[3] -= 60; this.setPageBoxes({cBox:"Trim", nStart:1, nEnd:this.numPages-1, rBox:arrMedia});Thanks,K
This is the script I am working with, what would it need to look like to achieve this?var VOL = this.getField("VOL").value;var CFM50 = this.getField("CFM50").valueif (VOL == "" || CFM50 == "")[event.value = 0]else event.value = (CFM50*60/VOL)Thank you guys (and girls) in advance, I am very new to javascript and adobe, this is actually my first day working with it and Ive been struggling to make this work.
When I try to cut and paste from another document into Adobe Acrobat text box I get the following:This also happens when I use my Text Expander. I know there must me a solution. What is it?
Please, how to specify a default value to a field using a variable / calculate / script?
I have a form that has a text field for a percentage (5 digits with decimal). If the percent is 100.00, the barcode reads 100. Is there a way to capture the percentage without the decimal and keep the trailing zeros in the barcode?Here is what I have tried:strValues += oParam.oDoc.getField(strFieldName).value.toString().replace(/\./g'');with results of 100.Thanks
I have Document Will save question. I'm just trying run this script that will prompt an app. alert if the a text box is visible, let me know what I'm doing wrong here, I'm new to adobe forms, so thanks for any help.var a = this.getField("Text11");if (Text11 == display.visible) app.alert({CMsg:"remove all text", oCheckbox:true});
I have a form that has 3 standard pages(fillable) with several templates arranged into three categories (instructions). I would like for the user to be able to print only the instructional pages needed by selecting them from a menu button. Is it possible to place the templates into an array by category that can be selected from a menu for printing? var cChoice = app.popUpMenu( "Category A", "Category B", "Category C);if (cChoice !=null){ switch (cChoice) { case "Category A": var a = new Array("Template_Page1", "Template_Page2", "Template_Page3", "Template_Page4","Template_Page5"); for (i = 0; i < a.length; i++){
A week ago I knew nothing about pdf file internal formats or how to write an adobe plugin, but now I have successfully created a plug in to convert the bookmarks to named destinations and then export these named destinations to a text file. I have one bug to fix, though, the situation where the destination name tree does not exist. I could really use some help to finish this off. Question 1: So I use the following to get the name tree:PDNameTree pdNameTree = PDDocGetNameTree(pdDoc, ASAtomFromString("Dests"));My first issue is how to test for whether this is null. if (pdNameTree == NULL)andif (PDNameTreeEqual(pdNameTree, NULL))are not acceptable syntax.So I'm usingif (!PDNameTreeIsValid(pdNameTree))instead. Does that seem like an acceptable practice? Is there any other way to test if a Destinations name tree already exists?Question 2: After determining that there is no destinations name tree, how do I create one? I see the function PDNameTreeNew in the API,
Hello,I am running this custom script to figure a field, problem is they want the sum to be a percentage rounded to 4 decimal points, but when I set the field to be a number and limit it to the 4 decimal points, the field gives an error because the custom script is putting a "NaN" in the field when there are no numbers to calculate. This NaN is not a number and causes the error message that it does not comply with the allowed format of the field.// Get first field value var v1 = getField("DSW-Total Payments").value; // Get second field value var v2 = getField("DSW-Total Monthly Income").value; // Set this field value equal to the difference event.value = v1 / v2 * 100;Any help would be greatly appreciated.
I thought I'd cracked it with this: bookmarkRoot.createChild({cName: this.documentFileName, cExpr: "this.pageNum++", nIndex: 0});However, it inserts the bookmark at page 2. I've done some reading and found out why this happens - createChild makes a bookmark on the page after the hidden root bookmark.Is it possible to achieve?NB: after running this script on a large number of PDFs my plan is to combine them into one document, then use another script to create a contents list.
Hello,I had created a plugin to create highlight annotation by adding a custom menu to acrobat.Acrobat version: Acrobat DC 2015 (Classic) trial version.OS: Windows 7IDE: Microsoft visual studio 2013Today, its trial version has expired so I tried to reinstall it. It installed properly.However, my plugin is not getting loaded in the Acrobat. I mean the custom menu that I had created using plugin is not getting added.I tried to debug with Visual studio , I am not able to debug it as its not getting loaded by Acrobat.What can be the possible reason behind it?Thanks.
Hi,I am trying to make a PDF - I want one section to autofill using a java script.I have 4 names in a drop down field called: "Site Contact"I would like another field to auto populate a phone number - for instance:If "Joe" then "1-800-555-5555"And an option that if there is no name selected then it is blank.Can i do this?Thanks,[ Mod: Changed subject form "Java" to "JavaScript" Question - this has nothing to do with Java ]
How to extract 2 first and 2 lats pages from acrobt document with variable x-pages using java and than save it with the same name as the pdf +_cover?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.