Unlock the power of Acrobat SDK through our community.
Recently active
Hello,May be the question has already been answered but I am strugling to find the right answer for my situation.I have a pdf form. The user input a date "from" and a date "to". My script is able to get the difference in days. But how:exclude weekendscreate a fuction with all holidays in a year to automatically exclude them during calculation?Here is my script. Please take into consideration my input field, I am new to adobe script.// get the end date valuevar cEnd = this.getField("To").value;// get the start date valuevar cStart = this.getField("From").value;event.value = "";// compute number of daysif(cEnd != "" & cStart != '') { // convert date strings to objects var oEnd = util.scand("dd/mmm/yyyy H:MM:SS", cEnd + " 0:00:00"); var oStart =util.scand("dd/mmm/yyyy H:MM:SS", cStart + " 0:00:00"); // convert into days since epoch date var nEnd = Math.floor(Number(oEnd) / (1000 * 60 * 60 * 24)); var nStart = Math
I am using Adobe Acrobat for the first time. I need to embed the fonts for a PDF and I'm using Microsoft on my laptop. What's the best way to do it please?
As is stated above, this topic is a submission for a feature change. I request that OCR have the option to be disabled. It's pretty straightforward what I am asking here, the purpose is to address those who do not benefit from said feature, but it is currently always on. Feature settings are hidden within the feature instead of in the preferences window, I also request that all settings for tools, also be located in the preferences window.
Hi everyone! I'm a beginner and don't know anything about writing code. I am trying to create a form for work and want the last box (Text 3.4) to show as a percentage. The formula that I want this form to calculate is [(Text 3.2 + Text 3.3)/ (Text 3.0 + Text 3.1)] * 100%. Can anyone please help me? It would be so greatly appreciated. Thank you!
Hi I have a very long document with lots of internal and external hyperlinks - is there a quick way to check for any broken links in Adobe Acrobat Pro DC e.g. Like you can in Dreamweaverthanks heather
Can our company can use this API for POC ? What precautions do we need to take care when we are doing POC, so it will not break license terms?
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
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.