Questions
Recently active
///Document level Scriptif (event.source.forReal){var stampDialog = CreateDialog(builder);app.execDialog(stampDialog);}function CreateDialog(dialogBuilder){var sd = new Object();sd.builder = dialogBuilder;bChk1:false;bChk2:false;bChk3:false;bChk4:false;stredt1:"";sd.initialize = function(dialog){var init ={"Chk1": this.bChk1,"Chk2": this.bChk2,"Chk3": this.bChk3,"Chk4": this.bChk4,"Name": this.stredt1,};dialog.load(init);};sd.commit = function(dialog){var res = dialog.store();this.bChk1 = res["Chk1"];this.bChk2 = res["Chk2"];this.bChk3 = res["Chk3"];this.bChk4 = res["Chk4"];this.byName = res["Name"];};sd.validate = function(dialog){var res = dialog.store();return true;};sd.description ={name: "Stamp Dialog",elements:[{type: "view",elements:[{type: "view",char_height: 10,elements:[{ type: "static_text", item_id: "stat", name: "WSB Approval", char_width: 15, alignment: "align_fill", font: "dialog" },{type: "view",char_width: 8,char_height: 8,align_children: "align_top",elements:[{type: "
Good morning!I'm trying something new and looking for a little help : )I assigned export values to some drop down selections in my form. The values are not calculating in the score field I set up. The score field has a custom script which uses a copy of the drop down fields arranged in an array. This script works on other forms with number fields validated from 0-4.What could be keeping the export values of the drop down selections from calculating? Could it be the way I'm naming the fields?When I try to change the format of the drop down fields to Number, I get a message saying, "The format does not match one or more values specified in the dropdown list. To change the format for this dropdown, first change the dropdown list values in the Options panel to match this format," although, I have assigned each dropdown selection an export value ranging from 0 to 4. Any suggestions?
Here is my situation.I have created a custom tool button which when pressed will acitvate the dialog.When the info has been entered and the dialog is closed the values saved in the dialog will be written our in a free text annotation.I can create the button.I have created the dialog.I can print out the stored values to the console so I know everything is working as it should be.Now where I am stuck is getting those values to the annotation. I have been reading all the documentation but can't make anything work.If someone could please point me in the right direction on how to access stored variables in the dialog object I would greatly appreciate.The code itself works fine. It's just the skeleton right now. I will beef it up later. just can't figure out how to pass the values to the annotation function. I have tried putting the annotation inside the commit method but that just gave me an error saying it wasn't a function so I tried moving it outside which is where my code stands n
I have a statement which has 4 options and user can only select option from them, For exampleQ: Which fruit is called the king of all from these?a. Appleb. Grapesc. Mangod . PeanutMy Answer: _______When the user will select any one checkbox from above, i want the text field to show that option alphabet in the below text field.Like if he select 'Apple' i want to show the alphabet 'a' at bottom only.Currently, i have given these 4 options checkbox a number value which i am using to calculate marks so as far my knowledge this can only be done by giving the above checkbox value a substitute in the below text field using javascript.Can somebody assist me in this since am not an expert in javascript?Many thanks.
I have a brand new shrink wrapped DVD version of Adobe Acrobat XI pro I installed on a Windows 8.1 (64 bit) desktop machine.Adobe acrobat will not update I get (Error 1328).When I entered the serial number to register the product on Adobe.com, i get a message saying "enter valid serial number."WTF, it is a valid serial number for a product I paid for.What is the problem?
Hello !I'm so sorry, perhaps this is a really stupid question, because I could have found the answer. I'v read so many posts about, but I can't reach what I want.I'm using Acrobat 9 Pro. I want to extract or insert pages with a button in my pdf by using javascript. I know, it's not possible with a trigger in document scripts.So I made a js-file named "insert_page.js" and put it into Adobe's javascript folder (C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Javascripts). The content of the script simply is:function extract_page(){this.addField("Testbutton", "button", 0, [100,100, 150, 80]);this.getField("Testbutton").fillColor=["RGB", 1, 0, 0];this.extractPages(0, 0, "/c/Users/destinationfolder/newPage.pdf");}Writing this in the console: everything works fine !!! Calling from the Button, nothing happens. What ist wrong ? Please help me !!remark: the field is only added for being sure, that the function ist really called by clicking the button. I don't really need it. Interesting is jus
A serious error has been detected and Adobe Acrobat 8.1.0 Standard can not continue. Please re-install the application.
I am setting up a form that has a comments section. The comments section consist of multiple boxes (font size and font set) to ensure the text doesn't change so that it stays over the lines in form design. I want to take the entire text from all box fields and copy to one individual box on a separate page. I am sure this will require script of some sort, can anyone help me to do this? These boxes:to this box:
I created a PDF form, and some fields are required. Once my co-workers fill out the form they must print it and sign it. The problem is, some of them avoid the required fields and go straight to print the form.I was wondering if there's a JavaScript to set the print button to not let users print unless they have fill out the required fields?Or at least get a message warning saying they need to fill out those fields.Thank you
I am attempting to create a fill-in PDF form that is a scorecard. Points values are assigned based on what the user selects from a drop down list. I have the individual points working, however, there are a lot of Syntax Errors. Also, I cannot figure out how to add all the different values together. I have tried simply making the total a calculated field that is simply the sum of the fields picked from the list, but it just shows as zero. I have confirmed the calculation order and the total is listed last, but still no success. Here are a few examples and the javascript used: I have ResidenceStatus as a drop down field with the choices below. This is the javascript from the ResidenceStatusScore field:var ResidenceStatus = this.getField("ResidenceStatus").value;if (ResidenceStatus=="Owns/Buying") event.value = "55";else if (ResidenceStatus=="Rents") event.value = "40";else if (ResidenceStatus=="Other") event.value = "30";else if (ResidenceStatus=
Hello,It's been a little while since I've visited the Adobe forms. Hopefully, everyone is well!Can anyone answer if I can assign values to the selections in a drop down menu? I'd like to provide a visual score in my form with respect to text answers from drop down selections.For example, drop down selections will be text, but I'd like to "assign each selection a value" to be calculated in a field dedicated to a numerical score:Not applicable - assign value of 0Good - assign value of 1Fair - assign value of 2Excellent - assign value of 3A score field will average the answers and provide a percentage based of the text selections the user chooses, but the numerical values will be calculated in the background showing only the score in the dedicated score field.If this is possible, can anyone point me in the direction of finding a script for this specific function?
Hello everybody,I've developed a stamps package for one of your teams on the organization and they've been using it for a while now, a week ago they presented me with their updates.One of this updates is the possibility to adapt the size and proportions of the background to fit the size of the text, instead of the text adapting to the frame the way that I've manage to do.Basically the question is of its possible to modify the size while changing the proportions? is this possible? or what is the closest way I could manage this?Thanks in advance.
Adobe Acrobat Pro DC, updated to the latest subversion.After you open it, it will close within about 30 seconds -- no messages.Looking in the event logs at Windows Logs/Applications, only ones I see regarding Adobe are....The description for Event ID 0 from source Adobe Acrobat cannot be found.The description for Event ID 0 from source AdobeARMservice cannot be found.I've tried uninstalling/re-installing, repair installation, made sure it was completely up-to-date, etc.Windows 7 64-bit
Where can I find the Flatten pages Java script for acrobat 9? All links seem to have failed.
hi, i'm using bellow script with drop down field. what i want to do is, if select "SGD" in drop down, fields "EX" value should be empty. if select any other value in drop down, need to popup message "Please fill exchange rate". ps help me to edit bellow script. thanks in advance. thanks..var sNewSel = event.value;switch (sNewSel) { case "SGD": this.getField("EX").value = "";}
I made a PDF form with Acrobat XI that should show/hide layers using JS depending on if the user checks or unchecks a checkbox.At first sight it worked fine either on Acrobat Pro as well Reader DC.I tested it with Reader X (2010) and it worked but didn't allow me to save the changes -- that make it totally pointless to meMy boss tested it on a different early Reader (don't know the version) and it didn't work at all. In his case the worse part is that it didn't tell that there was something wrong neither ask for an upgrade. It just didn't work.There is a way to control this?
hi, i'm using bellow calculating script & it's working. what i want to do is, if any of field is empty, calculation result field should be empty. pls help me. thanks in advance. thanks..var v1 = Number(this.getField("amt11").value); var v2 = Number(this.getField("EX").value);if (v1==0) event.value = ""; else event.value = v1/v2;
I am new to Java Script and am trying to work out the followingI have a form with radio buttons. And a variety of skills observations. Each observation has been marked as a group with different values 0, 1 or 2 depending on the level.I would like my total box to calculate the number of times the '2' button has been selected and '1' button etc. Help!!!
I`m new here. Can you help me or direct me to the answer. I want concentrate in Adobe Acrobat Pro multiple text field values in one and in that field values are as a list etc.Value1Value2Value3Thank you in advance for your help.
Hello there,I have just purchased a new mac running on OS X El Capitan and noticed that some of my Adobe products have issues or do not transfer properly to this OS platform. I am using "Adobe CS5 Premium" and "Adobe Acrobat 9 Pro" and have come across the 2 following issues thus far:1. Adobe Illustrator CS5 crashes every time I use the eyedropper tool. Any suggestions on how to fix this issue? Not sure yet what other issues I will encounter as I have yet to test all the software included in the CS5 Premium package.2. Also, when I bought the "Adobe CS5 Premium" package for use with Design/Web, it included "Adobe Acrobat 9 Pro", for which I also have the product serial number (shown as registered in my Adobe account). I downloaded it from the following Adobe downloads site: https://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html and it will not open at all (I realize it is an older version). Any suggestions regarding fixing this or providing me with a link to an upgrade th
Hello everyoneI'd like to insert a PDF as a watermark on odd page numbers in a specific page range of another PDF. My problem with the code below is that the loop doesn't work. The watermark is always inserted on all pages of my target PDF (all 600 pages). Even if I replace the variables with fixed numbers, the watermark appears on all 600 pages.I have to say, that I'm a beginner regarding JavaScript. Here's my code:var nStart = 1;var nEnd = 11;function watermark() { this.addWatermarkFromFile({ cDIPath: "Register_DEU_Layerk_Rand.pdf", nSourcePage: 0,// nStart: 0,// nEnd: 11, nHorizAlign: app.constants.align.right, nVertAlign: 0, })}var p;for (var p = nStart - 1; p <= nEnd; p++) if (p%2==1) { watermark();};Where's the problem?Thanks in advance.
I am trying to create a plugin that redacts words in the same fashion as the ones you are creating manually. But I am having a hard time figuring out how this can be done. I have played around with PDRedactParams and PDApplyRedactionParams but with no luck. It always create the redaction with my "custom" values for color etc.So what I am basically asking is how to programatically create redaction annotations with the same parameters as used in "Properties" for redaction annotations in Acrobat DC?
Could you please go through below points and help me understand how can I proceed further.1) We've Acrobat Adobe Pro tool which is used to convert pdf files of any format(encrypted, protected) into PLAIN readable pdf files. 2) And then we will use these readable pdf files as inputs to our java programs and extract the content from them.3) When I use our JAVA program to extract the content from these kind of encrypted PDF files, we're getting the output text in symbols and non recognized fonts. So I hope if I use your "SDK\Library\jar" while extracting the content from PDF files, I'll get the content in readable text format. Even when I'm copying the content from pdf and pasting in a text file, the same thing is happening, the pasted content will have symbols and non recognized fonts.4) We'd be happy if you can let us know about the SDK\Library\jar which Acrobat Adobe PRO is using to convert these encrypted PDF files into PLAIN PDF files, so that we can use the same library in our
I want to convert a pdf file to a txt file. I don't know if acrobat SDK can be do it ,Which function is used to do it?
Hi,I used the library provided by datalogic(acrobat's) in my Java Program to extract the content from a pdf file, but after extraction, the content has symbols and non understandable fonts. The same program works fine when I extract the content of another pdf file.Can you please let me know how to read the exact content from the pdf file avoiding the symbols and various non understandable fonts.Thanks,Mahesh
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.