Unlock the power of Acrobat SDK through our community.
Askettäinen
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
Hello, I am tasked with looking for several professional libraries needed for product development in my company. One of our planned product's core features requires click event handling within a PDF file, or the ability the detect bookmark/hyperlink click events. I can't seem to find any help about this specific issue, does anyone know if it's possible? And if it is, can it be done with natively with C#? Does it require a complicated workaround or JS event handling?Thanks, DK
Hi,My aim is to lock a number of fields in a form with a password chosen by the person who will administrate the form. It is not a question of high security, it is only to make sure that the fields will not be modified by accidental clics or deletes.I was able to accomplish what I wanted with the code suggested in this post : Re: Form Field Security .I slightly modified the code for the password to be extracted from another field. Here it is :--------------------------------------------------(function () {// Get one of the fields in the groupvar f = getField("admin.logo");// Determine new readonly state, which// is the opposite of the current statevar readonly = !f.readonly;var readonly_desc = readonly ? "deactivate" : "activate";// Ask user for passwordvar resp = app.response({cQuestion: "To " + readonly_desc + " the fields, enter the password:",cTitle: "Enter password",bPassword: true,cLabel: "Password"});var pw=this.getField("Mot_passe").value;switch (resp) {case pw: // Your passwor
This is my current script:if(event.value != ""&& this.getField("Name").value != ""&& this.getField("Phone Number").value != ""&& this.getField("Email Address").value != ""&& this.getField("Directorate").value != "Select from Dropdown") {this.getField("User's Signature").readonly = false;} else {this.getField(User's Signature").readonly = true;}
Hi,I happened to have to work in a very old environment with Adobe Acrobat 7.1 installed, but I think even newer version does not have an API for this.Say I have some random data var data = 0xe3f2b1 and I want to save this data alone to the hard drive. Would there be a way to do this?I tried to convert to string, create data object and then export data object, likevar str = String.fromCharCode(0xe3, 0xf2, 0xb1);this.createDataObject("MyData.dat", str);this.exportDataObject("MyData.dat");This ended up not saving any byte greater than 0x80 (not saving anything in extended ASCII range). If I have a byte 0xb0, it would be saved as 0x80.Just wondering is there any way to export random data out of the Acrobat? Even if emailing the data file out as an email attachment would be fine.
Hi all - I am developing a Acrobat Javascript to download survey results from Epicollect 5 (a basic data collection app) and populate them in a PDF form. I am able to make HTTP requests using Net.HTTP.request to authenticate and to retrieve the text results from the survey. But the survey results also include a set of photos, which can be retrieved individually by a GET request. Can anyone provide any hints or examples of how to add a .jpg image as an attachment from the stream result from a web call?My idea is to download and add the images as attachments, then switch the image fields on the form to display those images. Thanks,Doug
Ok, so I've done some research on trying to add the auto tab feature to a fillable form I'm creating. It's a questionnaire and I need it to auto tab onto multiple lines (2 different text fields), I needed to create enough room for someone to write anywhere from 20-150 characters without having to tab to the next line to complete the answer. I'm no where near understanding javascript, but in my quest in trying to figure out how to auto tab I learned that I need to input the correct javascript in the first text field properties under the format tab. I've came across multiple forums that have showed me similar javascript, but I cannot get it to work in my fillable form. So hopefully anyone who replies to this can dumb it down a bit for me to understand. Or at least point me in the right direction, any help is appreciated.
I don't know Javascript, but I know that what I'm looking for is a basic script.Anyhoo.....I have two fields.The 1st field is blank, unless an amount or number is entered.The 2nd field divides the number from the 1st field into 12 and then adds 2.I was able to figure out how to get field 2 to function the way i'd like, but field two shows the initial value as 2, and I need the field to be blank.I need it to be blank because there is third field that adds the sum of the second field automatically, and there are multiple field2s so the 3rd field automatically adds the field 2sDoes this make sense? I hope someone can help out.Thanks
Thank youBob
Hello,I need to create a button that will save my file on a specific folder with the filename of one of the field in the document. Is this possible? I guess with a javascript but I have no idea on how to do it.Thanks a lotLuca
Hello!I am running into issues and I can't seem to figure out why.I'll try to write this simply... I am working on a paperwork package for a dealership to handle multiple vehicles sold at once. I have a couple line items that are divided evenly amongst all vehicles sold. If it is NOT able to be divided evenly, the remainder is calculated and added or deducted from the first vehicle sold. That is all working just fine. My problem is here... If the item is not divided evenly, a warning icon appears next to the line. This is the function I have written:function warning(TotalField,PerField){var PerName = event.target.namevar PerRounded = round(PerField,2);var Count = this.getField("SOLD_COUNT").value;var Offset = PerRounded * Count;if ((Offset == TotalField) || (Offset == 0))this.getField("WARNING_" + PerName).display = display.hiddenelsethis.getField("WARNING_" + PerName).display = display.visible}The function seems to be working backwards. I want the icon to appear ONLY when Offset
Hi.I have developed a plugin which delete the text element from PDF.In some cases, the value obtained from PDEElementGetBBox return the different value from two text element at same position within PDDoc objects(objectA and objectB).objectA makes from objectB. const PDDoc objectA = PDDocCreate(); PDDocCreatePage( objectA, PDBeforeFirstPage, srcrect ); PDDocReplacePages( objectA, 0, objectB, pagenum, 1, false, NULL, NULL, NULL, NULL );I Used PDEElementGetBBox to same position text element within objectA and objectB.but return value(textBBox.left and textBBox.right) is different.can you tell me reason about this case happened.
I have an Adobe form with fields that have a parent, child relationship. If I check (or uncheck) Check Box7 which is the parent, which would indicate it is Not Applicable,how do I get the Child checkboxes (Check Box 8, Check Box 9, Check Box 10) to check or uncheck?In addition, a child should be able to be selected without selecting the parent or the other children Check Boxes. So if the Parent field is applicable, but Check Box 9 is not applicable, I would need to be able to check just Check Box9 withoutit affecting any other check boxes.I tried some of the suggestions I found online but keep getting syntax errors and was not able to use them....Please help!
I have series of combo boxes and my client would like all seven options to show up when the dropdown appears. Right now only six show up. Is there a way to use Javascript to se the dimension of the drop down or the number of lines. (I not sure of the terms to search as i am not a coder.)TYIJJ
If I put in a function that is incorrect the debugger flags it as a bad function. But var x = 5 does not store the variables
I need to be able to grab the invoice number from pdfs and add to filename. Customer always sends their invoices in the same format. Is there a way to get the text from the pdf and add it to the filename while resaving the document?I am using DC professional
Hi,I got a request of 342 pages PDF document. I need to add a textfield at the bottom of the first page and that should duplicated for all the pages, by mistake I kept the field size small. So, I need to delete all the fields and that is so difficult to delete the field in all the pages.I am going to add a button on the first page, when I click that button all the fields should be deleted instead of hiding it.I need a javascript to do this work more easier.
I am working on a rather large form for my company. Here's the general gist:User selects from 4 different radio buttons groups on page 1User hits "COMMIT ANSWERS" button which calls a function to spawn different pages dependent upon their answersIf user ignores Commit button, an app alert prompts them when the pages closes.Currently, if someone changes any of the answers, hitting the Commit button again will update the package correctly. If we lived in a perfect world this would sufficient, however as the typical user will ignore that button... I would like an app alert to prompt them to commit their answers again when they change an answer (or change an answer and then navigate away from page 1).Any help would be greatly appreciated!! Thank you!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.