Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Is there a JS available or another method for counting bookmarks in Acrobat DC?
I use adobe to mark up a document in red and sometimes I have to add documents to the pdf as proof of some markups. Sometimes (usually at the most inconvenient time) the already saved markups turn to jibberish. Why is it doing this and how do I stop it? "X's" come up all over the mark ups and sometimes just random letters and what I placed on the document is no longer legible.
Hello,I'm using Acrobat Reader DC,I've the dropdown list ("dropdown1") with 3 options, for each option I did some coding, for example for option "system support"if (this.getField("Dropdown1").value == "System Support") {app.alert("WELCOME KIT\n" + "Essential support agreement information",4, 0, "System Support");}It works, BUT when I choose in dropdown list "system support" the code is triggered AFTER I click anywhere in the pdf (it's not done with the click and I need it to be excecuted when I choose that "System support" option).In options of the dropdown list I've selected "commit selected value immidieatly" but I'm missing something...I tried some ideas in the internet like:if(event.willCommit){ switch(event.value) { case "System Support": {app.alert("WELCOME KIT\n" + "Essential support agreement information",4, 0, "System Support");}; break;I believe I'm doing something wrong. Could you please help me?
Hi all,I have some multipage pdf's. I need to get them split and renamed.Every page in the PDF contains a 6 digit order-number. This number is always in the same place.Every page should get the the name of the order-number. For Example "123456.pdf"How am i able to do this?I'm using Acrobat Pro DC on a mac ^^.do i need to use other software? Any scripts?thanks.
Good afternoon people,I would like to create a button where a person clicks, appears in a textbox, the date and time of the Windows clock. it is possible?Best regardsBerg
I'm working with Acrobat X.In Tools > Protection > Search and Remove Text, you have the option to search for regular expression patterns found here:C:\Users\[user name]\AppData\Roaming\Adobe\Acrobat\10.0\Preferences\Redaction\ENU\SearchRedactPatterns.xmlI want to create an Action that calls that list of Acrobat regular expressions. In the Action Wizard, when creating a new Action (Protection > Search & Remove Text), you don't get the option to look for those patterns. Has anyone done this? Dose anyone know a simple way to modify the generated .sequ file so it will do this?<</Commands [/c << /0 [/c << /Config [/c << /UIPolicy [/i 3]>>] /HandlerName [/a /SearchAndRedactCmd] /Params [/c << /CaseSensitive [/b false] /WholeWord [/b false] /WordList [/n null]>>] /Title [/t (Search & Remove Text)]>>]>>]/Description [/t (calls standard Acrobat regex patterns)]/Input [/c << /FileVari
Hello all,I want to make sure the fields of a PDF are highlighted. I looked online, and found the JavaScript to do this (I want to do it programmatically) is "app.runtimeHighlight = true".My C# code opens a PDF form, and makes it open for the user to edit in a WInForms panel. THroughout the code, I've been using InvokeMethod to call various methods (such as getField()).object jsObj = pdDoc.GetJSObject(); Type T = jsObj.GetType();object jsReturn = T.InvokeMember("app", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, null);Type T2 = jsReturn.GetType();object[] param = { "true" };object jsReturn2 = T.InvokeMember("runtimeHighlight", BindingFlags.SetProperty | BindingFlags.Public | BindingFlags.Instance, null, jsReturn, param);How can I mimic the "app.runtimeHighlight = true" syntax through the C# Acrobat SDK?I'm using the Adobe Acrobat 10.0 Type Libra
Hi,I am receiving contents from excel file. And the replaced content should be go as PDF (the native file is Indesign).Is it possible to check the PDF texts with excel? How I can perform this comparison using script?Thanks,K
Hi experts,I need to search several PDFs containing a total of 40,000 pages for 2,000 account numbers.Can this be automated using VBA or JavaScript or other? Which do you recommend and why? Thank you,Peter
HI,I want to remove all hyperlinks in a PDF by using VBA. I am new in adobe vba. Your help is much appreciated. Thanks in Advance.
hi, in my form, field names are like bellow..primary-fn-lastnameprimary-fn-firstnameprimary-fn-middlenameI want to replace "primary" with "child-3". so new fields names should be like bellow. is this possible to do using javascripts??. thanks in advance.child-3-fn-lastnamechild-3-fn-firstnamechild-3-fn-middlename
All,I am trying to figure out how to sum fields 1-14 and then multiply that by 2.20462 essentially the sum of kilograms and then convert it to lbs. Is there a way to do this?Thanks,-J
Hello everyone, I dont know anythgin about javascript so that is why i am here, I am creating a form where I have 2 columns, one with a dropdown options and the 2nd one with a date, so if the dropdown do not = blank then I want to populate the current date, how can this be done?
I'm trying to verify existence of digital signatures (validated or not) in a PDF file using VBA code. Thanks to thread 2214538, I have code to do that. I have two issues. 1) I have to wrapper the call to "jso.getField(f).SignatureInfo.Name" if the signature field is blank otherwise VBA throws error 438 - "...doesn't support property" While I have a solution to this issue, I'm just curious to why this happens. I assume because there is no signature object? 2) I have a PDF file where I can visually see the digital signatures but my code reports the fields as blank. I do notice that they are not validated in Acrobat Pro (no blue bar across the top). Is there a way to read invalid digital signatures in a PDF file using VBA code?
Hello,I am currently working on adobe pdf digital signature. I used the DLI sample contained in Adobe PDF library.During signature calculation, encryptBuffer function (which encrypts the document hash using private key) returnsa 256 characters long hex value which is supposed to be written in /Contents dictionary item under digital signature value object.But when I inspect the value written inside /Contents in pdf document, it is 262 character long instead of 256. There are 6 additionalhex characters at the start. Can you please explain what do they represent? I have gone through all the documentation available but couldn't find the answer. DLI doesn't suite us. We are trying to implement signature support by writing signature objects directly in pdf file without using any Adobe API's. For that purpose we need clarification on those additional 6 characters written in /Contents. Your immediate response will be highly appreciated.
Dear all,I have 3 combo boxes: box1, box2, box3. I would like when I select a value in box1 to have box2 with values according to box1 and then box3 have values according to box2. I have started to write the code below. I don’t know how to finalise it to make it works correctly. CODE//First you make the values for box1.myBox1Values = ["","CAP","FOD","GOV","RET","RES","NOF","OTH"]; //Then you populate the values to box1.{this.getField("box1").setItems(myBox1Values)}; // Then you define what has to be shown in box2 when value is selectedvar DeptData = {CAP:["AGR"], FOD:["","BAK","BEV"]}; //Finally you set the values of box2 functionSetFieldValues(cDeptName) { this.getField("box2").setItems(DeptData[cDeptName]); } // Then you define what has to be shown in box3 when value is selectedvar DeptData = {AGR:["","CRO","ANI","FIS"]}; //Finally you set the values of box3 functionSetFieldValues(cDeptName) { this.getField("box3").setItems(
i am trying to set the title for the dc window by using the following code in c++.void PDFUtils::SetDCWindowTitle(const CString& title){ASTextHolder text(title);AVDoc doc=AVAppGetActiveDoc();if(doc!=NULL){PDDoc pdDoc = PDFUtils::GetPDDoc(doc);PDDocSetInfoAsASText(pdDoc,ASTextHolder("Title"),text);AVWindow window = AVDocGetAVWindow(doc);AVWindowSetTitle(window, text); // not working for now for DC version}}but it's not working for DC, where as it is working fine for adobe 11.i need to set the title for the window in DC . Please help for this.Message was edited by: Jyothi Potti
Hi, I want to get the PDF document details like document name, page ranges as a report. I can get the name and page ranges using batch sequences for batch process but I don't know how to write it as csv or xl report. When I searching in forum and google, I read it we can do it using menu item calling. But if we use Menu item we should code for folder selection, file opening and closing. How can we process that?How can I get the report for pdf files for batch process?Batch Sequences Code:if(global.dataLine == "undefined") { global.dataLine = ""; } var docName = this.documentFileName; var startPgNo = this.getPageLabel(0); var lastPgNo = this.getPageLabel(this.numPages-1); var docPgRange = startPgNo + "-"+ lastPgNo app.alert("docPgRange" +docPgR
Hi all,I have a script for adding layers that works perfectly. However, after executing this script I want to change the document properties to "fit page" and "show layers panel". Is there a way to set the navigation tab, page layout, and magnification using a script (under File>Properties>Initial View)? I know you can set those as your default in acrobat, but this script will be used by others who may not have that as their default, hence why I want to include it in my script.Thanks
I am using VBA as a platform to do some PDF manipulation. The issue I am having is that I cannot seem to get the PDF object to save if the PDF object have not been opened. Below is a snippet of the code that inserts pages to the PDF object, and then saves the pdf object. In terms of the code, I have determined that it works since I have tested the save method with the same input with another pdf object and it worked just fine. Can someone help by explaining why it doesn't allow me to save the object?Thanks!Dim NewPDF As New Acrobat.AcroPDDoc Set NewPDF = CreateObject("AcroExch.PDDoc") If NewPDF.InsertPages(j, OriPDF, j, 1, 0) Then MsgBox "Success" If NewPDF.Save(PDSaveLinearized, WritePath & "\" & sh.Cells(StartRow + j - 1, i).Value & ".pdf") Then MsgBox "Success" NewPDF.Close Set NewPDF = NothingWhen the above code was ran, neither of the success lines worked as expected.
I want to use a script to open a file and then add a watermark in one step. I have a script that, when simplified, looks like this: app.openDoc("filepath");this.addWatermarkFromFile("filepath");When I have acrobat opened to the home menu with no files open and run this script, it opens the file perfectly but doesn't add the watermark. It returns the error "this.addWatermarkFromFile is not a function". However, if i leave the document open after running it the first time and run it again it adds the watermark with no error. This rules out any filepath errors, since both lines work just not at the same time. Here's the main question:What is causing the "addWatermarkFromFile" function to fail the first time, but not the second? How do I fix it?Adding a document level script to run upon opening the document would not be beneficial for what I'm trying to do here.Thanks
On Acrobat DC when trying to convert a PDF to Word it keeps prompting i have no internet connection although I have!
Adobe Plugin created with Adobe SDK 10 and its working with Adobe professional 10 , its not working in Adobe professional 9.
All,Is there any way to make it so that if a field called "10 MARKED WEIGHT OF LOTRow1" has numerical data in it that "KG" is entered into "10 MARKED WEIGHT OF LOTRow1a" and if there is no numerical weight entered in "10 MARKED WEIGHT OF LOTRow1" that "10 MARKED WEIGHT OF LOTRow1a" is left blank. Any help is appreciated. I'm editing this on Mac for use on Windows PC.Thanks-J
I am trying to create a formula for one of my fields so that it automatically calculates it from 2 other fields. I do not know java script and am just trying to put it in as an algebra formula but of course it's not working. This is what I have:I'm trying to get the Y column to populate off of what is entered in the X column. The field is called X1 and the number I'm subtracting is the 36 which is a field called ARC and of course the result is call Y1.This is what the formula looks like in the Y field now under the calculate tab: X1-ARC=RESULT/2, so of course you can see the result is 16 but needs to be 8.Can anybody help with this please? Thanks. Sorry but I'm not a Java guru, just an Engineer trying to get by.Dean
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.