Unlock the power of Acrobat SDK through our community.
Recente
I'm still looking for help with this. One button to undo and one button to redo. Can someone provide a little help with this? I just can't find any javascript that will help me achieve these buttons. I have four text fields (total1, total2, total3, total4) and next to each I want to have the undo button and redo buttons for each total fields. Pretty basic. Like this, check box - click it to undo and if possible, to uncheck it to redo total1 field. And so on for the other three total fields. Or a second check box to redo total1. If you can help, please don't hesitate. Thank you.
Dear Sir/Mam,Can you suggest me how can I multiply the vale which was selected in combo box with a text box ??I have created form of Final Invoice through Adobe pro 9. In that copy I have used the calculation method available to bring the total of amount. Now for calculation of GST(Tax) which may varies from 5% to 18%. So I want to multiply the value of percentage which was selected in combo box with the Total amount mentioned in text box.Regards,NT
Hello All,I was wondering how difficult it would be to write a script that would go through all my bookmarks in the current PDF and mark those bookmarks that are dead and don't lead anywhere in a specific manner? Maybe bold and in red font?We send PDF documents back and forth with clients and between our changes and their's, we often end up with dead bookmarks in the file and I'd like an easy way to identify and resolve those. Any help would be greatly appreciated! THank you!
We receive a daily PDF file from our bank that is not searchable (they are not able to provide in searchable format). In attempting to perform text recognition we receive Acrobat error "could not perform recognition (OCR) because page contains renderable text".As a workaround we copy the original file, convert the copy to TIFF, covert it back to PDF and are then able to perform successful OCR, making file searchable. This is very time consuming. We are performing this on new daily files but also have a backlog of files to address. We are seeking a better solution.
I was wondering, is it possible to use one drop down box to apply a percentage to a specific total field? But, then clicking the same drop down box would then apply a different percentage to a different total field on the second click. At the moment I have one drop down that applies the percentage to two different total fields, at the same time but now I'd like to be able to apply two different percentages from the same drop down. I'm trying to not clutter up the form by using another drop down that would apply the selected percentage. So, I thought it would be possible with a bit of javascript and know how, to use one drop down to select the percentage. Or, I'm always open to suggestions that would work. Thanks, guys.
Hi,Attached you will see a pdf file with some text that is repeated at the top of each page and all my pdf files. What kind of an object is this? Javascript does not recognize it as a field or annotation or header. Is there a way for me to detect this as a header via javascript and therefor skip my pattern matching test on its content .U8_2 _forum.pdf - Google Drive
I am trying to get my text field "Text 2" to populate based on the value in field "Text 1". If "Text 1" is less than 0.75, then "Text 2" should fill with "Not Met." Below is the custom calculation that I am setting up for "Text 2." Can someone tell me what I am doing wrong in my script?var a=this.getField("Text 1").value;var num1=0.75var num2=1.75var num3=2.75if(var a<var num1){event.value=a=="Not Met"?"":a;}Thank you!!
Hi,I have a formula for calculating the %CV of a set of values. The formula is below. The problem is that if you enter another value in one of the "fill" cells and then change it back to the original number you end up with a different calculated value. Also if you delete the contents of the calculated cell and then click or tab out of it the value also changes. Any idea what can be the root cause here?var average = this.getField("Text10").value;var v = 0;var fieldName = "fill"; var s = 0;var sd = 0;n = 6; for (var i = 0; i < n; i++) { v = this.getField(fieldName + i).value; s = s + Math.pow((v - average), 2);}sd = ((Math.sqrt(s / n)) / average); event.value = sd;event.value = util.printf("%.2f", event.value);
Hello,I am currently working with a form that has several check boxes for a mutually exclusive checkboxes for a row series. Based on the check box selected, a corresponding text box will be populated with the applicable data (done using javascript). Also, when a certain option is checked, there are other options down below in the order guide that need to be checked simultaneously. I have accomplished this, but now I cannot figure out how to have check boxes populate simultaneously, but then if I check a different box in one of the previously automated series, that it will uncheck the other check box in the series automatically. I have searched and searched for an answer, but cannot find the solution. Please help!
I've writted some code but it show me this erreur(m_lpDispatch == NULL); : app.exe has trigged a breakpointbut I think that I've do mistake into my code please really I need your help , I want to no how to step
Can anyone provide me with the proper script for converting the amount in figure to amount in words as per the indian currency format such asFOR Rs. 25,25,25,225.25 we spell it as Twenty Five Crore Twenty Five Lakh Twenty Five Thousand Two Hundred Twenty Five Rupees and Twenty Five Paise only.I got some script from forum which is : aTens = [ "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"];aOnes = [ "Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen" ];function ConvertToHundreds(num){ var cNum, nNum; var cWords = ""; num %= 1000; if (num > 99) { /* Hundreds. */ cNum = String(num); nNum = Number(cNum.charAt(0)); cWords += aOnes[nNum] + " Hundr
I am scanning a document from Adobe Acrobat DC on a wireless multifunction printer. I am on Windows 10 and have never had any problems before. In the current document, for some reason Adobe stops working (locks up) after several pages. In other words, after the second page the program simply locks up – I cannot discontinue scanning, save the document, or anything. I have it set for a custom scan into prompt me for more pages. After two or three pages, it stops prompting me for more pages and the save button is grayed out. My only option is to shut down the program through the taskbar. I have tried running repair, and even uninstalled and reinstalled Adobe. I also changed the color mode from black-and-white to grayscale (I am only scanning at 150 for crying out loud). Nothing works. What's the fix for this behavior?
Dear all,Arcobat Pro has a very nice function as context menu "Combined supported files in Acrobat...". Does anyone have a sample code in VBA that I can use in Excel?I want to perform the functions variably:Specific files, which should be converted and merged into a single PDFSpecify which file comes first, second, or other place in the single PDF fileFile name as bookmarkOptional: Edit Bookmarks from Excel cell dataSwitch the File sizeOptional: Switch Title and Author informationOptional: Save the single PDF in archiv format (PDF/A)For an example VBA code I would be very grateful.Best regards,/M
So I have been trying to find an answer to this sense the release of acrobat x. When you pullout a guide from the ruler there is no preview of where that guide will end up. The preview usually shows up as a black line that then turns blue. This feature exists in all the other Adobe products I use (illustrator, photoshop, INdesign etc.) but after updating to Acrobat x it seemed to go away. Does any one know why this is and how to fix it? It's very annoying to try and place guides without that preview.
I'm running Acrobat 8.31 on Windows 7 ... it's an old computer at my workI don't think this should be hard. I am new to both JavaScript and JavaScript on Adobe, but I know Java and VBA pretty well.From everything I've read, creating a trusted function and running extractPages from it should work and not be an error: I test my function in the Debugger by passing in this...test123(this);(my code)var test123 = app.trustedFunction(function(oDoc){ <then later> oDoc.extractPages(previousPage, p, "file" + p); //previousPage and p are variables that are initialized <later again});and I get this..."NotAllowedError: Security settings prevent access to this property or method.Doc.extractPages:20:Batch undefined:Exec"I've have tried everything I can think of. Any idea why I would get this?
I am creating a form which will be submitted via email. I need the form to CC an email address based on a field value.I need it to be based on: field = employee ID then cc the email address for the particular IDI've currently got the rest of it working. Just want to add in this CC function to streamline a process.so far I've got:var Subject = getField("fieldname").value;this.mailDoc({bUI:false,cTo: "email address",cSubject: "Additonal text"=Subject,cSubmitAs: "PDF"});thanks
Hi,I am trying to implement a delete button in which attached files can be removed from the current document. I need to create a dialog box that lists all the attached files in which the user can choose to delete, and then have the dialog box refresh the list with whatever files are left. I have been looking into the execDialog and Dialog objects as a solution, but I am not sure if this is the best approach. Are there better solutions?Also, the users will be using Adobe Reader, which is why I am trying to implement a delete button because it does not exist. Is this possible to do in Reader?I am new to Javascript, so if you know any good resources that will speed up my learning process using it to interact with Acrobat, I would appreciate it.Thanks.
I use an Epson Perfection 3400 Photo scanner with Acrobat Pro DC 2015 and recently upgraded to Mac OS X (El Capitain) 10.11.2. When I tried to create a pdf from scanner in Acrobat (File > Create > PDF from Scanner) my scanner wasn't showing up, and upon trying to scan with other applications, it seemed that the error was scanner recognition by Mac OS. I found this fix by searching Apple Support:Open Image CaptureSelect File >Reset TWAIN devices.Close Image Capture.Once I did this, the scanner was selectable from the Devices pop-up menu in the Acrobat Scan window.Here's the original post: What happened to my scanner El Capitan? | Apple Support Communities
I have just purchased Adobe Export PDF. I am tying to convert to a .docx but the conversion keeps failing and I do not know why. Please help
In my form, I'm trying to display a text box based on the value entered in another field (labeled Rating) falling into the range of 3.5 to 5.0. I've done a lot of research and everything I found says that the jscript code below should do what I want, but clearly I'm missing something as it has no effect. Note, I'm putting this as a custom calculation script in the box I want to show/hide. ---------------------------if ((this.getField("Rating").value > "3.5") || (this.getField("Rating").value < "5")){event.target.display = display.visible;}else{event.target.display = display.hidden;}--------------------------Anyone have any idea what I might be doing wrong? Jim
Seems like the pan direction should be in the direction of the mouse movement (left <- left<- or right -> right->); as you would move a paper on a table. Instead the movement is in the opposite (left <- right -> or right -> left<-).Is there a way to reverse this pan setting?
I have a process that detects rotated pages and sets their orientation to 0 but I also need to detect vertical text on a page and act on that. In the test files I an using the page has not been rotated but the text (rasterized) is vertical. Using the Acrobat 11.0 object model through VB.NET, how can I achieve that? The following code does handle where the page has been rotated but does not detect the vertical text. Any help is appreciated. Private Sub cmdConvert_Click(sender As Object, e As EventArgs) Handles cmdConvert.Click Dim AcroXApp As Acrobat.AcroApp Dim AcroXAVDoc As Acrobat.AcroAVDoc Dim AcroXPDPage As Acrobat.AcroPDPage Dim AcroXPDDoc As Acrobat.AcroPDDoc Dim JSO As Object AcroXApp = CreateObject("AcroExch.App"
Hi, I need to call one action from another action. How can I call action from javascript code?? For eg., The following code is a general outline of how you can insert Begin Job and End Job code: it uses global.counter to detect the beginning of the job and uses another global variable global.FileCnt, which is set earlier by another batch sequence that counts the number of files to be processed, see Count PDF files, to detect the end of the job. ACTION 1: Count PDF Files Sequence Code/* Count PDF files */if ( typeof global.FileCnt == "undefined" ) global.FileCnt = 0;global.FileCnt++ACTION 2 : Begin and End job code for batch process// Begin jobif ( typeof global.counter == "undefined" ) { console.println("Begin Job Code"); global.counter = 0; // insert beginJob code here ................}// Main code to process each of the selected filestr
I am trying to use Javascript to automatically insert buttons in a document that link to other pages within the document. In order to place the button I use this.addfield, however cant find the syntax for the setAction statement.So I then tried to set it to run a javascript making use of cscript with to set this.pageNum = x, however when ever I check the properties of the button the pageNum has been changed to the page the button has been placed on.What syntax to I need to place a button field onto a page with the selected action going to a page view. Or how do I write the javascript to use this.pageNum to another page in the pdf.
Hi,I am filling up PDF forms from Vba in Microsoft Access. Everything goes fine, except that I am unable to check checkboxes from my code.My code is pretty simple, something like that :Set field = jso.getField("checkboxfieldname")field.Value = TrueI tried everything I could think of: 1, "1", "On, "on", True, "checked", etc. Nothing seems to work.I looked at the SDK: nothing on how to check checkboxes from vba in the documentation, nothing in examples either...I'm sure the answer is simple 🙂Thanks for your help,Patrick
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.