Unlock the power of Acrobat SDK through our community.
Recently active
I have this script setup to trigger on mouse up on a button action in my pdf The objective is to cycle through 3 colours so people can mark the status of a text field Red Amber or Green (RAG) This works if I hard code named colors in my events, so I thought I would do the smart thing and declare variables and setup custom colors. This is not working var MyCrimson = ["RGB",0.537,0.776,0]; var MyOrange = ["RGB", 0,0,1]; var MyLimegreen = ["RGB", 0,1,0]; if (color.equal(color.MyCrimson, event.target.textColor)) { event.target.textColor = color.MyOrange; } else if (color.equal(color.MyOrange, event.target.textColor)) { event.target.textColor = color.MyLimegreen; } else event.target.textColor = color.MyCrimson;But this does work (just ugly colors)if (color.equal(color.red, event.target.textColor)) { event.target.textColor = color.yellow; } else if (color.equal(color.yellow, event.target.textColor)) { event.target.textColor = color.green; } else event.target.textColo
Os arquivos não estão salvando após a ultima atualização. Ao clicar em salvar aparace uma janela em branco, e fica travada, impedindo o salvamento do arquivo.
Hi Guys,I have a script where I generated library Documents and email to a clients for Esign.I need to send values to form fields, but I addef Mergefields and is not prepopulating. DO I need to set the document to Authoring mode and use. Agreements/formfields. to update the default value of the fields. How is the format of the array where I add the values. I have and view one but it didnt look right with the Values. I have all the variables just need to add them and send them. Thanks so much
Hello, I would like to add information to an email depending on weather or not a check box has been ticked. I am able to do it with drop boxes but I am unsure of how to do it with tick boxes. I already have a variable called emailBody. the code I am trying to get work is bellow: if (this.getField("Inductive"). valueAsString=="0")emailBody += "\n700738197: Inductive Sensor";
I cannot print downloaded pdf files without saving them first but before yesterday I couldThis was not an issue 2 days ago...just started...I click print and it only gives me the option to save...so I have to save the document and then open the saved document before I can print it
I am using Adobe Acrobat DC and I find that I am often making the same formatting changes to things like date fields so that they appear dd/mm/yy or turing off border and fill colours for tick boxes/radio buttons. Is there a way to set these defaults at a program level, so that I don't need to keep making these small changes?
I have used IAC to copy pdf page image to the clipboard. Here is the code that no longer works (it was working for a long time until a week ago). The code still works on our old Acrobat XI Pro systems; it fails on Acrobat DC systems. The exception is always thrown. Does anyone know what happened or how I can solve the problem?private Image getImageFromDocPage(CAcroPDPage pdfPage){Image img = null;CAcroRect pdfRect = new Acrobat.AcroRect(); // the pdf regionCAcroPoint pdfPoint = new Acrobat.AcroPoint(); // the pdf pointpdfPoint = (CAcroPoint)pdfPage.GetSize();pdfRect.Left = 0;// Tricky! Faxed documents have a fax 'header' at the top of each page which makes the pages different even though the contents are actually identical!// A point = 1/72 inch.short topPortionToIgnoreUnitsPoints = 8;/*if (radioButtonIgnoreTop8Points.Checked) { topPortionToIgnoreUnitsPoints = 8; }if (radioButtonIgnoreTop12Points.Checked) { topPortionToIgnoreUnitsPoints = 12; }if (radioButtonIgn
Hello, I am having problem with saving my PDF files. When I open my file and try to save, the save button is greyed out so I can't save any of the files I open. If I try to save as I just get a pop up but its a blank and doesn't do anything if I wait.I do have a subscription but I don't know if it's single user license. We have two computer that uses the same serial number and account so could they be why it is not letting me save?Please let me know what I can do to fix this.Thanks,Won
Hi,I have been using a modified version of the code on this website (Read And Write PDF Forms From Excel (VBA) ~ My Engineering World ) to copy text from an excel document to a PDF template and then save the result. Now I want to have the macro also add in an image to the image field in my template. I'm pretty new to VBA coding, so appologies if this is a dumb question.Basically for my text I was just using "objAcroPDDoc.GetJSObject. GetField.[field name].Value" to highlight the relevant field in the PDF and paste in the value from my excel file. But I'm not sure how to modify it to have it add in an image from a specified file path instead.Thanks in advance for any help!
Hello,If i have a drop down that has yes and no in it can I adjust the email body to show pre determined information if no is selected? i.e. Are there scratches in panel work? "NO"Email body: Warning, there are scratches in panel worketc.
Hi,I have been using a custom javascript I wrote for years on Acrobat Pro 6. It also works on Acrobat Standard X but I have not been able to get it work on Acrobat Reader DC. The javascript finds a location for a signature field, creates the field, then signs it with a Digital Certificate Signature. everytime the code gets tofield.signatureSignThe console gives a Notallowed security error. I already have a trusted function etc (this all worked in Acrobat X) but cannot get it to work in DC Reader.After it errors, I can click on the signature field with my mouse and Reader DC pops up up the sign dialog and I can then sign the file, so reader is working with the digital ID, is able to sign the documents etc, but not from javascript? Can anyone tell me whats different, is this a function not available in Reader?Can anyone confirm they can get Adobe Reader DC to field.signatureSign in javascript correctly Code section below, it is "C:\Program Files (x86
Hello Adobe Support Community,I'm new to the Acrobat SDK and have only used some of the features. I'm using the Acrobat library through VB.NET right now and I'm trying to check, if an user is actually logged in in Acrobat at the time he's using the program I wrote.Because I will get an error message everytime if I'm not logged in. Is there a way through the Acrobat library to check this?
Hi, I have minumal experience in Java/coding, but understand the basics due to some programming classes I've taken in the past. I'm making an order form that a customer can change the quantity entered and add it to their order with a Checkbox. There is a suggested quantity that will already be entered. I have managed to create multiple Text fields with a script to calculate the price(Total) that is activated by a Checkbox. Next to each Text field is the Checkbox that turns the field "Off" or "On". It works fine with one, but I have 7 and each time I enter a new calualation in a new, unrelated field, it randomely cancels out the some of fields above it. See below. All are checked, so all should have the Total price entered.I was originally using these scripts in each of the Total Text fields.event.target.value=this.getField("QTY ST NE").value*30; event.value = 0;(this.getField("Check Box1").value!="On")event.target.value=this.getField("QTY ST WPA").value*35; event.value = 0;(this.getFie
Hello Everyone, I'm using Adobe Acrobat Pro DC version to save PDF File as .txt file. Set objJSO = objAcroPDDoc.GetJSObjectobjJSO.SaveAs GetTextFilePath, "com.adobe.acrobat.plain-text" This worked very well until I received a scanned PDF file with page size 22inch x 27inch. It doesn't produce text file out of it. Anyone please suggest what approach should I take? I personally feel I should SaveAs pdf with scale of A4 size paper but again I didn't find VBA code to perform that. please help. 🙂
I have a form with 3 buttons:1. a button to check to see that all dropdown fields are not default value (also set to visible, but does not print)2. a Save button, which does 2 things (first, make all fields "read-only" and secondly open the "Save As" menu item (set to visible, but do not print)3. a button to clear "reset" form (set to visible, but does not print)My issue is, when I was testing the read-only javascript code, I saved the form, yes I realize not the same as printing, however, when I opened the saved form, all fields were set to read-only, as I wanted, but I also noticed that button #1 was not showing, which I thought was strange, but then I went though all of the properties of each button, but each buttons properties for display purposes were the exact same.So why would that first button not show when being saved, but the other two did?
I want to make bookmarks as bellow using Javascript.- Each bookmark has a same name as each layers in pdf.- Each bookmark has the following action. When the bookmark is clicked, the only layer with same name as the bookmark will be displayed.----------------------------------------------var layers = this.getOCGs();for (var j in layers){ this.bookmarkRoot.createChild(layers[j].name, "xxxxxx");}---------------------------------------------- I want to enter the following script into "xxxxxx". (cExpr augument of createChild method)----------------------------------------------var layers = this.getOCGs();for (var i in layers){ if (layers[i].name === bookmark.name){ layers[i].state = true; } else{ layers[i].state = false; }}----------------------------------------------This script expression is evaluated when the bookmark is clickedBut I
Hi - I've created a PDF Form with Acrobat. I'm automatically filling the form fields with data from a SmartSheet. I have some fields that I need to change the background fill color of depending on the content of the field, once filled. For instance, if the field value is "Green", I would want to change the background fill color of the field to Green, etc. Would this be a Custom Format Script? It seems like it would be. Can someone provide some assistance on what this code would look like? This is my first crack at using Javascript in Acrobat, so a bit lost. Here is my first attempt:var status = this.getField("Risk/Issue 1 - Status Color");if (status.value = "Green")status.fillColor = color.green But that results in the following error:InvalidSetError: Set not possible, invalid or unknown.Field.value:2:Field Risk/Issue 1 - Status Color:Format I seem to be stuck at the starting gate. Any assistance is appreciated. Tony
var d will not update when I change var f unless. Initially it works but any changes made to var f will not update var d. Thanks in advance for any help. var f = Number(this.getField("Text2").value);var d = (f * 60 + 1440);var s = this.getField("STOPDATE").valueAsString;var t = this.getField("Time3").valueAsString;if ((s=="")||(t==""))event.value = "";else event.value = d;
Hi everyone! I am trying to figure out how to copy a PDF document with multiple different watermarks. I have Adobe Acrobat pro. I found a code online (copied below), but when I enter this, the code only produces a 'COPY OF THE INITIAL FILE' and 'Doc COPY 01' but it does not create the additional watermarked files. Additionally, one line is appears at the bottom of the javascript code saying 'undefined'. If anybody has any suggestions, that would be hugely appreciated. Code: // ———————————————————————————————————————————————————————————————————————————————————————————————————— // ———————————————————————————————————————————————————————————————————————————————————————————————————— // ———————————————————————————————————————————————————————————————————————————————————————————————————— // // C R E A T E C O P I E S O F A P D F W I T H U N I Q U E W A T E R M A R K S // // // This script prompts the user to select a PDF // file and makes copies
Hello,I need a way to convert a pdf to xml , make changes , and convert back into pdf from xml using an api or sdk. Need it to be completely automatic with no user interaction any ideas??
I have RIKLA certificate for 32bit plug-in.I applied for RIKLA application three weeks ago for a 64bit plug-in certificate.(https://opensource.adobe.com/dc-acrobat-sdk-docs/devnet/rikla.html)However, no reply was received.I also sent an e-mail through Feedback, but there was no reply.What did I do wrong?What else should I do?
Windows 8.1 Laptop, Brother HL-L8260CDW, Adobe Reader DC ver 21.7.20099.454979I just finished a printing project where I provided 5.5x8.5 booklet sized single pages to a printer for a booklet sized Directory. I used Powerpoint to do the main portion, with Excel to do a second part. I have reset everything back to 8.5x11.0 Letter size..... BUT- When I use PowerPoint, When I do Print Preview of a letter-sized docusment with my Printer slected, it is fin. If I point to Abobe... I get a booklet sized image on the letter sized paper. If I select "Fit to Page", it goes to full size.- When I use Word (which i did not even use in the project).. Native Word - Brother printing is fie, but if I point to Adobe, the previw and printout is shrunk to booklet size on letter paper.- When I use Excel.... not problem!All three programs, and the printer, and Adobe are set to 8.5x11.0 Letter size paper... Help!
Can you please help me in finding Adobe SDK solution that can be used with python on Linux and can be hosted on cloud which can render pdfs (those which are considered as malformed by other open source pdf renderer like poppler but rendered by Adobe Reader on desktop) and convert them to tiff or other image format.
Hello, Sorry I am new at this, and still attempting to get my head around java code! I currently have a submit button that sends the form to an address with a ccd address, subject line and email body. I was wondering if I can change what is written in the body of the text depending if a check box has been ticked or not?
I am new to Adobe Acrobat Pro DC. I want to do several things.Firstly, convert a text string to proper (title) case.Secondly I want to have a field duplicate the value entered into another field.Thirdly I want to calculate the age of a person based on their date of birth and a given date (not based on today's date).
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.