Unlock the power of Acrobat SDK through our community.
Recently active
Hello,I'm trying to write some JavaScript for new forms at work. I've been able to write a code so that when a checkbox is checked, the information from one set of fields copies over to another:if(getField("Check Box12").value!="On")this.getField("Applicant's Name").value = this.getField("Property Owners Name").value;this.getField("pertyAddress").value = this.getField("Address").value;this.getField("Contact Name1").value = this.getField("Contact Name").value;this.getField("Phone1").value = this.getField("Phone").value;this.getField("Postal Code1").value = this.getField("Postal Code").value;this.getField("Cell Phone1").value = this.getField("Cell Phone").value;this.getField("Email1").value = this.getField("Email").value;What I'm trying to do now is if that checkbox is unchecked, have the text fields clear and reset to blank. Right now I'm trying to use this and it is not working:if(getField("Check Box12").value!="False")this.resetForm("Applicant's Name")this.resetForm("perty
Trying to find a way to access the XMP Metadata using Excel VBA with a reference to Adobe Acrobat 10.0 Type Library. Found some comparable documentation within:Adobe Acrobat SDK - JS for Acrobat API Reference:Metadata topic (page 248 of 2021-02-01 ed).for JavaScript. Anyway to do this via excel VBA?GetInfo and SetInfo work very well for the basic Metadata (Creator, Producer, Author, Title, etc.). Is there a way to access the XMP Metadata -- specifically the copyright? Thanks!
I am trying to create a book cover file in PDF. I have created the file in Photoshop, but the "Save AS PDF" function does not create the type of PDF I need for publishing a book through IngramSpark. So I downloaded the trial version of Acrobat Pro DC. It will not open a file that I save from Photoshop as a PDF. When I save as a Jpeg, it takes me to the subscription purchasing page online. I only downloaded the trial yesterday, so I should have 29 days left. Please help. Thanks!
Hi all!I wish to have a plug-in or a tool in Adobe acrobat DC Pro with the help of which i can get the meanings of words in a pdf file. Though double clicking on the word should be sufficient, but I don't mind even if i have to right click on the selected word. But the meaning should pop-open within the program itself. The current version of Acrobat DC Pro gives an option of "Look-up" of the selected phrase, but it pops up an internet browser window to to show the meaning from from dictionary.com. Is there a tool or an add-on that is existing that can show me the meanings of words without opening the internet browser; which i am unfamiliar about. Kindly help.Cheers!!!
We have a plug-in application, which was implemented for 32 bit Acrobat was fine on the same.Recently we got a requirement for 64 bit version of acrobat, so I followed the steps mentioned in 64 bit SDK and upgraded the same application for 64 bit acrobat. I was able to compile the code and successfully created the plug-in, which I added to plug-ins folder of acrobat (say.... Adobe\Acrobat DC\Acrobat\plug_ins). But when I try to open the acrobat, it is not opening the acrobat. (and when that plug-in removed from the folder, acrobat opening).When I try to debug the code, below things are shown. What causing the acrobat failing to open in my Plug-in application.Please help me to sort out this issue.
I am inputting (Name of Field*.20) to get a product and a separate field. I keep getting syntax errors "SyntaxError: missing ) in parenthetical 1: at line 2
Hello, I'm relatively new to JavaScript and any help is greatly appreciated.I have a form with multiple columns that a user will be filling out. The columns need to be filled out top to bottom. I would like to use the ENTER key to move to the next field in the column. I am aware that the TAB key is the default choice of Adobe, but it is not a logical choice for the users that will be using this form. Currently I have been using the script below to move from the first text field to the second. Is there a way for me to apply this script to the enite column without having to place the script in each text field's Custom Keystroke script area? I am using Adobe Acrobat Pro 2017 Thanks. if (event.commitKey === 2) {getField("Plant Sample Row2").setFocus();}
Hi community, I've been scavenging the internet for over a day now looking for a way to access Image tooltips on a PDF from adobe acrobat. Is there any way to access the tooltip/alt-text on the image? Is there even an object to access and manipulate images on the pdf throguh acrobat?
I have saved a pdf that is password protected. The file is pretty much locked down, no printing, no altering images, no copying text...But the problem is that when the file is viewed as an attachment in gmail and comes up in 'preview' mode of the browser (in this case, firefox) it can be printed from the browser. any way to fix this? basically adobe security has been bypassed very simply even without a sophisticated hack. #disappointed adobe!
I want to save a pdf file to png image format using js object how can i achieve that.The Code i used is jso.SaveAs(ExtractedPath, "com.adobe.acrobat.png") but it's giving an error NotAllowedError: Security settings prevent access to this property or method. How can i overcome with this any help please.
When I log into my Adobe Developer Account Console, it lists me as a "User" (not as "Administrator") and does not provide a place to Add/Manage Users to the account. It should be listed under "Quick Links", but it is not listed there or at all anywhere in the account. Please help. Tom King
Hi, i'm really new to this and i need help to populate multiple dropdow from one arraythe array contain (art N° - description - price)what i'm try do do is:if i select from dropdown an article in automatic he show me on the same line descriptio and price all taken from array So please help me
Hi,I am trying to shorten the script below which allows me to import the same list of items into multiple drop down box fields. I would like to be able to list the fields in a row using a single command instead of executing the complete command for each field. The script does work but I would like to streamline as it populates a large number of fields.var aOptions = [ "One", "Two", "Three"];this.getField("Parts 1").setItems(aOptions);this.getField("Parts 2").setItems(aOptions);this.getField("Parts 3").setItems(aOptions);
I have a slew of pdf documents, from which I need to extract data. I am using 32-bit Adobe Acrobat Pro. I believe the files were originally scanned from excel, but I have no way of knowing. I have tried to pull the data using various tools, including the most straight forward method - extracting to excel. This works, but I am looking for a more elegant solution. I would like to use javascript to iterate through the documents, which all have the same structure. My current stumbling block is that there are undefined fields, mostly text fields, and I am not familiar enough with the object model to be able to iterate through programatically. How can I iterate through using the debugger to list each field? When I look at the document as a form, the fields I need to identify have no properties windows, but I am assuming I can still manipulate them with a script.Thanks! (I can't upload a sample file, btw)
My Adobe was deleted in a mass change over at work. I can't figure out what is wrong. I downloaded Standard DC back onto my computer. So I go to file and click on Create-then PDF from scanner. I am in the Scan & OCR. I want to change my Custom settings. But it will not allow me too. When I just try to click on scan it tells me to put valid page dimenions . I haven't been able to work for 2 days HELP 🙂
Hi friends, Im in Acrobat Pro DC and I have multiple fields that I want to turn the text red if the "Expires" cell is any day before today.Expired.I have a field that already calculates the current date from a Document level script; Today_af_date. Here is that code: function dateToday() {var d = new Date();f = this.getField("Today_af_date");f.value = d;}dateToday(); Here is the code that is in Custom Val Script: of the "Expires" cell - NOTE: I have 52 fields that I need this entered into. Should it be a Document level script? I'm getting a Syntax error 19 at line 20, as well? var Today = this.getField("Today_af_date").value;var Expired = event.value; // Check to see if the cells are filled with dataif(Today.length || Expired.length) { // Make sure date values are the samevar dateToday = util.scand("mm/dd/yy", Today);var dateExpired = util.scad("mm/dd/yy",Expired); // Fire off the validationif (dateExpired.value<=dateToday.value);{event.t
Can the Acrobat SDK add headers and footers that Acrobat can recognize?when the user choose the 'Document' menu, then 'Header and Footer...' and the 'Update...' entry, then I want to recognize headers and footers.
I want to use the values from a "first name" and "last name" to populate another field called "full name" (with spaces between the two fields).I found the below script, but my javaScript skills are lacking and I don't know how to add extra values:event.target.value = this.getField("first name").value;I am seeking guidance on how to add more than one field. I would greatly appreciate your assistance. FYI, this is the original post I credit the above script to.
Hello,I am generating PDF with LuaLaTeX engine.In my code I embed the following JavaScript command to change the font in text filed:this.getField('fldname').textFont = 'fntname';When the fntname is set to a sans-serif font name, like Calibri (on Windows), this command changes the font, but when it is set to a serif font name, like Times New Roman (on Windows), this command do nothing.What is the difference between serif and sans-serif fonts in text fields?
I find myself turning to the Subject Matter Experts (SMEs) once again... I seriously don't know how y'all manage to accumulate this much arcane knowledge but a tip of my hat for your advice and all of the solutions I've found in your posts. So, as my scripting knowledge is virtually non-existent, I try to keep things as simple as possible. To that end, I've been trying to use the pulldown menu to show/hide additional fields -- based on selection -- while making the "new" field a required field and auto-locate the cursor to the said field. By proxy, if the selection does not display the "new" field, the cursor is supposed to auto-locate to the next field in the tab order. This is what I've tried using and while successful in the first dropdown, it was not successfull in another. While tinkering, I've managed to make it not work in either. :S//My working script//if(event.value=="Other"){this.getField("Other_01").display=visible;this.getField("Other_01").setFo
I am using Adobe Acrobat (11) on a PC. I have pdf file and have inserted some text information but would like use an arrow. I tried using the help and it said to click Shapes on Toolbar but I do not have the Shapes option on my toolbar. What should I do now.I tried to copy the document and insert it in a word document but when I tried Select all /copy/past all I got was the text information not the whole page.
Hello,I wanted to add an embedded PDF Viewer on my website, but after doing all the required settings, my page scrolls down to the PDF Window which is loading the document every time is accessed. It doesn't stay on top, as usual.Is it any solution to this problem?Thank you
Hello,sorry if this is not the right place for this question, in case please point me to the right place.I'm looking for the source code of the Java XMP core version 6.1.11 because I cannot find them in here https://mvnrepository.com/artifact/com.adobe.xmp/xmpcore/6.1.11Can anyone please point me to the right place?ThanksAndrea
Have created a form but stuck on one part where there are a number of choices to a question and the user needs to be able to show their preferred choice. There will be 8 choices in total and the user will need to select their first and second choice, a simple 1 and 2 will suffice, but I don't want users to be able to repeat values. Previously a ranking wasn't required and the form used checkboxes, but it now needs to be more specific, is there a script that can be applied here?
Hello, I'm working on an error check that looking at "S3 Breakfast meal count" and if it is greater than 0 then I need it to look at the other two and if either one of those is greater than 0 (or both are) its okay and doesn’t return my error code. However, if S3 Breakfast Meal count is greater than 0 and the other two are not greater than 0 two I need my error to return.Here’s my code to date… if (this.getField("*S3 B Meal Count").value >0 && this.getField (("S3 Add <= Count").value >0) or (this.getField ("S3 Add > Count").value >0)) event.value = "";else event.value = "Add meal count for additional amount for lunch."; Part of the above works… For the or I’ve tried && and ||. The || is only looking at the last half if its true it removes my code. I tried doing a var script, but I couldn’t work that one out in my head. And y
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.