Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hi guys,Do you know how long does it take to receive access to PDF SDK library? I filled out a form at http://wwwimages.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/adobepdflform.pdf more than 2 weeks ago and have not yet received a free trial.Any help would be much appreciated,Sofiia
I want to add $3.00 to a field if a checkbox is checked.If the box is not checked than the original amount entered is not changed.EFS_FEE is the checkbox nameLUMPER_FEE is the textbox with a value - which could potentially be "0" or any number.I've tried this and with no luck:var Lumper = this.getField("LUMPER_FEE")var Fee = this.getField("EFS_FEE");if fee.value!="Off"var Fee = 3elsevar Fee = 0event.value = Lumper + Fee
I want to implement a plug-in for Acrobat DC that will call a CSC (cloud consortium signature) web service in order to sign the pdf-s. The web service uses OAuth 2.0 for authentication. I don't know where to start from, any suggestions? Thanks!
First of all, I'm pretty new with scripting in PDF Forms.my case:I'm trying to create a form with mutliple textfields. The last textfields should multiplicat all other fields togeather so I get a sum in the end.Thats really easy to do. Every field gets the format of a number with "1.234,56" because the German culture is uses "." as a group separator and "," as the decimal separator.The script to get the sum in textfield3 is as easy as it can get:var v1 = this.getField("Text1").value;var v2 = this.getField("Text2").value;event.value = v1 + v2;In Adobe DC pro and Adobe DC reader everything works fine but when I open the form in google chrome directly I get the issue that the calculation goes wrong.Google Chrome is using the format "1,234.56" instead of "1.234,56". That causes the value to change from, for excample 12,12 to 12012.Is there any methode to force the PDF in google chrome to use the German culture instead of the English culture?I can't change any settings in Google Chrome, so
Hello all,I've got a question about PDF forms and scripts. Can I execute a custom made script inside a PDF form without opening the PDF.Example:I've got a PDF form with x-amount of text fields and y-amount buttons. I made a script (button) that converts all the text fields to read-only and removes all buttons from sight. Is it possible to execute this script(/button) without opening the PDF?Looking forward to you answerSincerely
Want to add a stamp and a certification to documents (have to repeat this task often)I would like to use the Action Wizard, but I don't see where adding a stamp (regular stamp not dynamic) can be done.It looks like javascript may be the way to go, but don't know how to get started with javascript. Can someone give me a direction to start learning javascript for Acrobat?Better yet an example of adding a stamp and certification would be a big help.Thanks,Billt
The FileToPDF() method which is an API of Acrobat Distiller may not work properly. The FileToPDF() method is executed by VBA script of Microsoft Excel, and the source code is as follows.----------VBA script start----------Option ExplicitConst m_strDistillerProgID = "pdfdistiller.pdfdistiller.1"Sub Button1_Click() CreatePDF2 ActiveSheet.Range("D2").Value, ActiveSheet.Range("D3").ValueEnd SubFunction CreatePDF2(szPSFilePath As String, strFullPathOfPDFFile As String) As Boolean Dim DistillerObj As Object ActiveSheet.PrintOut copies:=1, PrToFileName:=szPSFilePath Set DistillerObj = CreateObject(m_strDistillerProgID) DistillerObj.FileToPDF szPSFilePath, strFullPathOfPDFFile, "" Set DistillerObj = NothingEnd Function----------VBA script end----------Usually, the PDF file is created in the path in strFullPathOfPDFFile. (expected behavior)However, if the VBA script is executed while prin
I installed Acrobat DC Pro on my Mac Air and it won't open pdf files. This has happened several times now. Occasionally I will reinstall and it will work. And once it just started working. What is wrong?
I am trying to fill out a fillable pdf form and the font is too large (you can only see half of the letter). How do you adjust the font size on a fillable form on Adobe Acrobat Pro DC?
I'm running JavaScript validations on form fields to show and hide follow on fields based on user input from the dropdown menu. The problem I'm having is that if the user confirms the value using Tab, the cursor gets lost on the document and starts over at the first field instead of continuing to the next field beyond the now hidden field. I tried using getNext to no avail. The dropdown defaults to a blank space so it could be printed as a blank form, followed by a checkmark, an "X", and finally a "/". Selecting "/" identifies that the subfields are not required and while the user could simply tab through them, I'm trying to make it easier on the user. Any help would be appreciated. Here's a sample of the code:if (event.value == " /") { this.getField("EGI GROUND CHECK").display = display.hidden; goNext(this, event, "BEFORE 7");}else { this.getField("EGI GROUND CHECK").display = display.visib
Hi, I am really new to javascript so bear with me. I am making a form where I have many checkboxes all named "checkbox 1" and so on (like 30 or more) that I have assigned export values (such as "red", "blue", "green"..etc). I need all of those checkboxes to populate their given export values to a single textbox(textbox 1) when checked and to remove the value when unchecked. also I need to have the values separated by commas when they are populated to the textbox and to be able to manually type in the text box as well. Please help
Good.I would like to know how to avoid opening the acrobat window when executing the following code (JS)var createdDocument = app.newDoc();createdDocument.saveAs({cPath: ReleasePath});createdDocument.closeDoc(true);
HelloI'm trying to pritn using adobe acrobat activeXhere is my code<!DOCTYPE html><html><head> <title>Print Test</title> <meta charset="utf-8" /> <script> function startPrinting() { var acrobatObj = document.createElement('object'); acrobatObj.width = '500'; acrobatObj.height = '500'; acrobatObj.classid = 'clsid:CA8A9780-280D-11CF-A24D-444553540000';document.body.appendChild(acrobatObj)acrobatObj.src = 'test.pdf'; window.setTimeout( function () { &n
I have a fillable form that I created in 2008 that I am now getting complaints from users who are on Acrobat Reader DC. The complaint is that when they print, the form fields are blank. I have narrowed it down to the "Save Ink/Toner" option that is new to DC on the print options menu.What is happening is that, when left checked, the Save Ink/Toner option is causing the Document WillSave event handler to run right before it actually prints. I have javascript in that handler that clears certain fields before a user saves, because there are only certain fields I want them to be able to store (otherwise it screws up calculations next time they open the document). So when WillSave runs right before print execution, it is clearing the form fields, then printing blank forms.Unchecking the Save Ink/Toner option when printing is an easy fix. And if I get 2 thousand phone calls from people who upgraded to DC and now their forms are printing blank, then maybe I
Good evening, I am having a problem with the Buttons within our PDFs. We are using a program that runs, only if there are certain buttons that are checked.What is happening is that the buttons we are checking sometimes look like they are checked, but are actually not.You have to click on the button, then click it again to uncheck the button... after doing this, the button works fine.Here is the error from the console:InvalidGetError: Get not possible, invalid or unknown.Field.value:92:Batch undefined:ExecIs there any way to check for these messed up check boxes? Is there any way to prevent these check boxes from messing up?Thank you!
Hello,Does anyone know how I can code a form to have a submit button that sends the form data to an excel spreadsheet? I am trying to make it so that if the user submits the data it goes into 1 row per submission. My organization does not have adobe livecycle.Thank you,Nick
Hi,I am trying to export annotations from a pdf to excel using a macro. The code is working except for the fact that if I try to assign parameters to GetAnnots() I receive an error message saying "Named argument not found".If I don't assign any parameter to GetAnnots the code works but the comments are not in order by page.This is the code i wrote for the javascript object:''Access JSO objectDim JSO As ObjectSet JSO = AcroPDDoc.GetJSObjectJSO.console.Show ''show javascript console''get total number of annotationsJSO.syncAnnotScan''get list of annotations in documentDim Annotations() As ObjectAnnotations = JSO.GetAnnots(nSortBy:=ANSB_Page, bReverse:=True)Did anybody have the same issue? Thanks
Liebe UserIch möchte mit einer Stapelverarbeitung in Adobe Acrobat DC Pro mit Javascript ein Wasserzeichen setzen wo jeweils der Dateiname ohne Endung aufgeführt wird.Vorab sollte Philips Bern, stehen. Die Farbe ist rot, Schrift 14 Arial und 10mm vom linken Rand und 1.5 mm vom unteren Rand sein. Wer kann mir helfen? Im Voraus vielen Dank.
Good.The problem is that when opening a pdf with the following function:CAcroAVDoc avdoc = new AcroAVDoc();avDoc.Open(path, "");Automatically opens the adobe acrobat, I would like to know if there is any way to work with pdfs without seeing the adobe acrobat(I do not care if the process starts, I want it to at least not be seen by users)
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
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.