Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
hi does anyone know the function to get platename colours used in pdf to show in an alert box?
Hello. I'm a beginner in javascript, and I have adobe acrobat X pro.I want to be able to search for a specific string within the pdf, and then save the sequence of numbers that come after that string for my file name. Then I would want to check if the following pages have that same exact sequence of numbers, and if there are then I want to extract all the pages with that certain number sequence into one pdf. However, I want to be able to keep looking for new number sequences after I have finished extracting the pages with the first number sequence. For example, page 1 NO: 0158Kpage 2 NO: 0158Kpage 3 NO: 0158Kpage 4 NO: 9090Vpage 5 NO: 223Mpage 6 NO: 223MUsing this example, pages 1, 2, and 3 would be extracted into one pdf together. Page 4 would be extracted by itself, and pages 5 and 6 would be extracted into one pdf.I kind of have an idea of how to do this, but I'm not quite sur
Hi,I have some Excel 2010 VBA code that’s been working quite well with Acrobat XI Pro.But when I run it on a PC with Acrobat 2017 Pro, the same code crashes, right at the first step, creating the App.Rather then post the entire spreadsheet here, this excerpt illustrates the problem. The code runs in Workbook_Open()'-----Option ExplicitPrivate Sub Workbook_Open() Dim OkCan As Integer Dim AcroApp As Acrobat.CAcroApp OkCan = MsgBox("About to run Set AcroApp = CreateObject(""AcroExch.App"")", vbOKCancel) If OkCan = vbCancel Then Exit Sub Set AcroApp = CreateObject("AcroExch.App") MsgBox ("Done") Set AcroApp = NothingEnd Sub'-----XI Pro, this works.2017 Pro, crashes on Set AcroApp = CreateObject("AcroExch.App")Run-time error '-2147467259 (80004005)'Automation errorUnspecified errorReferences are set correctly, both PC's.Excel 2010 on both PC's
Hello,I want to:1. Count text fields with specific color using JS (text fields are created manually with Adobe).2. Insert into them their respective number or string (like SOMETHINGX, SOMETHINGX+1 and so on).a) clean all fields before step 23. Change color of each text box (without mundane, manual work) of each box.Are these magic tricks possible?Cheers
Please help and would be greatly appreciated. I have a form that I input a value from 1 to 9. value input can be 1, 1-2, 2, 2-3, 3, 3-4, 4, so on up to 8-9, 9.when the value is inputted (from 1 to 9) , can I make a form that automatically puts a check mark on the appropriate check box? I have three check mark box which are mild, moderate and severe.to clarify here is example:in the text box type in 3 and the mild check box will get checked automatically. if value is updated to 8-9 "severe" check mark box will be checked.THANK YOU SO MUCH for your help.
I bought it about six months ago, and I purchased a new mac recently. But I can not find the download page for Adobe Acrobat Pro 12. All I can find is Acrobat DC, and I can not use my serial number to active it. So can anyone give a link to download Acrobat Pro 12? Thanks.
HiI am working on 40 pages Livecycle form and on the last page, I have section called "Office Use Only" where the user should not do anything with that page beneath to that section having a text field where we want to enter the password, if we enter the password, two checkboxes (work like radio button) will be visible "PageCheckbox" and "SectionCheckbox" and also with the "Extract" button and this to extract the forms by pages wise or section wise after checking the checkbox based on the selection Section headings will be visible and we will click extract button to extract the pages either page wise or section wise.And code which we used was working fine and we sent to the user after getting the pdf with data filled by user, we got surprised that without entering the password in "Office Use Only" section the checkboxes and extract button are visible.We have restricted the document so, they can only enter the values in the fields or they can take prints and they can't even open th
Here's a code I somehow manage to get. The only problem is It won't work unless all variables have a number in the field. How can I make a variable thinks it's zero when I don't fill in the field? var v1 = 0; var v2 = getField("MRow1").value; var v3 = getField("TRow1").value; var v4 = getField("WRow1").value; var v5 = getField("TRow1_2").value; var v6 = getField("FRow1").value; var v7 = getField("SRow1_2").value; var v8 = getField("RegRow1").value; var v9 = getField("OverRow1").value; var v10 = getField("SRow1").value; event.value = (v1 + v10 + v2 + v3 + v4 + v5 + v6 + v7) - v9;
I am using the chevron (>) symbol to provide a path for the user to access a window in the application, for example.Select Admin > Preferences > Practice to access the COB window. Is there a way to translate the chevron symbol (>) to a word for example:Select Admin and then Preferences and then PracticeORSelect Admin chevron Preferences chevron PracticeIs there a javascript or a wizard that we could run to activate words for symbols?
Hello, my question is how to check one string in one field for example:if in fill_20 the string is "Sofia" or SOFIA or sOfia or all combinations with lowercase letters and uppercase letters and so..If fill_20 is with content=Sofia and all combination with lowercase and uppercase letters then in fill_30 write value 100 if the string is different than Sofia then in fill_30 write 80?
Bonjour,Sur la base d'un document word, j'ai créé un formulaire interactif, qui contient des boutons radio également, avec un publipostage/fusion via un fichier Excel enregistré en txt.Je parviens à obtenir les premiers éléments du 1er enregistrement en faisant.formulaires . autres options de formulaire . importer des donnéesJe me suppose que je dois ajouter un javascript dans "assistant action" pour lancer l'ensemble du publipostage mais je ne le trouve pas sur le net.Pouvez-vous m'éclairer svp ?D'avance merci pour vos retours avisés.
Acrobat DC on PC or mac. I am adding an annotation to a page via a Custom Command. The text color, size, and alignment all are working. However, the typeface is always Helvetica. I have tried font.Times , font.Cour, "Times", "Courier" as the argument after textFont: Any suggestions?var annot = this.addAnnot({ page: msgOnThisPage, type: "FreeText", rect: [36,36, 612-36,72], textFont: font.Times, strokeColor: color.white}); spans[0] = new Object();spans[0].text = theMessage[0];spans[0].textColor = color.black;spans[0].textSize = 14;spans[0].fill = "invisible"; // no background colorspans[0].alignment = "center";annot.richContents = spans;
I have no prior experience in Adobe Script and need help solving an overtime issue. I have found how to add the bottom row easy enough. Now I need when the Reg Column totals to 40 I would like the time to roll over into the overtime column automatically. Not even sure if this is possible, but if it is, please help. The link below is our time sheet. Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Does Acrobat SDK support support effective time control functions
I need to set a drop-down value based on the user ticking one of two tick boxes. How do I do this?
Hello,I'm trying to write a script to have one of four check boxes selected based on the value entered into a field. I have pasted a picture of the portion of the PDF that I'm trying to write the script. I want the "Grand Total" field to be the trigger so I put the following code into the custom validation script of this field.this.getField("unqualified").checkThisBox(0, (event.value <="23"));this.getField("marksman").checkThisBox(0, (event.value >="24") || (event.value <=28));this.getField("sharpshooter").checkThisBox(0, (event.value >="29") || (event.value <=35));this.getField("expert").checkThisBox(0, (event.value >="36"));I'm unsure how to write the code for a number range (i.e. 24 - 28; 29 - 35) therefore multiple check boxes are selected using my code. I need only one check box selected based on the "Grand Total" field.
Hello,how to check the date in this format dd/mm/yyyy in one field in adobe form is not less than current date and show app allert if the date is less than current?I read this:How to compare dates in Java? - Stack OverflowBut how can I use it in adobe pdf forms to check the start date is equal to today date, if it is less than today date then show me appalert message.I tried this:today.date = new Date();var sStart = getField("fill_9").valueAsString;dStart = util.scand("dd/mm/yyyy", sStart);if ( new Date() < dStart) { app.alert ( " alert"); } but it doesn't work.
Hello,i read the script on pdf is very bad. But when i run my script at the server is it also bad? second question , when i run my script on the client stay the code in the end-pdf?sorry for my englishthxregardsArthur
Hi guys,I currently have a fillable PDF with a field called 'Total Chargeable Amount'. This is calculated by the sum of 10 other fields, which are all named 'A_1' up to 'A_10'.This works fine using the built in calculation function, but I want the amount to be editable once it has been populated. I believe I need Javascript to make that possible.Can anyone tell me what I should put in the 'Custom calculation script' field to do this?Thanks!Tom
Does anyone know how to get ADOBE ACROBAT PRO DC Win 10 to actually SET UP?'i downloaded ithave a serial no.can't get it to actually start working.keeps getting 'interrupted' while installing.have error message 150410can ANYONE please help me?this has cost me 2 days and NO work is there any other PDF that works?i've had this ADOBE rubbish.
HelloI have a PDF form that has dropdown boxes in a column that has a text box at the bottom that I want to display a total sum based on the letter showing in the dropdown boxes. If an "X" is displayed in the dropdown box, then I want it to be counted and included in the total at the bottom. In the image below there are 4 "X's" displayed in the dropdown boxes and the total at the bottom of the boxes has "4". I want to add a javascript to the "Total Hits" field that automatically adds the number of "X's" displayed in the dropdown boxes. I will do the same thing for each Table (I, II, III, and IV).Can someone please help me with this?
I currently have this script running :var patternEmpty = /^\s*$/;var strMissing = "";if(patternEmpty.test(this.getField("1stpurchaser").value)) strMissing ="1st purchaser"; { // All is ok,submit the dataconsole.println("All form data ok"); }if(strMissing.length){// Got an errorapp.alert("Please complete 1st Purchaser: " +strMissing);}NEED this var cToAddr =" Pcardreceipts@ifas.ufl.edu";var cCCAddr =this.getField("Email").value;var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";this.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr,cSubject: cSubLine,});I want to merge script below into the above script or should it be written as one script and if any recommendations would be appreciated....?var cToAddr =" Pcardreceipts@ifas.ufl.edu";var cCCAddr =this.getField("Email").value;var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";var cBody = " Thank you for funding this purchase.\n" + "We Appreciate your support";this.mailDoc({bUI: true, cTo: cToAddr,
hello I have a signed and blocked pdf that has an attachment but the initial view does not open the window of attachments, I have to send that file to other people, my question is how can I generate a message to say that this file has an attached document?
PC, Windows 10, Adobe Acrobat PRO XIvar patternEmpty = /^\s*$/;var strMissing = "";if(patternEmpty.test(this.getField("1stpurchaser").value)) strMissing ="1st purchaser"; { // All is ok,submit the dataconsole.println("All form data ok"); }if(strMissing.length){// Got an errorapp.alert("Please complete 1st Purchaser: " +strMissing);}this is the script currently in use and is functioning as desired. I want to add an action that when the approver hits the submit button it will cc: the email address entered in the EMAIL field completed by the originator of the form?
Preface: I searched the Google and Adobe forums first, honest. Background: I made the world's coolest dynamic Acrobat JS app/pdf thing for this guy to create and complete dynamic reports using templates and such.Problem: Now I'm working on a web app (html, javascript, php, MySQL -- so far ... I'm willing to learn whatever I need to ... I'm also learning Python) so he and his employees can contribute anywhere/anytime from a desktop browser, phone, or tablet and then compile it into a report. Short-term, I'll create something so they can download some XML or other form data to import into the report -- a supplement to the existing PDF thing I've created. Long-term, I want all the building to be browser-based so they can just export a pretty PDF at the end.Question(s):I'd rather create my own, but is there an existing server-side app that does this? I thought for sure there were, but now I can't find them. My host/server is Linux.Ugh, am I going to need a more expensive dedicated server?I
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.