Questions
Recently active
why when i try and go to java script tools , it takes me to suscription page, try and buy again says i already have.
Hi Team,It is possible to get the all Non-Unicode characters from pdf text?, If possible which method should i use.Thanks,Maruthu
On my form I have several numerical fields that must be completed. I checked the "Required" property box, but I don't see any benefit. So I used a "On Blur" script type with the javascript below. This works but the function fires 3 times before the cursor is back in the field for correction. Below is my script.var oal = this.getField("OAL");if (oal.value == 0){app.alert('Must complete Over-All-Length field!');oal.setFocus();}
I want to create a script or find one someone else has written that searches a 30-40 page pdf for specific text, and links to a specific page of another document. For example, the script would search for this text: "CF, pp NNN" (where CF refers to the other document, and NNN refers to the page number in the other document), then the script would add a hyperlink to that specific page number in that other document. Obviously, this can be done without a script by adding separate links, but that can be extremely time-consuming when there's hundreds of links to add. Any thoughts on how to accomplish this?
I have a PDF form set up that when someone opens it, the cursor is set in a specific field. My form has to be signed four times so it's passed around. I'm trying to set it up where each time a part of the form is completed and passed on to the next person, they open the form and the cursor is set up in their part. Here's what I have right now set up in Page Properties Action tab but it's not working:if this.getField("Sig One").value = "";{getField("Date").setFocus();} else if (this.getField("Sig One").value != "" && this.getField("Sig Two") = "";{getField("Sup Name").setFocus();and so on. What am I doing wrong?
I have created a Form with a submit button that sends to different locations based on the result of 1 drop down menu created using Adobe Acrobat Pro DC. The problem I have is that those who will be using this form only have Adobe Reader XI, and when sent to them the submit button fails to work. I have java scripted the button so not sure whether this is where the problem lies. Please assist.
I have a signature field on a form with the name "Signature of Employer or Authorized Person".For some reason, nothing happens when I run the script like this:var f = this.getField("Signature of Employer or Authorized Person);I think it's due to the spaces in between the field name. I can't change the field name through Form Edit mode since I do not own the form.Is there a way to have this field name changed or replaced with a simpler name like "signature1" via JavaScript?
I'm attempting to automate a timely monthly task that involves taking many pdfs (A, B, C, etc), combining into one document, and then sorting the pages. It is the same order every month, but there is no method for how the pages are sorted.For example, the combined document is in the order1: A pg12: A pg 23: A pg 34: A45: B16: B27: B38: C19: D110: D2I need the order to be1: A12: A23: D24: B15: B26: A47: B38: C19: A310: D1The only idea I have is this.movePage(9,2); and so on...but that is rather clumsy and would require a pretty intense set up for the 160 pg document...I'm new to JavaScript and Acrobat, so any advice is greatly appreciated!
FIrst I apologize if Java is not what i need to be doing in this situation. But I own a wheelchair service and we want to go paperless for the drivers. So i created a pdf file ( by the help of google and youtube), and so far its gone well. But now I'm stuck. I have realized there is alot that goes on in PDFs that requires Java Coding. What I am trying to do is this: I have a dropdown box that list our local facilities. Under that i have text boxes for address, city, state, zip. What i would like to do is make it where when they click a facility name that the other info auto populates. But I cant find anything on how to do this or even if its possible. Again I apologize if this is not a Java task but any help Id greatlly appreciate. ThanksTravis
Hi Folks, I know nothing about scripts, but am trying to show a % in a field based on a total in 1 field minus a figure in a 2nd field = the % in the 3rd field. Anybody know if this is achievable?
I want to populate a richtext form field with a formatted string compiled by a vb.net app.Dim pdDoc As New Acrobat.AcroPDDocpdDoc.Open("my.PDF")Dim jso = pdDoc.GetJSObjectDim myFld = jso.getField("MyFld")Dim mySpans = myFld.richValueAssuming that myField.value is "This is MY field", with "MY" in bold, I get back 5 spans: "This is"," ","MY"," ","field", the fontWeight on all is 400 except for "MY" which is 700I change mySpans(2).text from "MY" to "YOUR", and write the spans back:myFld.richVale = mySpansexpecting to see "This is YOUR field", but I don'tAm I missing something here, or can I just not do it this way?Had lots of experience setting value, font and sizes on fields - which I managed to decipher from "JavaScript for Acrobat API Reference", but not this...The examples I've found all refer to Java - nothing for VB (or even C#, which might have helped).Any help much appreciated.ThanksDave
Hi, I have created a dropdown list in a form and i would like to asssociate each item of the list to a specific value that has to be displayed in an other field.Many thanks.
I am getting linker error while building acrobat plugin , do i need to add some lib in input.I already have Headers in include directory and Acrobat DC in installed? Severity Code Description Project File Line Suppression StateError LNK2019 unresolved external symbol "public: static int __cdecl TTC_GLOBAL_UTILS::GetBookmarkPageNum(struct _t_PDDoc *,struct OPAQUE_64_BITS)" (?GetBookmarkPageNum@TTC_GLOBAL_UTILS@@SAHPAU_t_PDDoc@@UOPAQUE_64_BITS@@@Z) referenced in function "void __cdecl DelOldBookmarks(struct OPAQUE_64_BITS,int,struct OPAQUE_64_BITS)" (?DelOldBookmarks@@YAXUOPAQUE_64_BITS@@H0@Z) TTC Plug-In E:\TTC\AddBookmarks.obj 1
What's the AVCommand's name for Optimize Scanned Pages "Scan:OPT" action? I want to call AVCommandNew, but the name for this action is not documented in the SDK. Is there a way how to call it from the plugin? Thanks.
I've detected mistake, or at least I think so, in JavaScript™ for Acrobat® API Reference latest version,page 258 - Doc properties - templates - ExampleList all templates in the document.var t = this.templates for ( var i=0; i < t.length; i++) {var state = (t.hidden) ? "visible" : "hidden" console.println("Template: \"" + t.name + "\", current state: " + state); }" var state = (t.hidden) ? "visible" : "hidden" " here "visible" and "hidden" are mixed up.not much a mistake, but I really got confused.
Hi,I need my total value amount in my form to display two decimal places. At the moment it shows as .00 no matter what numbers I put in.The script I am using is this:(function () { // Get the field values, as numbers var v1 = +getField("ccc").value; var v2 = +getField("ddd").value; if (v1 !== 0) { event.value = v1 * v2 * 220; } else { event.value = ""; } })();Please help! Thanks in advance.
Do you know an instrument which measure the number of symbols into file?
Hello,I'm wondering how to set preferences for saving a Pdf file to Tiff (Eg.: resolution, color mode, etc.)Any suggestions would be much appreciated.Thanks in advance, M.
I have a fillable form that is submitted via email. When I test the received form the submit button is still active in the file that was attached to the email. Is there a script I can add to the submit button that will deactivate the submit button on the file that is emailed? Where would it be placed in the script before var cToAddr = ?Thank you!Kristen
I'm having trouble validating some required fields in an adobe acrobat pdf. I need to have the submit button validate text/radio buttons/check buttons to be filled out prior to emailing. I also have some fields that are entered to generate in the subject line of the email. But the fields highlighted in orange below are not being validated and can be submitted without a value. I copy and pasted from some of the other buttons code found in the form but I'm sure there's a kink in the code somewhere. I need them to be just check boxes and not white. See the code for one of the buttons below. This is my submit button code. var f1 = this.getField("Logic");var f2 = this.getField("Shift");var f3 = this.getField("Item");var f4 = this.getField("Unwind");var f5 = this.getField("Roll QTY");var f6 = this.getField("Time Procedure Completed");var f7 = this.getField("Start Time");var f8 = this.getField("OP I1");var f9 = this.getField("OP I2 ");var f10 = this.getField("OP
Hello,I need help with my java code. I got a form with 3 columns with 160 text fields in each column. They are named A1.0.0-A1.15.9, B1.0.0-B1.15.9, C1.0.0-C1.15.9.What i want to do is take (value of) B1.x.x - C1.x.x and if the difference is more then 1.0 and less then 1.9 i want to give a message to controll that number. So far i got this code: (function calculate() { var fieldNumber = event.target.name.replace("A", ""); var v1 = +this.getField("B"+fieldNumber).value; var v2 = +this.getField("C"+fieldNumber).value; var v3 = v1 - v2;event.value = v3; })()else if ((v3 >= 1.0) && (v3 <= 1.9)) {app.alert = ("controll this");}else {event.value = "";})();I get a syntex error on row 9, what did i miss? My idea is to call on this function in the calculate tab in the A.x.x column. Please help a novice thats trying to learn java
Does anyone have a simple solution to install a date picker please? Either by script or a portable widget?
I can print from every other app!It goes through the in-app process but then it stalls on "Printing - Looking for printer…" in the queue. The printer shows as being "in use" in the preference pane.Please note that, while these are my current configurations, this was happening before I upgraded OS and Acrobat(s):Mac OS El Capitan EPSON WF-3540 (USB connection)Acrobat CC 2015Acrobat Reader DC 2015I look forward to hearing any ideas as to how to remedy this!Thanks!
My form has a set of fields that I'd like the user to determine how many are necessary. Each block of fields is the same.I'm trying to get the 'Add Sequence' button to display the hidden fields below the preceding fields. Currently, my button works to display 1 block of fields, but I'm wondering if it's possible to get the 'Add Sequence' button to display a sequential hidden field each time it's clicked.
Hi,I'm currently working on a project where we fill a report in MS Access, export in PDF (so far everything work), and (this is a this point that we have trouble) we want to add a signature field with a textbox (to allow the user to sign it and make comments), and send the file location by email.I saw on many forum that we can edit a PDF file with VBA code, especially the function "AcroExch.App", only with Adobe Pro. Is that true or we can use it with other version (Reader or Standard)?I'm sorry if this question was already asked, I hope that one of you have the answer.I look forward to your answer,Nick
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.