Questions
Recently active
Hi, i'm using bellow code to generate new paragraph. my issue is currant Multiline text field line space is 1 line but i want to change it to 1.5 line space. i have tried "Ctrl+E" option but it didn't work. hope someone can help me. thanks.. // Get field valuesvar Chaparral = getField('Chaparral').value;// Build full_name stringvar full_name = "I have put together this outline proposal for " + Chaparral + " and DeVries International, based on previous working knowledge of " + Chaparral + ". As such it is purely a draft proposal designed to show how Clear Commercial Solutions could assist " + Chaparral + " in gaining increased market share and appointing new dealerships globally, to support network growth, brand awareness, global sales and revenues.";// Set this field's value equal to full_nameevent.value = full_name;
Good evening, I am trying to find an efficient way to compare the form field values from two different documents... is there an easy way to do this?Both documents are the same, but the idea is to check for any possible changes made to one of the documents. Any help would be wonderful, thank you!
For the last few days I've been looking into stamps. I've successfully created both types so far. But, what I was, stamps were tamper proof. I found out they are not. In Acrobat Pro X and also, in all the Readers. You can't flatten them in the Reader so if you give your doc to someone that has and is versed in Acrobat they can delete the stamp and create their own stamp which looks exactly like mine. Even if flattening was possible you can use the Edit Object tool to select it and delete it then create your own counterfeit stamp and modify the doc. It's a little disappointing because I don't like people having access to my projects. Give someone your doc with containing some stamps and if they choose, in the Reader they can delete all the stamps under the Comments List. My question is - How do you experts keep your docs a bit more secure?
Looking to make it so that after a user opens a document after a specified number of times that the document expires and they can't open it again.
I am trying to create a pdf with several different functions. 1. I need to calculate the difference in dates to find how many years someone has worked with the company as of April 1, 2019. Second, I need to add the time they will work if they start at 8 am and finish at 5 pm. Third, I need to have a box that needs to read a percentage based on a value inputted into another box (i.e. If a = 15, then b = 45%; if a = 21, b = 50%, etc.). Lastly, I need boxes to read 1% if a "yes" box is checked. I've tried javascript on my own but I am doing something wrong. Can someone please simply tell me how to do this, where to insert my fields, etc.? Nothing I have done has worked. Thanks!
I've been into creating stamps lately. I have successfully created custom stamps which were easy. They're just construction symbols. Easy. But, now I would like to create a stamp that would enable me to have a fillable legend. As with many blue prints there's usually a legend table. But, sometimes not. This is what I'd like to have added to my pdfs when needed. A stamp that would have four to five fields that I could enter data such as job name, address, type of job, etc then flatten and save. I've been reading articles and I also know there's a book out there specializing in stamps. I've done some research and I'm still not getting a clear understanding as to what can be done. At this point I'm just wanting to know if I can create a stamp like what I've described. If you know if it is or not possible, please let me know. Thanks.
I have several checklists in a drop down. Each checklist requires different items to be checked off. How do I make the form fields change to what is required based on the checklist selection in the drop down?
I have a pdf doc that when the user clicks a button, the document scales and scrolls both vertically and horizontally to a certain point inside the pdf. I need to get the user's Preference>Page Display> Resolution to ensure the user is navigated to the correct point in the pdf. How do i get that property using Javascript?
I am looking for some code, when you open the PDF file you see the username in a texrfield.Thanks
I am attaching an image of a portion of a log page. As you see, there are multiple (six) identical records - each has a date field.I need to do two things: 1) Assure that the date being entered does not predate the date field in the previous record, and 2)verify that there is indeed a date in the date field of the previous record (avoid skipping records). Here is some code I have tried, but I cannot get the if condition to work:Please share your thoughts.//THIS VALIDATES THE DATE ENTEREDvar cMsg = "The date you entered is invalid.\n\nPlease enter a date that does not pre-date the previous entry date.";var nIcon = 0;var nType = 0;var cTitle = "DATE ERROR";var str = event.target.name;var res = str.charAt(str.length-1);var d1 = Date.parse(this.getField("0." + (res-1)).value);var d2 = Date.parse(event.value);if (d1 == 0) {if (d1 > d2) {app.beep();app.alert(cMsg, nIcon, nType, cTitle);event.value = "";}} else {var cMsg = "This is an invalid entry\n\nThe previous date entry cannot be empt
Good evening, my coworker, and I, are trying to find the fastest way to extract all the text from a flat text PDF, and using the text for the rest of our program.Currently, we are able to extract all the text, but Acrobat seems to want to be slow... our program was initially very fast at extracting all of the text, but we think Adobe might have made an update which made extracting text take longer?Any help or advice would be greatly appreciated!
My goal is to create an automated Save As function (utilizing a button or something on the document) that will save the document to the same location as the original file, as well as rename the file by reading certain fields on the document. An example of what I would want the save file to look like would be:LastName.FirstName.IDnumber.ReasonForVisitThe last name, first name, and ID number are text fields that would have those obvious details entered and the reason for visit would be one (or multiple) of various check boxes that would have an export value. I wanted to know if it is possible to do something like this, as well as putting a "." between each of the details to make it easier for sorting/searching purposes. I know this would include a folder level script, I also wanted to know if there is a file level script needed or if the call script would only be attached to the button created. I would also like it to prompt the user if there is already a file with the same name (to over
Hello all I am need to using Acrobat for calculations and I am look for some help with an if statement this is what I am trying to do I have an input box and I need to take what ever is put into that box and calculate and show that in the secound box, but I need it to not show anything in the second box if nothing is put in the first box. I hope this makes sense, this is the jave script I have and the calculation works but it will still do a calculation in no number is in the first boxthese are the 2 boxes in the calculation I have this scriptevent.value=((-(+this.getField("Input").value/3-6000)*(1.052-0.7778)/100))Any help would be great and thanks in advance
Hello,I'm trying to create a script which will calculate the proportional percentage of a numerical entry sectioned by date. For example:Date%Adj. %Total2/1/195%100%52/2/195%100%5Date%Adj. %Total2/15/19511.11%451022.22%3066.66%2/18/19675%8225%So, the "Adj. %" values associated with each "parent" "Date" value should equal to 100% when added together. My issue is that my script doesn't seem to iterate properly and I end up with strange "Adj. %" values that do not reflect the respective "Date" and "%" field value entries. I included a link to a pdf, which includes the script I'm having issues with: https://docdro.id/TDcy6RX I'm going crazy over this, any help will be highly appreciated!
Hello all,I'm an intermediate macro-writer but most of my experience has been in vB in Excel, so JS is a bit unfamiliar to me. Apologies if I'm missing something obvious, and any help is appreciated. The task I'm wanting to complete is:Identify Scope (Multiple 1-page, identically arranged PDFs)Open First FilePrompt User to draw a Redact Area around some coordinatesApply RedactionsLoop through the remaining documents, applying redaction to the same area.So far I've been trying to stitch together a few tutorials/pieces of sample code but I'm getting stuck a lot earlier in the process than I expected, hence my reaching out. The code I'm working with is from the below:https://acrobatusers.com/tutorials/auto_redaction_with_javascript https://acrobatusers.com/tutorials/apply_security_with_js https://acrobatusers.com/tutorials/folder_level_scripts But I can't even get the first pieces of sample code to run exactly as-is on the sample file provided. For the below:// Part 1: Quads for the diffe
I have an extensive script, DoSummary(), which when called from a Mouse Down event works fine - all fields are updated as expected. However, when the function is called from the custom validation script from any of my form's text fields and drop-downs, the fields to be updated by DoSummary() are not changed - instead, they change AFTER another change is made to one of the fields. I have checked and enabled all of the 'Commit Selected Value Immediately' for the drop-downs, but no help. Basically, the Summary Page of this document is constructed by DoSummary() using a loop (for six identical records). All non-empty or non-blank fields are counted, with some being summed and averaged. Again, if DoSummary() is called from a mouse up event of a button, all is fine. But, when calling the same function from the validate's custom script, the behavior delayed. I hope this is explicit and detailed enough. If there is other information needed, please post.Thank you,
Hello everyone, I have about 400 page pdfs. I need to delete (20, 21, 100, 150, 300.... pages) some random pages. Page numbers to be deleted are listed in excel. Can I delete those pages with one shot using any script. Or can I delete those pages using bookmark which is one character lengthier than the others. i.e the page need to be deleted having bookmark one additional character comparing to pages which need to retain. Using the bkm length or using the list in excel... any way it is good to me.
I want to pull a value from a field and perform calculations on it but if the field contains any non-numeric characters I want it to do nothing.
I read the SDK Help where I found that I can view and modify pdf files in a custom pdf viewer which I need to create on my website using javaScript, but I really can't find any complete example to show me how?what I need is to make custom viewermay be I will need to merge of split some pdf filesI found SDK articles like this one Acrobat DC SDK Documentation ..I need to really implement my own pdf viewer in my website.
I have a VBScript file that iterates through a designated folder. My end goal is to check for files over 25MB and use Acrobat 9's "Optimize scanned file" feature to make them smaller.Unfortunately, I do not know the command or function within Acrobat's API in order to make this happen. What commands can I use to automate the process of optimizing scanned files?This is a VBScript file running on a local computer with Acrobat 9 installed. I have tried looking through Acrobat 9's API documentation but cannot seem to find an answer.My code so far:Const PDF_FOLDER = "Z:\ARM\temp\" Set gAcro = CreateObject("AcroExch.App") Set newPD = CreateObject("AcroExch.PDDoc") Set newAV = CreateObject("AcroExch.AVDoc") Set fso = CreateObject("Scripting.FileSystemObject") Set oFolder = fso.GetFolder(PDF_FOLDER).Files For Each fileObj In oFolder If fileObj.size/1000000 > 25 Then newAV.Open PDF_FOLDER &
Hello,I am facing strange problem across all PDF Forms which i make via javascript.The number fields instead of getting sum it gets concanated.Please watch the below video to get clear picture of what is the problem.Dropbox - concatenation problem.avi basically i had to get the average of the number of fields filled by user......The following is the script i used:var counter = 0;for (i=11; i<=20; i++) { if (/^\s*$/.test(this.getField(i).valueAsString)==true) counter++;} if (counter>0) { var total = counter;} else total = "";var v2 = 10 - total; // to get the number of filled filedsvar v1 = this.getField("11").value + this.getField("12").value + this.getField("13").value + this.getField("14").value + this.getField("15").value + this.getField("16").value + this.getField("17").value + this.getField("18").value + this.getField("19").value + this.getField("20").value; // sum of all the fieldsevent.value = v2 !==
When using text to speech on the Mac with Adobe Acrobat Pro DC or Adobe Acrobat Reader, I run it through OCR first so it is no longer an image than highlighted the text and use the text to speech key command shortly following that the PDF says "processing of this document has been canceled". This there anything I can do to fix this? I'm using a PDF Journal Articles found online for a college paper and I am blind/visually impaired so figuring out how to fix this is highly important. I am considering purchasing Adobe Acrobat Pro DC for my MacBook Pro but currently use it at school. I figured I would get used to it before I make the big purchase. Any suggestions would be highly appreciated.Thank you for your time.
Hi,I'm new to javascript so please excuse me. I am trying to clear image fields on a document. Currently, the user can include an image but if they want to change it they can only replace it, they can't delete it.I have tried three scripts below -- in both the image properties box and in a separate button --- and nothing words. I can get the scripts to clear text fields but not the image fields.1. if (xfa.event.shift){this.rawValue = null;}2,if {this.resetForm(["imageField1"]);}3.ImageField.rawValue = null;Can anyone tell me what I'm doing wrong?Thanks for any help.Joanne
Hello all, it's been awhile. I use to have this add on tool that allowed me to select the fields and annotations I wanted to flatten and would leave the rest of the fields alone and fillable. I don't have that Mac any longer but do have Acrobat X Pro on this used Mac I just picked up. I don't remember where I got it from, but I do remember it didn't cost anything. Would anyone know what I'm referring to? And, where I can download it again? I tried Thom's @ pdfscripting.com already but that's not it. This one has quite a few option selections in the interface. What I remember it came with these check boxes and asked you which fields and/or annotations to flatten. If you know would you kindly let me know. Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.