Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
I'm a total novice using Adobe Javascript and I'm trying to split a large pdf with invoices into separate invoice files which are all named by the unique invoice number. On each page the invoice number comes directly after the the words "Invoice No." and is just a 6 digit number, however the words "Invoice No." do not appear at the same word count on each page. So I am confused about using getnthword as it differs all the time. Can anyone help me with a script for this?
Hi!I'm using Acrobat DC Pro. I want to spell check a folder of documents one by one using Javascript. I want a dialog box to pop up only if there is a spelling error in a file. I only want the dialog for when there are errors. I want to be able to correct the error via the dialog box. After I correct the error, I want the spell checking to continue until the end of the folder.Alternatively: I want a javascript program to spell check a folder a file at a time and to copy only the files that have an spelling error to a temporary folder.thanks!@ !
I want to make B's image size on document the same as A's size.A and B use the same image.A: Acrobat tool [Edit PDF] -> [Add Image]B: Read file in plugin -> Extract image data from file -> Create PDEImage in Acrobat SDK -> Add to documentSo, please tell me the following.1. How is the information of the image(size and resolution) related to the size on the document (the value of a and dof ASFixedMatrix)?2. If there are elements that influence the size on the document in addition to the image size and resolution, I would like you to tell me something.
I have created a PDF form with fields that update every time a value is entered in other fields. This works for the majority of users, but for some it doesn't.Example:Two Macs, both with Adobe Acrobat Reader DC. All settings regarding Forms and Javascripts are equal. Both running macOS 10.13.3. On one of them the code won't execute.Regards,Arve Fretheim
I have a FRENCH fillable form, weather the person enters English 1.50 or 1,50 (comma French formatting), when they tab or enter the field the result should be a comma for French. Is there a way the result will be 1,50 whether it is entered as a period or comma? Currently I have these scripts below if entering a period for English it will convert to comma for FRENCH but when entered as a comma the field becomes blank. I need to be able to enter either/or in this field and have it convert to comma for FRENCH. Custom format scriptif (event.value !=="" && !isNaN(event.value)){event.value = util.printf("%,3.2f",event.value*100);}else{event.value = "";} But nothing in the Custom keystroke script. Validate tab, Run custom validate scriptif (event.value !== "") {event.value = event.value / 100 ;}if (event.value>1||event.value<0){event.value="";app.alert("L’entrée doit être entre 0 et 100")} Thank you in advance! http://
I have some pdf content embed on my website...and i want to disable copy event on that content...so that reader can only read that content but cant able to copy that content..is there any way???
Hi,I am trying to make a form that will be sent to a lot of different people, and would like people to be able to write or draw their signature regardless of what PDF editor they are using. It seems like the current digital signature system wants me to send PDF's to specific people and specify that they will be signing it via their email. Is there a way to create a form-field that allows whoever is using the PDF at the time to put in their signature, either by drawing it or importing an image to an empty field? Specifically for drawing a signature, is there a way that I could create a temporary canvas that people would draw their signature into, and then have it display in the signature field on the PDF?Thanks so much in advance!
Combo box One: has 8 options.Based on their choice, in combo/list box two they can have up to 11 optionsBased on choice in box two, in the third, they can have up to 8 options.is there a way to do this using if/then scripting? I am really familiar with Acrobat and forms but as you can see, I am not knowledgeable in this area 😉 For example:Person A chooses item two in the first combo box,based on that choice the second combo box give specific choices related to item twoBase on that choice, specific items show in the third combo box.I'm not sure if this is even the best method to achieve this fillable electronic form, for engineers. But I'd really like them to use something other than Excel for submitting forms!! Any help / ideas / suggestions would be appreciated.Thank you!!@
Hi,I'm looking to process adding watermarks. Adding watermark to one PDF at a time is time consuming, so I'm looking to create a "Droplet" that automatically add the Watermark in bulk via Drag and Drop onto a Droplet.This similar feature is on other programs as well, and I want to specify that I'm not looking for any user input. I don't want to automate through a batch process, I don't want to create and action through action wizard and run the action.I want this icon , and a simple drag-drop done. Files saved in a preset location. Simple.Is this possible?I know how to create the Pre-Flight Droplet but nowhere does is allow Adding Watermarks as part of the pre-flight process. I need help ASAP, please be constructive.Thanks,
Looking for information on how to use JavaScript with form fields create from a form template. I don't know how to get the form field names as they change when they are create from a template.Thanks
James Farlow Apr 2, 2018 5:52 AM (in response to try67) Thanks Try67, your last post help a lot. I have one more question. Keep in mind that this template page can appear on any page. I have a button "P3.CA PG 1 TEMP.addRCCode" that call this function "addRCCode". The function pulls the value from this field "RCCodeMenu" and puts it in this field "RCCodeText". Is there a way to call these fields using just the last part of
I'm building a form which populates the date fields for Monday through Saturday from the Sunday field "WENDING". The following custom calculation script is for the Saturday date field, but shows a "SyntaxError: missing ) after argument list". var dayMs = 86400000;event.value = util.printd("mm/dd/yyyy", util.scand("mm/dd/yyyy, this.getField("WENDING").valueAsString).getTime() - dayMs);
Bonjour,Je en train de réaliser un formulaire dans lequel j'ai besoin de calculer les tranches d'imposition.Dans ce formulaire je souhaite afficher la tranches d'imposition suivant le résultat du calcul de revenus imposable.J'ai déjà le résultat de mon calcul imposable dans un champ cachée nommé " RevImp "Suivant le résultat obtenu dans le champ " RevImp " je doit afficher ceci dans un nouveau champ visible :Mon résultat est inférieur à 9807 € j'affiche 0%Mon résultat est compris entre 9807€ et 27086€ j'affiche 14%Mon résultat est compris entre 37086€ et 72617€ j'affiche 30%Mon résultat est compris entre 72617€ et 153783€ j'affiche 41%Mon résultat est supérieur à 153783€ j'affiche 45%J'ai cherché des solutions avec javascript, mais mes connaissances en la matière atteigne leur limite et je ne trouve rien sur le net qui pourrais m'aider.Pouvez-vous m'aider à trouver une solution ?Merci par avance.
I have a pdf where the user enters info and the last page does all the calculation. The calculation is done in the fields, it involves averages. It is slow because each time any information is entered all the fields on the last page recalulates. I would like to switch off recalculation on that page until the user clicks a "calculate" button. Is that possible?Or even if I could switch off refresh for the entire document until a button is clicked.I found this code but I am not sure where to put it or how to make it work. Can anyone help?Thanks in advance{ this.delay = true;}{ this.delay = false;}
I would like a text box to automatically populate with a single letter refering to what was chosen in a dropdown menu ? how do i code this please?drop down text boxheli 1 aheli 2 bheli 3 cheli 4 d
Hi I am completely new to Acrobat SDK. I am trying to fill PDF form from An Excel Macro. Windows 7, Excel 2013 and Acrobat XI Pro are currently used.I have added the AFormAut and Acrobat type library in preferences. My code included these Set AcrobatApplication = CreateObject("AcroExch.App") Set AcrobatDocument = CreateObject("AcroExch.AVDoc") If AcrobatDocument.Open("....", "") Then Set AcroForm = CreateObject("AFormAut.App") Set Fields = AcroForm.Fields ' ERROR HAPPENS End IfThe error was always reported at the AcroForm.Fields line.I have tried all kinds of AcrobatApplication.Show Hide AcrobatDocument.Maximize(1) BringToFront as suggested by some old threads but none worked. I can really use some help! Thanks ahead!
Hi,I've got a single checkbox assigned to the field EnableFullScreen. The JavaScript action that handles the checkbox is as follows: if(EnableFullScreen.isBoxChecked(0) == true) app.fs.isFullScreen = true; else app.fs.isFullScreen = false;The above code is executed on a Mouse Down event. When the checkbox is set, I want my PDF to be fullscreen. When the checkbox is not set, I don't want my PDF to be fullscreen.The code above is doing the opposite of this. Not checked = fullscreen, checked = not fullscreen.It is behaving like, when I evaluate isBoxChecked(0), the checkbox isn't actually checked yet. Hence, my question about when setting a checkbox actually takes effect relative to the code which is executed in response to the Mouse Down event. If I check a checkbox, should isBoxChecked(0) already be true when
HelloHow can I save a PDF FILE using a command like Save AS PDF File with reducing size in C# ?Thanks
Hi, When I run a custom action on a batch of files that includes a Word document, Adobe will convert the Workd document into a temporary PDF file then run the action on that file. Is there a way to get Adobe to simply skip any document that is not a PDF when running an action on a batch of files?Thank you!
I would really appreciate some help with a formula conversion for excel to java please!i have to work out a vat amount based on two cells-c1 is a free typed cell, d1 is auto populated with the amount of the percentage based on c1 so:=(c1*d1)/100i can’t get the fudging thing to work though and even though it is probably really simple - I can’t figure it out!!!please could someone offer some advice?cheers!
I have a format custom script.if (event.value !=="" && !isNaN(event.value)){event.value = util.printf("%.2f",event.value*100);}else{event.value = "";}and a custom validation script........if (event.value !== "") {event.value = event.value / 100 ;}if (event.value>1||event.value<0){event.value="";app.alert("L’entrée doit être entre 0 et 100")}I need my Percentage field to read 1,50 % (French)Currently it reads 1.50 % (English) Any help would be appreciated.
I am developing an entry form. There are four options per entry line. If two of the four options are selected, there is an entry discount. What is the best way to calculate the discount?For example: the options are A, B, C, D. A & B export a value of 7, C & D export a value of 3. If A AND B are selected, then they should be 6.5 or:If A OR B, then SUM (A+B+C+D);If A AND B, then SUM (A+B+C+D-1)
I have created a button to add a page using a template, but it is adding the page at the end.I need the page to be added right away behind the previous page and need the page numbering in the footer to be right, which is not when the new page is added.I am not good with javascript. Can someone help me with the coding?
Hello, I have a form with some drop downs for T-Shirt sizes and Quantities. I need help figuring out how to calculate the Total Payroll Deduction as seen below. Basically need a calculation script for both Short Sleeve and Long Sleeve:Short Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL) Long Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL)Any help is greatly appreciated.
The License Transfer form requires a Case Number. I followed the link in the form to obtain one and am getting run in circles.Any assistance/link would be appreciated ... shouldn't be that tough; especially, if it is a requirement for transfer. Thanks!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.