Unlock the power of Acrobat SDK through our community.
Actividad reciente
hi all, I'm making buttons in some PDF documents using javascript. They all work except the most trivial thing, I can't make a button that does the SaveAs.The javascript is trivially this:app.execMenuItem ("saveAs");When the mouse is released it does absolutely nothing, looking around does not seem to me that the syntax has changed, can you help me?
I've just downloaded a legacy version (from Adobe's /olddownloads page) of Adobe Acrobat Pro XI (to install on a new Windows 10 laptop), and it goes through the full installation, including selecting English as the language. But when it's finished installing and I open the program, a small window entirely in Japanese (or some other Asian language, but kanji-type characters, wholly unreadable to me!).I called Acrobat support, but the agent couldn't figure it out and sent me to a chat support, this forum. Anybody got a clue?thankscharles
Hello - I've been successful in creating a custom Balloon stamp, using the guidelines from Thom Parker'as excellent book "All ABout PDF Stamps..".However, when I move my stamp PDF to my user's PC, I get this error:NotAllowedError: Security settings prevent access to this property or method.Info.exhibit:8:App UserData2:CalculateAgain, it works on my PC.I've been searching and working on this on and off for a few weeks, and I am not making progress. Do I need to go the "trusted function" route?What am I missing?Thanks very much in Advance,Brian
I have Acrobat Reader DC. I have windows 10 enterprise software.New business laptop.On my old machine, I used to be able to right click on a jpeg and convert to a PDF. How do I add that function? I don't see it.Any help would be appreicated
how to change page orientation from portrait to landscape in an existing PDF ?
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.
Hi guys! I am a beginner at this and have searched a lot for anwers but haven´t found any that fits my problem.I have a PDF form timesheet that uses four time inputs. ex. time1in:07:00, time1out:11:00, time2in:12:00, time2out:16:00. Now I want to sum this up in a total hours field and need help with the script to perform this correctly.I have found a script that works to sum up the total hours of time1in and time1out but I do not know how to extend the script to also add time2in and time2out to the total sum.The script I have is:// startvar start = this.getField("8").value;var startArr = start.split(":"); // finishvar finish = this.getField("9").value;var finishArr = finish.split(":"); // differencevar hourDiff = Math.abs(finishArr[0] - startArr[0]);var minDiff = Math.floor((Math.abs(finishArr[1] - startArr[1]) / 60)*100); if (minDiff.toString().length == 1) minDiff = '0' + minDiff; var output = hourDiff + "." + minDiff;event.value = output;&n
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.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.