Unlock the power of Acrobat SDK through our community.
Recently active
There's a preference "Use external JavaScript editor". For the life of me, I can't get that to work. I set it to a text editor, and Acrobat opens the right document into it. But Acrobat sits there hanging. When I save, close and quit the application, Acrobat still sits there hanging. I have to Force Quit every time. I've tried each of the editors I have laying around - VSCode, Brackets, Atom, LightTable... even TextEdit.Am I doing something wrong, or is this feature broken?
I have some listboxes whose items are filled in by a script and/or via a CSV. 1. I would like items containing "T*T" to appear at the top of the list, sorted alphabetically. (As this word is censored by the forum I wrote it "T * T", you can see it on the screenshot)2. I would like items containing "ADE" (and not containing "T*T") to appear next, sorted alphabetically.3. And I would like all the other items to appear after, sorted alphabetically. See screenshot: white list is the current, yellow list is what I want. Is it possible?
I want to create a Button to automate a task for me. When the button is pressed in duplicates the infomation that has been entered . So the form is filled in and TextField 1 at the press of a button populates TextField 2 .does anyone know the code to do this or could point me in the right direction on how to learn to do this?
Hi All, Let me start by saying I have very little experience using adobe and even less experience writing javascript code. I have a pdf form with many different check boxes on it, and I was asked to create a button that will allow the person filling out the form to do so via popups.For example, there is one checkbox for a statement that says something like "2+2=4", another that says "2+2=5", and a third that says "2-2=0". I would like to create a button that opens a popup which askes the user if 2+2=4. If the user hits yes, the check box becomes checked off. If the user hits no, the check box does not get checked off. Regardless of the users answer, I need another popup to open after the user imputs their answer into the first (and it disappears). So after the user clicks "yes" to "does 2+2=4", the checkbox will populate, the popup will close, and another popup will open and ask "does 2+2=5" (and then answering this question will do the same thing as the previous). And so on
Each time I try to update Adobe Pro DC (Mac) I get the message: error 104, try later.
Hello,I'm a total rookie with Adobe Pro and I'm trying to figure out how to add javascript to my fillable pdf form. More specifically, I have about 100 dropdown menus each with the same items to select: "1", "2", "3" and "4". I hoping there's a way to incorporate javascript to each dropdown menu that would change the background color depending on which item is selected. i.eIf "1" then background to redIf "2" then background to yellowIf "3" then background unchanged or whiteIf "4" then background to green Is there an easy way to do this? Thank you!
Hi,Similar to post Custom URL links in PDF don’t work. we have noticed that the Worksite link protocol iwl: is blocked in Reader DC (Windows 10 64-bit)However, enabling the protocol in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown\cDefaultLaunchURLPermswith "|iwl:2" added to the key, merely launches the default web browser, not the URL handler specified for the iwl protocol in HKEY_CLASSES_ROOTIs there a way to get the correct handler to be used in Reader?thanks
hi, I don't have any experience with script, and I need to create a custom calculation script in my Adobe Acrobat form.for example,we want to provide exhibitor a form, then they can choose the area they need itStand Zone □ A Zone for Raw Space 1000/sqm□ B Zone for Raw Space 2000/sqm□ C Zone for Raw Space 3000/sqmStand Type□ Raw Space +0 /sqm□ Shell Scheme +159 /sqm□ Upgrade Shell Scheme + 318 /sqm□ Deluxe Shell Scheme + 424 /sqmStand Open Sides :□ One Open Side □ Two Open Sides +5%□ Three Open Sides +8%□ Island Booth +10%Stand Space (in sqm) :___________________________the total price:if someone choose zone B and upgrade shell scheme and three open sides.he enter the stand space like enter 9 (manual)The above basic price (one open
I write reports for legal claims. As part of my report I need to create a single pdf with all of the documents I cite in my report (typically this is in the 100-200 document range). Each of the documents needs to have information about the document in the headers and footers. This includes the source information about the document - that is, where is the document from (for example, an archive name, a file number, and a date). I have figured out how to do this by manually copying and pasting the information into the footer, but since I have an excel spreadsheet with this information, I would prefer to have the computer automatically match the PDF to the source information and create the footer. I am willing to spend some time to learn how to do this - I assume I need to use javascript - but I am having trouble locating either a specific course or book that covers this. Can anyone point me to a resource where I can learn how to automatically fill in a document footer with infor
Looking for ways to batch convert PDFs to HTML using Acrobat Pro DCBasically I'm looking to automate the following: Acrobat > Menu: Export To > HTML Web Page > {Settings: Single HTML Page, Include Images, Recognize text if needed, Set Language} This forums page from 2017 shows a promising AppleScript approach, but so far only the JPG exports are working. Been chasing down AppleScript (osascript), JXA (AppleScript's flavor of JS), Acrobat JS, and Command Line, but haven't cracked it yet.
I'd like to know how to detect and create barcode fields with JavaScript. The documentation does not mention a "type" barcode: Valid types are:buttoncheckboxcomboboxlistboxradiobuttonsignaturetext And using this script in the console returns: "text" console.println(this.getField("Barcode1").type); How to know if a field is a "barcode" field, and how to create one? Thank you
I'm trying to convert a PDF file via the Interapplication Communication API of Adobe Acrobat using Adobe Acrobat Pro DC 2017.009.20058 Trial Version.My script doesn't appear to be converting my file from PDF to HTML. It works for some formats (e.g. plain-text), but not for others (e.g. spreadsheet, xlsx). Perhaps it is because I'm using the trial version? Here is my AppleScript code:set myfile to "/PATH/pdf_schedule.pdf"set outfile to ("PATH:pdf_schedule.html" as text)tell application "Adobe Acrobat" -- get every conversion activate open myfile save document 1 to file outfile using conversion "com.adobe.acrobat.html" close document 1end tellAnd `get every conversion` returns this (with html highlighted in blue):{EPS Conversion "com.adobe.acrobat.eps" of application "Adobe Acrobat", conversion "com.adobe.acrobat.xlsx" of application"Adobe Acrobat", conversion "com.adobe.acrobat.html" of application "Adobe Acrobat", conversion "com.ad
I am running Acrobat XI on Windows 10 and setting up a fill-in form. I am having a problem with setting up a field to do a calculated total.The first field has the user enter the number of widgets sold. The field is formatted as a number with no decimal places.The second field has the user enter the price per widget. This field is formatted as a number with 2 decimal places.I want the product of fields one and two to appear in field 3, which is also formatted as a number with 2 decimal places. When I open the properties box for field 3 and go to the calculate tab and select value is the product of the following fields and click the pick button, I can see fields one and two in the field list, but clicking on the buttons to select them does nothing, i.e., I can not select them (or any other field for that matter). The check boxes just remains white when I click on them.Clay
An error message is displayed if the value of a PDF form cell is blank or 0.The message is "The value entered does not match the field format".Please help me to know how to fix the issue. Although the calculation itself is possible. But the error message shows up each time when a cell is entered. I need to have a solution to set the appropriate JavaScript of the form.
Hello, i refer to the following link: JavaScript™ for Acrobat® API Reference. How do you correctly address text fields and selection fields in Javacript? Is there a short form in Javascript regarding mandatory fields? Example code that does not work: var empty = ""; if(this.getField("Example") == empty) { app.alert("Error"); } This is just a test. How should the Javascript code begin in Adobe? Best regards Christian Huml
Greetings all,I have been tasked with making an interactive map for a learning exercise course. This only needs to be a map base graphic with some icons simulating different modes of transportation (i.e. - trucks, trains, planes), different building types and so on). The participants just need to take a scenario and determine the most effective way to get resources A to destination B by collecting there icons and drag them around on the map until they figure a solution.All I need to do is just have the icons CLICK and DRAGABLE...the problem is, IT CANNOT BE FLASH-BASED...argh! This is extremely easy to do in Animate but the Flash Player is required to display the SWF file in the PDF...which as I said, is not an option.The client has requested a PDF and I'm hoping I can deliver...does anybody have add a CLICK and DRAG code snippet for objects in Acrobat?And just in case you're wondering, I haven't asked if I can give them an EXE file...which would solve all of my problems...but EXE file
Hi,I want to add a button at the end of my PDF doc to send the doc.I shell use :addField ith "button" as the fieldType.How can I specify the following:set layout to: Icon top, label bottomset label to "send form"set and icon to a specific png fileset the action to "Submit a form"Set Select Trigger to "Mouse Up"Or perhaps to see all this, how can i see ALL the form and it's function properties? this would allow me to see the proper properties to set.Thanks
Hi, I have a built a PDF document in acrobat, where i have spawned pages included. I have achieved dynamic section headings (3.1, 3.2, 3.3 etc.) for the document using the following script for a first in line of spawn pages event.value = "3." + ((event.target.page - 5) * 2); this.calculateNow(); The problem that i am having is that using this style of code then also modifies section headings after where the spawn page is placed. I have 4 different spawn pages that slot in as additional test pages if needed. I need some help to be able to set a field to start from 1 and then subsequent add fields to find that field and add .1 to it, this needs to work across the spawned pages too. I have attached a redacted version of the document, if you navigate to page 8 and use the button the add calibrations it works nicely, but then it changes the validation section headings and subsequent add on pages for validations too. Any help would be appreciated, i have been trying
I am wondering if i could get some help in writing a simple script to go to a specific text field. I am working in Acrobat for example when a checkbox is actioned (ticked) to go to a relating field where comments are to be made. I know there is the basic pageNum = 1; etc. coding, but that will only take me to a page, not a specified field.
I have a calculated field that is formatted as a percentage and references two other fields. I am checking for zeros before doing the calculation. The answer is correct but I get an error about the formatting of the answer when zeros are found.I am using the following code which I got from an answer by try67 ... var v1 = Number(this.getField('testWt').valueAsString);var v2 = Number(this.getField('ratedCap').valueAsString);if (v2 == 0 || v1 == 0) event.value = '';else event.value = v1 / v2; How can I stop the error message as I want the answer as a percentage?
Hello everyone, So I'm tring to create a custom calc script wherein two dropdowns (selection for unit values, e.g. mg/mL vs ug/mL) have their values selected by the user. The user also fills in numbers for other fields. Then calculations using those other fields are performed to return an answer to yet another field. Here is my sloppy prelim version (I just started learning this java stuff 2 days ago, so please bear with me): if (this.getField("Dropdown8").value=="mg/mL") && (this.getField(“Dropdown88”).value==”ug/mL”)) event.value = (this.getField("mls8").value*this.getField("useat8").value/this.getField("stock8").value/1000).toFixed(2) Such that if units for one field are selected as mg/mL and units for the other field are selected as micrograms per mL (ug/mL) then the target field performs that ridiculous calculation and returns it to 2 decimal points. I just get syntax errors the whole time. Thanks in advance for the help!
Hi, A would like to set this kind of format in number field: 1 221,00 1 546 684,54 154,00 etc. I know one way:event.value = util.printf("%,2.2f",event.value).toString().replace(/\./gim," "); BUT if number field is empty, it shows "0,00".ButI don't want to see "0,00" in empty number fields, just nothing. Could anybody help ? Robert
We have a program that merges multiple PDFs into one and then there is an option to create an electronic signature to a separate PDF that is post fixed to the merged files. We found a problem doing this when one of those initially merged files is a submittal form. I'd like to flatten those files programmatically before being merged. Is there a way to do this in DC from VB.NET? Thank you
Guten Tag zusammen, gibt es eine Möglichkeit bei Adobe Acrobat pro DC bezüglich Formularerstellung auch den Text auszublenden wenn dieses genannte Formularelement ausgeblendet wird oder ist das nur in JavaScript möglich? Mit freundlichen Grüßen Christian Huml
Hello All,Compiled Acrobat DC SDK, examples, it compiled and build with .api plugins. I copied those plugins toC:\Program Files\Adobe\Acrobat Reader DC\Reader\plug_ins folder. But it;s unable to open and even manually for reader DC (attach ).I installed Adobe Acrobat Reader DC 2015 release, Version 2015.020.20042.From Help ->About Adobe Plugins, this window is not displaying third party .apiHow to open third party .apiThank You,Answers Appreciated
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.