Unlock the power of Acrobat SDK through our community.
Recently active
I am developing an VB.Net application (.Net 4.0 framework) in Visual Studio 2013. I have a control that includes an instance of the AxAcroPDFLib.AxAcroPDF control (named pdfViewer in the user control) from Adobe Reader XI. This app can have between 2 to 8 instances of the user control, so there can be multiple instances of the AxAcroPDF control. I'm having no problems loading files into each instance of the control. The problem I am having is that when the user selects the Print option from the toolbar at the bottom, the printer selected is only retained for a yet-to-be-determined number of minutes, then it seems to reset back to the Default printer. What could be causing this? The only method I am invoking is the LoadFile(), once to load with a genuine file to view, and once with a "BLANKPDF" value to get the control to clear itself out. Any ideas?
Hi, I'm having trouble exporting field names and values to an excel file using vba code. I'm pretty sure the code worked until a few weeks ago. I'm working with Acrobat Pro DC version 2020.012.20041 and excel 2016 (16.0.5071.1000) 32 bitsI have references to Adobe Acrobat 10.0 Type library & AFormAut 1.0 Type LibraryI'm sure the acrobat document (file attached to this post) has fields as the program lineDebug.print Fields.count gives 108 as result The codes gives an error on the line.For Each Field In Fields It seems it does not recognize Field as an element. I cannot find anything on the internet that indicates something changed. Any help would be very much appreciated. Here is my entire codeSub AcrobatLezen()Dim row_number As LongDim AcroApp As Acrobat.CAcroAppDim AcroDoc As Acrobat.CAcroAVDocDim Field As AFORMAUTLib.FieldDim Fields As AFORMAUTLib.FieldsDim AcroForm As AFORMAUTLib.AFormAppDim MyFile As StringDim ws As WorksheetDim x As Integerrow_number =
Hi , i have 2 radio buttons (T+2 & choice T+3 ). If i select choice 1, the value input in text field (T + ?) column should be 0 ≤ 2 and choice 2 should output 3 ≤ 11 number. How to script this . Attached below is the snapshot of form.Please help and thanks in advance.
HI, I WAS WONDERING IF YOU CAN HELP ME WITH THIS ISSUE... I HAVE A FORM THAT HAVE 15 FIELDS EACH FIELD HAVE A DROPDOWN LIST WITH 3 OPTIONS TO CHOOSE: LIB., REC., AND SCAN AT THE BOTTON OF THE PAGE ARE 3 FIELDS: LIB., REC, AND SCAN TOO. NOW... I WANT TO PUT IN THOSE 3 FIELDS FROM THE BOTTOM OF THE PAGE, THE COUNTED AMOUNT OF LIB. FROM THE DROPDOWN LIST, THE REC., AND THE SCAN FROM ALL THOSE 15 FIELDS. [Email address removed by moderator] Thank You!
I cannot find my recently opened files for a particular day. I need to retrieve an unsaved file form that day but I cannot find any single I opened on that day. I went to one of the saved files that I opened that day and checked when last it was accessed and it said it was accessed on the day that particular day. However, according to the recently opened file list on my Adobe Acrobat Reader DC, I did not open /access any file on that day. Please does anyone have any idea on how I can navigate this or retrieve the unsaved file? I have tried using the time machine on my MacBook and using a code on my terminal but it did not work.
I build and install computer images for faculty and staff at a university. Some of these users elect to purchase Acrobat Pro DC in the perpetual serial-number edition to keep the software with the machine through staff changes. I install the software at build-time and the software cannot get out onto the internet. When the computer is in place and connected to the network, the user is prompted to enter their Adobe ID to register the product. Upon successfully entering their adobe ID, the product closes without error. The product is not registered.Next launch the process repeats. I have:- run a repair on the installation. - uninstalled, and re-installed the product- run the uninstall and clean utility to remove the product, and any other acrobat-related software and settings, then re-installed. - Attempted sign-in with various adobe user accounts. - Downloaded the latest serial-number installer from: Download Pro or Standard versions of Acrobat DC, XI
I apologize in advance if this is confusing. So I have a dropdown ("dh1ZoneDD") - with options: 1, 2, 3, 4I have a textbox ("z1GPP1") that will receive/display the info based on the selection of the DD.And I have 4 textboxes that will have some calculated data (we can call these "GPP1", "GPP2", "GPP3", "GPP4") if the dropdown selection is 1 - "z1GPP1" will display the value that is in "GPP1". I've tried a few approaches when it comes to coding this solution and I can't get it to work beyond displaying the first value from GPP1 when the DD choice is 1. Any bit of help is greatly appreciated! <This Code is placed in "z1GPP1">var z1 = this.getField("z1GPP1").value; var z2 = this.getField("z2GPP1").value; var z3 = this.getField("z3GPP1").value; var z4 = this.getField("z4GPP1").value; if (event.target.value = 1) { this.getField("dh1ZoneGPP1").value = z1; } else if (event.target.value = 2) { this.getField("dh1ZoneGPP1").value = z2; } else if (event.target.
I have a fillable PDF that is working how I want, but I'm wondering if I can make a document javascript that makes it easier for me? The forumla looks like this,(MHPF1)*((InstalledRow1*.6)+(GlazedRow1*.3)+(CaulkedRow1*.1)) = Completed Man Hours Instead of writing this for every Completed Man Hours row, can I make a document javascript to complete this? I attached the PDF for some help. How would I make it do this for each row?
Hey everyone, I'm hoping to use <table> formatting in a message (as a workaround for not being able to extract and mail a single page in acrobat reader) As an example heres how I populate one of the tables in js; var waarschuwadressen = "<table cellpadding='0' cellspacing='0' border='\'><tr><th>#</th><th>Naam</th><th>Telefoonnummer</th><th>Mobiele nummer</th><th>Pascode</th><th>Pincode</th></tr>" var y = 0 for (var i=0; i<waarschuwadressen_.length; i++) { //pak de datavelden var y =+ 1 var naam = this.getField("C_Naam_"+waarschuwadressen_[i]).value; var tel = this.getField("C_Telefoonnummer_"+waarschuwadressen_[i]).value; var mob = this.getField("C_Mobiel_"+waarschuwadressen_[i]).value; var pascode = this.getField("C_Pascode_"+waarschuwadressen_[i]).value; var pincode = this.getField("C_Pincode_"+waarschuwa
I have options A, B, C, D, E and others. Depending on what I check, I want to list the corresponding values in the Risk field - if there is more than one, separated by commas. See attachment. Can you help me, please?risk.pdf
As a frequent user of the acrobat documentation, I run into dead and non-functional links everywhere.Without my bookmarks, I would have to give up if I was just relying on Google. Some highly indexed pages on Adobe docs have become useless. Some starters for badly maintained documentation:https://www.adobe.io/apis/documentcloud/acrobat/docs.htmlIndividual section links under headings are just one block-link to the last section (e.g. all links under “Javascript for Acrobat” link to “Batch Sequences”) https://www.adobe.com/devnet/acrobat/javascript.htmlThe primary link to the documentation “Developing Acrobat applications using JavaScript” is dead. The other linked resources are outdated.In general there are zillions of links on the web to https://help.adobe.com/livedocs/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_Dev_Overview.71.1.html, it shouldn’t be a 404. It would be really helpful to developers if Adobe could clear up these pages. The documentation website also has a con
I have a pre-fillable user form in PDF format. I need to add a submit button in the PDF, which runs the javascript code. When the button is clicked, I need to save the PDF file into a MoveIT folder location. I am newbie and not sure how to start. I researched in adobe community and found few ways on saving the file but i dont see anywhere about how to save it in location where we need to pass in user credentials to access the file location and save the file there. Does anyone know what is the best way to save the files in a secured location? Thanks in advance
Hello Friends, I am trying to write a script that will change a fill color based on a calculated field's event value, but I am having trouble getting the effected field to change both colors. This is the script I currently have that will not work; if (Number(event.value)>1)app.alert("Total Beneficiary Allocation exceeds 100%");if(event.value == 0)event.target.fillColor = color.white;else if(event.value < 1)event.target.fillColor = color.yellow;else if(event.value > 1)event.target.fillColor = color.red && event.target.textColor = color.white;elseevent.target.fillColor = color.green; The script works perfectly fine when I remove "&& event.target.textColor = color.white", but gives me "invalid assignment" when entered. All help would be greatly appreciated! Thank you,Eric
I'm hoping someone can help me figure out how to resolve my text field not calculating properly.I have a text field name 'TotalOTHrsEmp1'. I click on 'Calculate' and choose 'Value is the' and pick the fields I want to calculate the hours. There is one particular text field I am having a problem with calculating. It's a checkbox that populates '1' to another text field. When I check the box the hour doesn't add up, but when I uncheck the box the hour does add up. That's not what I want, I want the '1' hour to add up in the 'TotalOTHrsEmp1' text field when the box is ticked. Here is what I have set up...The checkbox is named 'TravelTimePdEmp1'. The text field is named 'TTPdEmp1' and in this text field I have a custom calculation script as follows, var a ="";if (this.getField("TravelTimePdEmp1").value == "Yes"){a="1";}event.value = a;Thank you in advance for any help with this!
So.. I know nothing about JavaScript. Simply tooling around with PDF as a potential proposal tool. I'm trying to apply operators (less than, greater than, equal to) to an existing output "Propsal Score", that will create an output in a second box "Accountig Type". If my Value Sum from "Proposal Score" is between 0 an 50, how do I have the second text box populate:"Cash Basis" if the Proposal Score is 0-10 "Hybrid Basis" if the Proposal score is 11-30"Accrual Basis" if the Proposal score is 31-50Really appreciate any help!!!
I only want to protect certain fields that I will fill in. The rest must be completed by the person receiving the form.I have found an answer on this topic from: AkanchhaS but your link is going nowhere.Could someone tell me if it really can be done. I would appreciate information or a link where you can find it.
For below spltePDF function(from Adobe forum), it works fine for most of PDFs, but for some PDF (pdf is editable, no any protection, no image) can't be inserted by .InsertPages() function and return false, but he the PDDoc2.DeletePages function works welll. who can tell why?Function SplitPDF(MyPath As String, strFileName As String) As IntegerDim PDDoc As Acrobat.CAcroPDDoc, newPDF As Acrobat.CAcroPDDocDim PDPage As Acrobat.CAcroPDPageDim thePDF As String, PNum As LongDim NewName As StringDim i As IntegerDim Result As VariantDim Filename As String'...If VBA.Right(VBA.Trim(MyPath), 1) <> "\" Then MyPath = MyPath + "\"End IfthePDF = MyPath & strFileNameSet PDDoc = CreateObject("AcroExch.pdDoc")Result = PDDoc.Open(thePDF)If Not Result Then MsgBox "Can't open file: " & Filename Exit FunctionEnd If'...PNum = PDDoc.GetNumPagesFor i = 0 To PNum - 1 Set newPDF = CreateObject("AcroExch.pdDoc") newPDF.Create &nbs
Good morning everyone, Scenario I have two fields: A: a textfield (nos pecific layout set) , B: a textfield set to a date layout. I'm looping through the fields for reasons, and am looking for a boolean check where B results in true (fields with date layout) and A results in false. Thank you in advance for any trouble to be taken, Sincerely, Wardenburg
Sorry, I'm new to this. I have attached the worksheet below.
The worksheet i'm trying to export says its protected and asking for a permission file - is there anything i can do?
Can someone help me make these codes into one code?I have ten fields named t1-t10,in each field as custom calculation script I have these codesin field1:event.target.fillColor = this.getField("Text1").value >= 1 ? color.green : color.white;in field2:event.target.fillColor = this.getField("Text1").value >= 2 ? color.green : color.white;in field3:event.target.fillColor = this.getField("Text1").value >= 3 ? color.green : color.white;...etc up to field 10:event.target.fillColor = this.getField("Text1").value == 10 ? color.green : color.white;I want to put them in one field and have as one code, I know how to make them like this:event.target.fillColor = this.getField("Text1").value >= 1 ? color.green : color.white;this.getField("t2").fillColor = this.getField("Text1").value >= 2 ? color.green : color.white;...etc but I was wondering can it be done as one code something like:var color = "";for (var i=1; i<=10; i++) {if (this.getField("t1"+i).value=="1") color++;}event.targe
Hi,I am unable to run any sample from:"sdkDC_v1_win\Adobe\Acrobat DC SDK\Version 1\InterAppCommunicationSupport"I already installed Acrobat DC Pro (7 days trial) today.Version:Continous Release | Version 2019.010.20098Version File Version: 19.010.20098.54430AGM Version 4.030.00084CoolType Version 5.014.00038Core Version 19.2560JP2K Version 1.002.00002.42832All references,including Acrobat, are fine (they are not showing with yellow warning)The error occured when I try to run every sample is:System.BadImageFormatException HResult=0x8013101B Message=Could not load file or assembly 'Interop.Acrobat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Source=<Cannot evaluate the exception source> StackTrace:<Cannot evaluate the exception stack trace>I've already tried to add the reference again from C:\Program Files (x86)\Adobe
With an Adobe fillable form, can a user be prompted to select a Word document that is then converted and appended to the form for submission as a complete document? Attachments to fillable forms are not apparent or viewable in other readers or browser extensions. So, I need the user to find and select the document, convert and merge the document to the fillable form for submission. Is there a script for this that I can associate with the Submit button? I am using Adobe Acrobat Pro DC and the users may be using any other viewer.
Hi. I have an existing table I need to add rows to. Is that possible? Thanks in advance.
Hi, guys I really need help with this one, I know basic javascripting but am clueless how to get this.I have button to which I wanna add script so every time I click it, it generates random number between 1-20 and show result in text field called "Result"(That part I know how to do) BUT I would like every time it generate number, that number is excluded from next roll until all 20 numbers is rolled.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.