Unlock the power of Acrobat SDK through our community.
Recently active
How to fill XFA-based form fields using interop.acrobat.dll c#?I have 3 pages it is replacing only first field in page only, could you please help on this
This one completely baffles me. When run inside the console, it works. When called from a framing script, it does not.I have a pdf document that contains a stamp. I wish to "get" that stamp so I can clone it into a different document. But here's where I run into a problem: Getting the annotations from the Javascript Console inside Acrobat DC...:var refDoc = app.openDoc("/ArtDept/ArtDept/JOBS/462000-462999/462000/CS/493130_T-N10-WHITE_CartoonNetwork_SPEC.pdf");console.println("refDoc is: " + refDoc);console.println("refDoc's name is: " + refDoc.documentFileName);var refAnnots = refDoc.getAnnots();console.println("refAnnots: " + refAnnots);works fine. `refAnnots` shows me a list of all the annotations (stamps included) in the document.If I run the *exact same code* inside of a much larger script, `refAnnots` is null. Meaning that the script couldn't find any annotations in the document.I've already made sure that the code sits inside of `app.beginPriv();` and `app.endPriv();` lines as we
Hello everyone,I created a form with some JavaScript functionality. It works in Adobe Acrobat DC, but it doesn't work in Reader on our company website.Is there a reason for this?Thanks,Jake
I've managed to find some javascript to put on a button in a PDF form that duplicates the page (after converting it into a template), but it is unlimited.How do I set a page limit to that button.This is the javascript I am using:var a = this.getTemplate("PDFTemplate");a.spawn();I know if I add a number inside the spawn() it will duplicate and add that number of pages.But I want it to stop adding pages after a certain amount say 3 pages and then the button stops duplicating the form.Any ideas?
I'm trying to use an action by Rick Borstein called "Filename Stamper" (File_Name_Stamper.sequ) which is totally awesome (thanks Rick!), but requires that I click OK every time for each document when I have selected multiple files with the file open dialog box. This got a little tedious after the first few hundred - is there a way around this?@
10493.3333333 need to round to nearest dollar amount if at $0.50 needs to round up anything less round down
I'm revising some old code used by our company for dynamic stamps that pop up a dialog box for input before the stamp is placed. In the code, "item_id" is used to uniquely identify the various text fields. I noticed that each one is using a four-letter abbreviation, such as "etcn" for "Edit Text field - Customer Name". I have also noticed this in my searches online, in my Acrobat Scripting Guide PDF, as well as in my "All About PDF Stamps..." Kindle book.Is this 4-character limit for the "item_id" property just a common convention used by programmers, or is it absolutely required and specified somewhere in an Acrobat scripting doc that I have somehow missed? Also, what other restrictions are there to "item_id"?
Hello allMy Adobe X1 Pro form has 16 dropdowns for food choices, It's grown to 20Mb.All works well but is inefficient when the list changes, also each dropdown has to be setup again.I would like to imbed the food list behind the form [java] and have to dropdowns fed from a single list.Has anyone a working example I can deconstruct pleaseAny support, re-directions appreciatedThanksPaul
Is there any method through which I can read the contents of PDF into Excel sheet without using Sendkeys? (Code preferred in Python, VBA, Javascript only)
I'm clearly not understanding something in this process.I converted a regular PDF form into a fillable form using "Prepare Form". My ideal being that people can eventually sign and send the form back to client directly from their browser/e-mail.I've made all the changes, saved the form, but when I open it from the web server location it just reverts back to being a bog-standard PDF that the user can't fill in!?What am I missing?Here's the form. When I open this locally it's fillable, when I open it from the web server, it's not. http://www.nathonjoneswebdesign.co.uk/caninerescue/PDFs/MEMBERS-APPLICATION-FORM-FILLABLE.pdf Hoping someone can point out the obvious!Thank you.NJ
in above picture there is a drop down menu with 5 menu items and a text fieldwhat is need is:when "Item 1" is selected then textbox1.text = "name 1"when "Item 2" is selected then textbox1.text = "name 2"when "Item 3" is selected then textbox1.text = "name 3"when "Item 4" is selected then textbox1.text = "name 4"when "Item 5" is selected then textbox1.text = "name 5"i want to control the textbox text from drop down menu item.I need javascript for this.Thanks.
https://ibb.co/dAAHoFPLEASE REFER IMAGE ATTACHED.I have a form, you can see the screenshot.there are multiple text fields (email ids) where user can enter email address.there are different email ids.and many buttons.when i click on "send mail" button,the form should be send to the email id which is in the text field.is it possible to send same form to multiple accounts in text fields at a time?and how to print a form using JavaScript.i mean,add button,go to actions and Run JavaScript.and now type javascript to print for,i know Execute Menu Item - > Print.but i want, custom script to print.
How can I reset the password I put on a document. I forgot the password and have tried everything.
Hi all.I'm pretty new to Javascript, but with a little technical aptitude and a lot of browsing on this forum, I've been able to create a somewhat complex form in Acrobat DC (Windows). The form functions as an interactive product ordering tool for office chairs. Initially, I setup the different chair options (fabric, headrest style, armrest style, etc.) in dropdown menus, with the selection auto-populating price/part number fields elsewhere in the form using both the export value and item name, along with document-level setValues scripts. For a better UX, I'm now hoping to switch to image buttons, where the user would click on an image of their chosen fabric and the same auto-population throughout the form would occur. For each option/image group, only one item could be chosen, just like a group of radio buttons. Is this even possible? Please let me know what additional information I can provide to help you help me. Thank you in advance for any assistance you're willing to give! !
I have two fields, one is calculated (text2) and the other has the user entering the data (text1). I want to compare the number entered to the calculated field. (The calculated field does not use the entered field in the calculation. Also, the calculation occurs prior to entries into text1) The entered number needs to be less than or equal to the calculated field. If it is not, I would like to un-hide a third text field (text3) - or I could use a popup alert. I do not want text3 to show until after something is entered into text1, meaning I don't want it to show before the user has a chance to enter a number.I've read through an assortment of similar posts but can't seem to find an answer that will work. It is unclear to me if this should be a validation script, a custom calculation, or added to an action.Any help would be greatly appreciated.
Dear allis it possible we can extract all text from a page of PDF with text location or coordinates by writing a script. Thanks
Can anyone tell the exact procedure to extract the coordinates of each word in a pdf file?
Hello. I've read a number of various blog posts but I'm still having trouble creating a dynamic stamp that will allow the user to just enter in 3 fields. I already created the image, saved it as a Stamp, and located the file. I then added the 3 text fields I need. I am just not sure where to even begin with how to write the code in Acrobat DC. The text fields are titled Text1, Text 2, and Text 3. The outline of the stamp is simpleUser: Text1 (I need to be able to type in various initials)Amount: Text2 (Just need to be free form to type in either a percentage or $ amount)Sent: Text3 (Just need to write a name of whoever I sent it to)Any assistance is greatly appreciated. Thank you!
I have a form with a StartTime and EndTime field formatted like HH:MM , and a TotalHours field formatted like (Number, 2 decimal places, separator style 1234.56). In that field I would like to display result of time calculation.I'm expecting to get such result:StartTimeEndTimeTotal Hours9:1510:301:158:3011:152:4510:0511:301:25Please help with JavaScript code. Thanks.
Hello,Is it any way to convert DWG-files (AutoCAD) to PDF in Black & White? Is it possible in the latest Acrobat version?In Windows Explorer, its possible to right-click and "Convert to Adobe PDF" on one or more DEG-files. But it's in color, and I can't figure out how to make it in Black & White like we need to have it.I'm working with AutoCAD LT 2015, but this issue is for non-AutoCAD users. I have tried to to set the locations for "Plot Configuration" and "Plot Style Table" like my AutoCAD, in Configuration Preferences for DGW-document, without any luck. Actually Adobe crashes when I do so.Thanks in advance.
For the first time my Adobe Acrobat X Pro does not open "Fatal Error" "Acrobat failed to connect to a DDE server" means? what I do?
Hello Adobe users,I have a question regarding automatic naming of fields. The PDF file has for example 100 fields. Is there a JavaScript to name them 1 , 2 , 3 , 4 etc?Kind Regards,Baran
I would like to step through the fields in a form (similar to VB's "For Each Field in Felds").......but I am confined to a C environment. I created an ActiveX controller for Adobe and for AFORMAUT. The code below works.......I just need to figure what to put in the "For" loop to step through the list of fields.....any suggestions? The ActiveX controller does not provide a lot of help......//Open Acrobat, Open File, Show AcrobatAcrobat_NewCAcroApp (NULL, 1, LOCALE_NEUTRAL, 0, &acroHandle);AFORMAUTLib_NewIAFormApp (NULL, 1, LOCALE_NEUTRAL, 0, &formHandle);Acrobat_NewCAcroAVDoc (NULL, 1, LOCALE_NEUTRAL, 0, &avHandle);Acrobat_CAcroAVDocOpen (avHandle, NULL, datasheetPath, "TEMP OPEN", NULL);Acrobat_CAcroAppShow (acroHandle, NULL, NULL);//Get Form Fields, Count, Get Value, IsReq, IsHidden, IsReadOnly, TypeAFORMAUTLib_IAFormAppGetFields (formHandle, NULL, &axHandle);AFORMAUTLib_IFieldsGetCount (axHandle, NULL, &fieldCount);AFORMAUTLib_IFieldsGetItem (axHandle, NULL, "UUTP
Hi,There is an issue with my javascript but having trouble identifying it. The script is supposed to find and highlight words I want to react, but must skip over anything that is already marked with overlaytext.This is what I have done so far ...- Using the "Actions" feature in Adobe I use the "Search & Remove" dialog to search for words I want to redact.- I then run the below JavaScript to highlight the words found in yellowvar colHilite = ["CMYK",0,0, 1, 0]; // yellowvar oDoc = event.target;var aAnnts = oDoc.getAnnots({sortBy:"Author"});for(var i=0;i<aAnnts.length;i++){ if (aAnnts.type == "Redact") { if ((overlayText
Hello, I want to implement plug-in for font embedding. Is there any method to call font embedding from preflight through coding using Acrobat SDK. Please help me.Thanks,Sowbhagya
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.