Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
I want to be able to open PDF files and read the contents for order processing using Visual Studio 2017 & C#.But I can't make sense of the documentationI see parts like this How can I extract text from PDF documents using the Acrobat DC SDK?You can extract text with the Acrobat DC SDK in two ways:Use the Acrobat core APIUse the Acrobat automation APIand thisHow can I use Visual Basic .NET or Visual C# .NET with the Acrobat DC SDK?The Windows version of Acrobat is an OLE automation server. In order to use the OLE objects made available by Acrobat, you must have the full Acrobat product installed on your system and the Acrobat.tlb file included in the project references for your Visual Basic project. This allows you to use the Visual Studio 2005 object browser to browse the OLE objects.and thisIt should be easy to add more code to improve and extend the capability.- The way to set up using Acrobat IAC in the project is from the menu Project -> Add Rerences... -> COM to select A
I created a form that is being filled out on a surface tablet RT. Everything works as expected on the tablet, saves and opens showing all the fields correctly. When I open the completed form on any other computer (latest ver of acrobat DC reader) all the dropdown fields are blank but the text and checkbox fields are showing as they should. When i print the form it prints correctly all the fields and when windows shows a preview of the form before opening the form it also shows correctly.Also when try to reselect the missing entry in those dropdowns it wont let me pick what it is suppose to be but I can pick another selection from the dropdown. It is acting like the original selection is already picked and will only show as blank on the screen Thanks for your help!
Heya everyone, I have a drop down which has info like this: Name, Address, Phone, City, State, Email, Customer's Name, Address, and so on. I think there's 10 entries all together. Everything is working fine but all the info populates into just one text field. The info is separated by commas like I typed here. The info is all one line of text when I created the drop down. So, what I'd like to do now is somehow to split the info into it's own field. The name would populate into the Name field, the address would populate the Address field and so on. But, you guessed it, I don't know if that can be done or how to do it. Can someone shed some light on how to accomplish this. Thanks.
I have a form that users are to enter their initials or ID# after each step is complete. There can be several users completing this form leading to several unique entries. At the end of the form the users will print the document and physically sign their name next to their initials. I'm trying to figure out how to have the initials automatically populate next to a signature box.I've created a field hierarchy called Init "Init.10, Init.11,... " to enter initials for each job step and fields at the end of the form to put the initials/ID#'s (see below).I've been able to use the following code I found to iterate through the "Init" fields and display the values but it only displays the first value it sees. I'm thinking I need to have the values put into an array and put the first initial into the "Initial.A" field then use an if-else statement to check the contents of the array against "Initial.A" and if it matches go to the next element in the array and place that in "Initial.B" and repeat
I have two fields from which I am trying capture the (numeric) values from. They are named BS BEFORE.x and CARBS.x, with x being a value between 0 and 5, depending upon which record number of the current event. In this code snippet I am merely placing the values into a text field named TEST just for display purposes. Ultimately, these values will be used to calculate a recommend dose of fast acting insulin. The problem is, TEXT.value only updates with the value entered into BS BEFORE.x and CARBS.x AFTER the next entry is made.HERE IS THE CODE:// THIS IS A TEST FIELD TO SHOW RESULTSvar TEST = this.getField("TEST"); TEST.value = "";// CAPTURE RECORD NUMBER FROM THE FIELD NAME AND TRIM BLANKSvar RecordNo = event.target.name.substring(event.target.name.length-1);RecordNo = RecordNo.trim(RecordNo);// GET THE VALUE OF CURRENT BS AND CARB FIELDSvar myBS= this.getField("BS BEFORE." + RecordNo);var myCarbs = this.getField("CARBS." + RecordNo);// SHOW TEST VALUESTEST.value = myBS.value + " : " +
Im trying to work on an if statement for calculations in a doc.I have a basic knowledge of scripting but it has been a while since ive done any and Im having a hard time tracking down a commandWhat I am trying to do is when a number is entered into a editable box in the document and its value is less than a known amount, it will auto fill a box else where in the document where it will then be subject to calculations. if it is higher than that amount it will be sent to a different box where it will be subject to a different set of calculations.I believe I have everything worked out except for the command that will set the value and autofill the box further down in the document.Can someone give me direction on this?Thank you
I want to create a plug-in which will sign a pdf by calling a web service to get the signature files. Is this possible? What is the best approach (i have read something about doing this with javascript). Any documents, suggestions or materials on this matter? Thank you.
I have used the Simple field notation: TotalListPrice-Discount. Nothing shows up in the Net Before Tax Field.I have also tried event.value=this.getField("TotalListPrice").value-this.getField("Discount").value; and nothing works.What am I missing? I do not know anything about Java script.Thanks
I have used the Simple field notation: TotalListPrice-Discount. Nothing shows up in the Net Before Tax Field.I have also tried event.value=this.getField("TotalListPrice").value-this.getField("Discount").value; and nothing works.What am I missing? I do not know anything about Java script.Thanks
Hello,I'm hoping someone can help me figure out why certain code sometimes works, and sometimes doesn't. I didn't write any of the code, I copied and pasted the parts I needed from different google searches (Thank you, internet!).The pdf contains 12 months. Each month has 5 boxes (representing weeks) with dates in this format "mmm d, yyyy". The idea is that if I enter a date for the first box in the first week of January, all the other dates are auto populated by adding 7 days to the previous box. The reason for the 5 boxes is because sometimes you get 5 7 day periods in one month. For example, if the first box is Jan 1, then the following boxes will populate Jan 8, Jan 15, Jan 22, Jan 29. 5 Boxes. However, If, instead, the first box is Jan 4, then the other boxes fill be Jan 11, Jan 18, Jan 25. The fifth box would technically be February so the 5th box goes blank. In that case, the first box in February would be Feb 1st. SO forth and so on.To make all this happen, there is a doc
Can someone point me in the right direction? I'm looking for code to automate a PDF Document to create a new document by using Visual C#. I am using a PC, Visual Studio 17 and C# . I am able to do this with Microsoft Word Document but would rather us adobe. I have Adobe Arcade Pro and Adobe Creative
I've created a text field with format custom keystroke script allowing for only digits. I've used fairly simple regular expression /^\d$/ to accomplish this. However, I would like to have possibility for user to be able to use backspace to delete some of these digits. Now it is not possible for backspace is not allowed keystroke. How do I do that with regular expression? I found that \b should match the backspace but I cannot figure out how to put it in a regular expression definition so it works.Many thanks,Vladan
I've been looking into stamps for quite awhile now. I have successfully made a few. At present, I'm playing around with "dynamic stamps" and had some success with creating a few of them as well. I've used the app.response which were easy to create. I was successful with my first attempt. But, now I want to create the type of stamps that have a pop open interface which asks questions and some have check boxes and drop downs. I haven't found much on the internet as far as tutorials are concerned. I have looked into Thom Parker's book but Dimitri emailed back saying the book only covers very basic types of stamps and would not really be much of a help to me. I found this other website that can provide the types of stamps I talking about but they charge for them and which are secured and do not allow someone to edit. After spending a tremendous amount time searching the internet I found only one script. So I copy and pasted it into a pdf of my own to play around with it. To my surprise it
I have adobe XI pro PC with Windows 10, often when printing to PDF file, after giving it a file name, a window appears and progress to 3 vertical bars and then freezes and never comes back. Problem might be with drives for Windows 10, but could find drive updates for Adobe Acrobat XI pro (full version, read and write). Any solution is appreciated.
Hi All,I am writing a script to spell check and create a log report in the adobe reader. My script works in acrobat pro. But in adobe reader its showing security error and per documentation we need "F" security level. is there is any alternate method to write a log as text file in acrobat readermy scriptfunction Spell_Check(){ var chWord, numWords; var Report; for (var i = 0; i < this.numPages; i++) { numWords = this.getPageNumWords(i); for (var j = 0; j < numWords; j++) { ckWord = spell.checkWord(this.getPageNthWord(i,j)) if (ckWord != null) { this.addAnnot({ &
I run the command app.getPath ("user", "javascript") in the console; and I receive the following message:GeneralError: Error in the operation.App.getPath: 1: Console undefined: ExecSorry for my English, it's not my native language.I would appreciate any help.
I have this one text field I want the user to enter Yes or No. To save time is there a javascript to allow Yes to be entered when they just type in y or n so then No would get populated in the same field. I use to have a drop down, but I don't want to use that option. Does anyone know a little javascript that would enable me to do this? Thanks.
Hello,I do have a form and I would like to do a simple calculation of a fields... here is what I have coded that does not work.event.("Balance.0").value = this.getField("Credited.0").value - this.getField("Debited.0").value - this.getField("AmtDistributed.0").value;Balance.0 is a read only field, when I enter number in Credited.0, Debite4d.0 or AmtDistribute.0 still Balance.0 stays blank.What I am doing wrong?Regards,Jeff P.
Hello friends, I have a sales form and fields with expirations every 7 days, I wanted to know how it can be done to enter the first due date and that the following installments are completed automatically. Thank you.
I have done so much searching that my mind is turning to mush, so I hope what I am about to ask makes sense. Here is the form I am working with. As you can probably guess, I am adding everything from contracted hours to fully licensed into the total pay rate at the bottom. All of these fields have values that are calculated based on other actions/entries. Now, I have been asked to include a place for a negotiated rate that people can type in their own answer, but I still need this rate to calculate in the total pay rate without adding to the originally contracted rate. Does that make sense? I need one of two things to happen: Either when the negotiated base box is checked, the contracted hours (45) becomes zero. Or when I add the percentages, I can somehow eliminate the value of the base rate if there is a value in the negotiated rate. Thank you for any help!
I have a form that is displaying two options, and I need to make it more obvious which one they are selecting. So if they select option A (box) I need text field A to have a border color. If they select checkbox B, I need text field B to have the border color. I've tried running mouseup actions on the boxes but I must be doing something wrong. I am still learning JS..Thanks!
Hey everyone, been scouring the net and can't get my hands on this. Hoping you can helpIn Acrobat, I need to automatically press a button after the user has made a selection from a drop menu.OR, if it's easier - I need to show a message to the user if they select a different option in Dropdown #8 than they did in DropDown #2 - Both drop menus have the same values to choose from, but we can't automate them to be the same. The user is supposed to select the same answer but if they don't, we need to ask them if they are sure.I've got the script to compare the fields in a button, so if I can just get the button to be pressed automatically after they select something in Dropdown menu #8, that'd be great.Thanks in advance for any help B.
Hi,I would like to create a js script, but I am a little confused where to get the SDK. There is Acrobat and Acrobat DC. Is there more than one SDK?Should I develop for Acrobat DC.Is the SDK version specific.Do I need the pro version of DC to develop scripts.Will my scripts work on Mac and Windows.Where do I get the latest, or past versions of the SDKsI there a quick start, a hello world script with instructions on how to install.I am sure this is all out there, but I want to make sure I am using the correct versionsThank you for any help with this.P.
In this field I would like to type in, let's say, 33 and what I would like to show as a result would be, 3' x 3'. Or, if I enter any two digit number the field results would be in feet x feet. Figuring this out is a bit perplexing because I'm talking about a whole numbers and how would I break the number apart, put an x (for by) in between, and show the results in the same field. And, notice the spacing of the results. I have this script and was playing around with it. I got it to put the ' marks in the results. I have to type in the number like this - 3.3. The result is 3'3'. It's close but no cigar. Is it possible to have the field return the results the way I want? Here's the javascript I'm playing around with:event.value=this.getField("Footings1").value.toFixed(2).replace(".","' ").replace(/.$/,"' ");
I have Adobe Pro 11I want to split a large Pdf file 2550 pages into multiple files with JavaScript.The text '"Subtotal" only exists on these divider pages, so it can be used to identify where to split the document.How easy would it be to create some javascript to run in an action which would do the following:1. Identify text "Subtotal"2. Split document at that point, saving the pages from current page (typically 5, though not always) up to page before next instance of "Subtotal"Can this be done, or has it been done already? Thanks
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.