Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Hello,I hope that somebody can help me, with the next questions.I'm looking for a script that can automatic splitting and save a document (in this case 126 pages) into a maximum off 6 pages so that's means 21 (126/6) separate documents.If the splitting in to 6 pages is possible, than the next question is: On the third page off every document is a description, is it possible that this description can be the name off the file? What I want is if I save the file, than it's namend "AMENDE3333666446727181". As an example see the attachment (in Dutch), I have marked the description.... Note: the description is different every time.
I am making a document that generates pay periods and the numbers get off when I get to Daylight Savings Time. When I enter the first date, the next box adds 13, the next adds 1 to start the next pay period, next 13, and so on. I am calculating this using milliseconds and was wondering if I can add something to disable DST or at least calculate is using days so this wouldn't be a problem. Can anyone help me?
Hello,First, sorry for my english, i'm french...I actually use a script to rename layers with getOCGs().The problem is for groups of layers, I have a group by page, as you can see on the picture, but it's not really a layer so it doesn't appear in the result of getOCGs().How could i rename those groups ?Thanks a lot...
I want to open an attached pdf when i click on a part of 3d model.when i try host.exportDataObject({ cName: "MindSphere_GettingStarted.pdf", nLaunch: 2 }); it throws an error this is my complete code://startvar myMouseHandler = function( event ) {if ( event.isMouseUp ) {var myMesh = null;if ( event.hits.length > 0 ) {myMesh = event.hits[0].target;}if ( myMesh != null ) {host.exportDataObject({ cName: "MindSphere_GettingStarted.pdf", nLaunch: 2 });}}}var mouseEventHandler = new MouseEventHandler();mouseEventHandler.onMouseDown = false;mouseEventHandler.onMouseMove = false;mouseEventHandler.onMouseUp = true;mouseEventHandler.onEvent = myMouseHandler;runtime.addEventHandler( mouseEventHandler );
Hi.How do I set print options using javascript?ThanksJustin
Does anyone now the javascript formula to have a form field in Adobe Acrobat Pro calculate "Future Value" given present value, years & interest?
In a very simple Delphi program that holds an instance of TAcroPDF, if I set the .src property to a file, all is well and the pdf displays in my application.However if I call any procedure on the ActiveX control (I've tried LoadFile, Print, PrintWithDialog, GotoNextPage, GotoPreviousPage) then the application crashes after closing. This even happens if I call a procedure without loading a file. And calling Free() on the ActiveX control also throws an exceptionThe program code hasn't changed. The only difference is installing Adobe Reader DC ActiveX (version X and XI worked fine for years). I have tested this on another computer to confirm. As soon as Adobe Reader DC is installed, the problem starts.The error is:Exception EAccessViolation in module xxx.exe at 51F04CE6.Access violation at address 51F05CE6. Read of address 51F05CE6.Code below:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, OleCtrlsAdobe, Ac
Hello everyone, I'm creating an Assessment form (fillable form) for work and a review of this assessment is required six months after. The software i'm using is Adobe Acrobat Pro and the software it'll be used by at my workplace is Acrobat Reader DC. I'd like to add a button that reads 'Set a reminder to review assessment' to send a custom email to an email address and on a date identified by the worker. It can be identified by a pop-up window asking for this information or I can add fields for the workers to input this information before pressing the button. Let us name these fields futuredate and workeremail.The body and subject of the email could be from an outlook email file (common directory for all workers) or something within the code, whichever one is easier. If it is something within the code, It can read "Reminder: review assessment for client # (there's a field with the client number, its name is clientID)I'm a noob and I am probably asking for too much, any advice or
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
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.