Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
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
Hello there,i would like to use the adobe pdf reader com components in my application to show pdf files, which is selled to our customers.So I read a lot about licensing in this forum but my answer is still not clear. So I explain my steps:1. I added a Windows Forms UserControl to my Application, then added Adobe PDF Reader Com-Components to the UserControl. (VS 2017)2. When i perform step 1 , two libraries are automatically added to my project, AcroPDFLib and AxAcroPDFLib.When I Compile my project now, these two dll's are copied to my Debug/Release folder. To Run the Appliaction these Two libraries are needed.I dont't want to deliver Adobe PDF Reader at all, i just want to deliver these two dll's do my customers. If they have Adobe reader installed, fine it will work and pdf files are shown with Adobe Pdf reader, if not installed, a webbrowser control will just offer to download .Pdf files instead of showing them.Is there any need in this case to license it? The two libraries are usel
Hi there I got a fillable pdf created by livecycle designer. Spaces of most textfields are limited to the preset value (i.e., 150 characters). Can I use javascript to set the default font size to 12pt and if the input text exceeds the textfield area, the font size will be automatically set to "auto font size" but not less than 8pt. Is it possible?? I know I can set the font size to auto font size by setting the default font size to "0pt". But in my case, the default font must be 12pt and the minimum is 8pt. Is it possible??Thank in advance
Hi,I am using a template to add pages to a document which works fine. I have some (48) field calculations to check a box if an input value is between a certain range. It works fine on page 1. I know it is not working because the field names in the calculation do not change with the new field names generated with the new page.Here is the script I am using on Page 1:var drop = this.getField.("InputText7");var check = this.getField.("CheckBox1");if(drop.value >= '0' && drop.value <= '0.25'){check.checkThisBox(0,true);}else{check.checkThisBox(0,false);}Is there a way to use this page and a field containing a part of the name in the calculation as going forward the fields on all the pages will contain "InputText7" and "CheckBox1" but with P1 and the name of the template added to it etc.I am using Adobe Acrobat Pro.Thanks in Advance.David.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.