Unlock the power of Acrobat SDK through our community.
Recente
Hallo an alle,brauche ein "bisschen" Hilfe Wie kann ich mit Acrobat Pro DC (oder alternative Adobe LiveCycle Designer ES4) Textfelder addieren die ein bestimmten Textinhalt haben?Bei einer anderen Textfeld reihe möchte ich Textfelder addieren die ein wert oder Text haben, wenn leer dann nicht zählen.Ich weiß das dies mit Java möglich ist, als Laie weiß ich nur nicht wie Danke für jede Hilfe im VorausNiko
This is for a rpg character sheet, and relates to spells..There are 4 main types..Arcane, Divine, Occult, PrimalAnd there's a list of speeps based on those 4 types.The setup I'm thinking is..1 checkbox for each of the 4 types (So A, D, O, P)I have a drop-down list of all spells by spell typeAll in the same list. So each spell would be titledSomething like....Arcane magic middle.What I want to happen is when the box for say Arcane is checked, the list only shows items with "Arcane"Any help with this is appriciated
Hi,I tried to modify some other script I found, but I really don't understand it well enough to make it work. I am using Adobe Acrobat XI Pro.I am calculating the expiration date of an extended warranty. All dates are entered with the MM DD and YYYY in separate fields, due to the Manufacturer's form.First Date is manually entered, date of original purchase.2nd date is already set up to autofill current date.3rd date is where I need help. I have the MM and the DD as duplicate fields from the first date, this is working fine. I need the "Year_3" field to automatically add 4 years to the YYYY from from the first date's "Year" field. Any help is appreciated.
Hi There!I have a client who has a fillable form PDF that he uses for a combination work order/invoice. Not the most hi-tech but it works for him and he likes it. Currently, the working section of the form has 5 sections, each section is its own field: Part No. / Description / Quantity / Price / AmountThere are 27 rows of these fields. Originally the base form was set up in InDesign and had the rows alternating grey and white (as a static design element)The quantity and price fields, were set us so that when a value is entered, will calculate and place the product in the Amount field.The Amount field has a validation script on it already to keep the field blank when nothing is entered. (otherwise, it shows up as $0 on every line)This is the validation script i used: if(event.value == 0) event.value = "";So - here is my challenge: He wants a change to the form so that this whole section is white, and then where the fields will turn g
Hello,I am working on a new form that requires the input of bank account information. I would like to have 2 fields for the routing and 2 fields for the account number. I want to be able to display a message if the 2nd input does not match the 1st. Just trying to add an additional layer of verification.Optimally Id like to stack the fields and show the verification field on top of the initial field to avoid the old copy and paste, but I am sure there are a few more mechanics invloved in that implementation.Can someone help me with this request? Thanks!JT
Hello,I want to delete an attached file from a pdf using javascript AND Acrobat Reader.I have this javascript copy in the Javacript directory of Acrobat Reader but the attached file is not deleted when the PDF is opened.I don't have any error messages and I'm sure the script is running app.alert("test")Could you help me?Thank you. Thank you.if (app.formsVersion >= 😎 {ImportAutoTXT_BB=app.trustedFunction(function() {app.beginPriv();///// Suppression du fichier txt intégréthis.removeDataObject("fichierTXT");///app.endPriv();})}
I have a 3D model PDF and I made some button functions: switch views, display text labels and rotation tools, etc.The button's tooltips can be displayed before the 3D model has been imported.After importing the 3D model, the button's tooltip disappears.But after I opened the rich media to select objects,My tooltips have not disappeared, and tooltips will appear after that.I tried to reopen or rewrite the program many times.Can't solve this problem.Here is the code for one of my buttons.------------------------------------------------------------------------------------var btn_r= this.addField("btn_r","button",0,[800,476,827,499]);btn_r.userName="right";btn_r.fillColor = color.transparent;btn_r.setAction("MouseUp",'var c = getAnnots3D(0)[0].context3D; \r'+'c.runtime.setView(0,false);\r'+'var camera = c.scene.cameras.getByIndex(0);\r'+'var num = 13; \r'+'camera.position.set(camera.targetPosition.x+num,camera.targetPosition.y,camera.targetPosition.z); \r'+'camera.roll="0";\r'+'this.getFie
Hi,I have succesfully written a script which uses a dynamic stamp to set an "Exhibit 1, 2, 3..." stamp on single PDFs based on the filename (the source files are labeled 001-..., 002-..., etc.). The script uses saveAs() to save the newly stamped files with names P001-....pdf, P002-...pdf in the same folder than the source.I can now run an action which runs the script on multiple files.What I need to do next in the workflow is combine all the newly created, stamped files in a single (optimised) PDF file, which I do manually from Windows Explorer (select - right click - combine, option "reduce file size"). The fact of having a bookmark corresponding to each file is a plus.I would like to further automate this as part of my action (or of a folder level script).Leaving aside the optimisation question (which I understand I could solve by using doc.preflight), I don't understand how I am supposed to use, from the same script or action, the files I have generated in order to combine them. I w
I have 21 computers linked together via a switch. 20 of which will be used as clients and one as a server. Each client will have a pdf form saved to its desktop. (The form can't be saved on the server because connection will be lost between starting and submitting). The form is a worksheet that will be filled out by students. I would like to create a submit button on this form that extracts the data from the pdf and submits it to the server. The server will then process the data (grade) and provide feedback to the student if they passed or failed. The problem is I'm not sure what the best route is to accomplish this.I'm familiar with html, php, and javascript but its been over a decade since I've written any code.I know this will be quit a bit of code but if someone could point me in the right direction of where to start I'd appreciate it. Better yet, if there's a GUI interface that automates such a process that be even better. Thanks in advace!Steps:-extr
Hi, how can I sum up the following values?[A-H]&[J-U]&[W-Z][a-z][I,II, III, IV, V, VI, VII]if (event.value=="A") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; }else if (event.value=="B") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; }else if (event.value=="C") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.
I have been using the "Find, Highlight, and Extract" action.This tool works when I run it on smaller documents, but will usually crash or take a long time on larger documents.For large documents 50k+ pages is there a faster/better way to extract pages with a particular phrase?
I have two fields, field A and field B. Field A needs to be divided by Field B and the answer needs to be rounded up. Example: 2÷5=1How can I code this?var AA = this.getField(“UNITSWEEK”).value;var BB = this.getField(“MAXDAYSWK”).value;if (BB==0) event.value = "";else event.value = Math.ceil (AA / BB);}
Hi would really appreciate advice and expertise on a task I will like to do described below but given that I have very little expertise in Javascript but have Acrobat Pro DC, I am stuck.I have a report that contains multiple reports in a single pdf which I want to split it into individual reports. The cover page of each report has a report number XPD Report - nnn. I want to be able to search for a specific string ("XPD Report") within the pdf, and then save the sequence of numbers that come after that string for my file name ("001","002"...). I would want to extract the cover page and the succeeding pages of the XPD report and include it into one pdf until it finds another unique XPD Report. For example,page 1 XPD Report - 001page 2 page 3 XPD Report - 002page 4 page 5 XPD Report - 003page 6 page 7Using this example, pages 1 and 2 would be extracted into one pdf together. Page 3
They are a main point in forms & applications. I was amazed that I could not find a menu of characters. Heck, I do in Microsoft word!How Pro is Acrobat Pro?[Moved from the general, non-support forum Lounge to a product-specific support forum - Mod]
I have multiple checkboxes that when checked populate a comment box as they should. However, if there are comments already in the box it erases them. Any suggestions on how I keep that from happening? Thanks!
i Have a javascript that can turn the layers i want on. but what i would love to include is script that will turn some other layers off once the layer is toggled on. Here is what i have so far.var docOCGs = this.getOCGs();for (var x=0; x < docOCGs.length; x++){ if(docOCGs.name == "Cadent Trace" || docOCGs.name == "Cadent Trace") { docOCGs.state = !docOCGs.state; }}I am very new to java and am learning the basics at the moment so any help will be much appreciated!thanks, Max
Hi, I like to create an pdf form with acrobat. for this i have a table with different fields. depending on the value entered in p.e field "A" the text of field "A". "textA" an "textB" should colored red, etc. (like in the table below)Headline 1Headline 2Headline 3AtextAtextB1text1text2ItextItextIII have been using the forums to help me answer the question above and I have managed to create the code below, but it's not workingif (event.value=="a") { event.target.textColor = color.red; this.getField("textA").textColor = red; this.getField("textB").textColor = red; }else if (event.value=="b") { event.target.textColor = color.red; { this.getField("textA").textColor = red; this.getField("textB").textColor = red; }else if (event.value>="0") { event.target.textColor = color.blue; { this.getField("textA").textColor = blue; &n
Can we configure a certificate to adobe reader for signing purpose programatically ? (perhaps using Windows batch file, shell-script or official library available from adobe)The certificate needs to be configured (within Adobe Reader) with the "use of signing" usage option.
Can someone tell me if I can modify this code or if I need to use a different one? I'm using this script to formulate different text fields into one text field. It works fine but I'd like to format the text a bit. I'm using Centered (but that doesn't have anything to do with anything). I'd like to be able to double or even triple space in the destination field. When I hit the Return key the text moves down but as soon as I click outside the field the text jumps back up and doesn't allow me to format the lines of text as I would like. Or to even type in additional text into the field. What I did to get around that, is I created an additional text field that I can type into it (see my example script Text31). Here's the script:event.value = this.getField("blank").value + " \n" + this.getField("WeInstall").value +"" + this.getField("TotAllFootage").value +"" + this.getField("Of").value + this.ge
My software makes hundreds of bookmarks in a hierarchy. We want to open the bookmarks bar in a collapsed state showing only the first level bookmarks. Is there a js - app.execMenuItem type command or any other to do this?
Hi all. I'll try to keep it as short as possible.Part1Have a form, where Submit button executes JS for two things:1. ensuring one required CB is ticked before submitting2. extracting email(s) associated to CBs, where each CB export value is an email address, and all CBs have the same nameSubmit button >Mouse Up event > Run JSvar fields2 = ["Check Box1.0"]; var addresses2 = []; for (var i in fields2) { var v = this.getField(fields2).valueAsString; if (v!="Off") addresses2.push(v); } if (addresses2.length<1) app.alert("Select one Check Box.",1);else{var fields = ["email1", " email2", " email3", " email4", " email5", " email6", " email7"]; var addresses = []; for (var i in fields) { var v = this.getField(fields).valueAsString; &nbs
Hello,I'm not a coder and I don't know JS, but I already put some JS in my form to set the date automatically to the date of the day. I'm sure there is a way to set a button to perform the action of using the email address in a textfield of a form and then send a copy of the filled form (flattened would be perfect) to this specific email address.The usual way I'm using, many micro actions, is to click on the textfield, select all, copy, share/open with, share a copy, select Gmail as mail app, paste the email from the textfield in the recipient and send. There is 8 actions, always the same.Could this be performed in one single button with JS, compatible on iPad and/or android Acrobat Reader application ? Thank you !
Hi!I need to add leading symbol * in a numeric field.Numeric field length is 10. If enter 15000,the result will be *****15,000.Please help me out. Thanks!
Who can give me a simply example for using js script to realize create annotation in 3D object in acrobat file? Thank you !
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.