Unlock the power of Acrobat SDK through our community.
Recently active
HelloI have tried googling with no luck and really need some help.I need to add 'Date printed dd/mm/yy' to my PDF docs. I have tried to enter a script I have found on line within the calculation of a 'form' but all this does is create the current date and not the actual date the doc was printed. Should I be adding something in to the actions/javascript instead? I need to text to show on the document too and not just hidden until printed.Thanks in advance
I wrote the following code to get the text from a PDEtext element, however, the AVAlertNote is appearing blank. How would I go about fixing the problem. int blen;blen=PDETextGetText(pdeText,kPDETextRun,k,NULL);char* stringBuffer = (char*)calloc( blen + 1, sizeof(char) );PDETextGetText(pdeText,kPDETextRun,k, (ASUns8*)stringBuffer); AVAlertNote(stringBuffer);
We are trying to setup a dynamic stamp in Adobe Acrobat Standard DC 2015. We have created the file and the stamp is working as a static stamp. We would like to automatically insert the current date and open a user input window to enter a line of characters. I don't have any javascript experience and we have been trying to piece together how to do this from articles on the web. What we have so far is var cDate = util.printd("dd/mm/yyyy", new Date());var cAsk = "Payment Method" ;var cTitle = "Payment Method: ";if(event.source.forReal && (event.source.stampName == "#paid_stamp")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.exhibit = cMsg;}We have gone into Prepare Form and put this into the Text Field Properties / Calculate tab of the first text filed (the date field). Does anyone have a step-by-step guide on how to make this work. It seems very complicated for such a simple requirement.
Hi,Does anyone know where I can find some information about the order in which plug_in api files get loaded when opening Acrobat in Windows?In most cases, the loading order should not matter, but I am in a situation that it matters. From my own tests, I figured out that the file & folder names under plug_ins count in the alphabetical order. B.api loads before C.api but after A\A.api. This assumption has worked for a while. Sometimes I resolved issues by renaming D.api into B.api to make it load prior to C.api.However, I faced with a counterexample today. In this situation, C.api always loads first no matter what I do with B.api, and I still have no idea how C.api can take the precedence. Perhaps is it related with plug_in extension name? And I have no control over C.api at this moment other than renaming it.Any information will be appreciated. Thank you.- eellor
I have 250 Court documents in PDF that are numbered consecutively from 1 through 250. I have a separate document which is the Case Registry or docket sheet which summarizes the court documents numbered 1 through 250. I want to be able to click on the number on the Case Registry and have the correspondingly numbered document open. I have tried the HELP and tutorials and do not see any way to do this. Is anyone aware of whether this is possible?
I am creating a form that needs a signature field which will be signed by users with touch screens. I would like to set it up so that when they click on the digital signature field it executes the Sign > Place Signature > Draw My Signature without them having to click on those options to the right. Acrobat will not let me use the Draw my signature option when a Digital Signature field is in the document. So is there a javascript that I could use on a digital signature field or on a button that would execute this? Ideally, I would like for them to click Sign, it pop up the window for them to sign with their touchscreen and then click to accept the signature. Once they accept, the drawn signature then appears on the line.
Hi,I've attached a link to a pdf indicating how I want my code to work. Dropbox - moveFields.pdfBasically the operator has 2 options to move fields one way or another obscuring or showing gaps.I basically want my code to be at the document level but keep hitting a brick wall?There are 2 sizes of fields, the code for fields named 'Gap' is working at the document level but the code for fields named 'test' won't work for me at the document level? I've had to put the script in the calculate window for each 'test' field.Any suggestion would be gratefully received
Hi everyone,I have a question about commercial use Acrobat Reader plugin to Internet Explorer. I would like to use this plugin in SCADA visualization. Document reading will be one of the features in the application that I creates. I would like to display documents in IE that uses Acrobat Reader plugin.Can I do it for free?
Hi team Is it possible to compare two pdf files using Acrobat DC sdkThanksBalamurugan v
Can I upload a pdf example to answer a javascript problem? I can't see anything in the menu anymore?
I have searched a lot on this and can't find an answer. Using CreateObject("AcroExch.PDDoc") I can currently obtain .Getfilename, .getNumPages, .Getpagemode, .Getinfo("title"), .getinfo("Creator"), .getinfo("producer") and others. However, I would like to get the file location of the document that is opened. I am trying to use .Getinfo("Location") but am not having any luck. The area in the PDF I am trying to target is seen by going to File>Properties>Description Tab. At the bottom of the description tab is an area for advanced that has "PDF Producer", "PDF Version", "Location", "File Size" and "Page Size". This is the Location I want to reference in VBA but it will not pull in the value seen in the PDF document. The reason I need to do this is because the software creating the PDF randomly assigns file names and locations within my temporary Internet Files folder and I can't consistently target the full PDF file path to finish out what I
I've been searching all over and can't find a solution to this problem.I have fields that display the current date after the digital signature field is completed. We're doing the signing via a physical signature pad (using an add-on called Topaz.GemSignPlus). When I set up the fields, it works beautifully (and I've done this dozens of times before on many other forms); it shows the signature complete and verified and the date populates into the read-only "Date Signed" text field. But when I make my form page into a template and spawn copies of the template it doesn't work. Javascripts that I have set-up on other fields (usually triggered on MouseUp) work just fine on the spawned template. I can even get MouseUp and OnBlur scripts to work from the Digital Signature field, and those will work just fine on the spawned template (but are not an ideal solution because they end up showing as a change and invalidates the signature verification). So I really
Hello again.I'd like to—essentially—have a "green light" or "pass" sound play (I have the .wav already) if a user fills out a text field correctly. Meaning: If "TRUE" is typed into a text field, a .wav will play on blur. I'd love some help working this out.Note: not all text fields will be true/false, as some will have other one-word answers that I'm seeking. Ideally, I'll have 5 .wav files for 5 possible text field responses.
When I print a word document to .pdf in Acrobat I often wantto have the document include pages from different documents.Often I will want to add a supplement, for example, or combinedifferent pieces into a single presentation.I can't find a way to have Adobe "wait" for the next parts of thenew .pdf document; instead, it will not print until you give it aname and a "save-as place," and when you do it automaticallycloses.So to make a .pdf from several different documents, you have to "print" them allto .pdf separately and then try to combine them. I am looking for a way to add more pages to the document beforeAcrobat names and closes it.
I have seen several people trying to do a similar thing in this forum, but I didn't see an actual working solution...I have a livecycle pdf document that when it opens, runs through a loop loading specified xml data files, and saves the files, with the saving done by a trusted function. All that works perfectly. All I want to add is applying a security policy to make the files read only. My .js function looks like this:var ETASaveAs = app.trustedFunction( function(oDoc,cPath,cFlName){ var aMyPath = oDoc.path.split("/"); // Remove old file name aMyPath.pop(); // put subdir path aMyPath.push(cPath); // Add new file name aMyPath.push(cFlName); app.beginPriv(); // apply security policy var oMyP
I am trying to create a multiple option dropdown from a result in a previous box. for example. if you select "740" then you have can 1/2,3/4, or 1.0 if you select "560" then you can have 1.25, 1.5, or 2.0var v1 = this.getField("Series").value;if (v1 == 740) { event.value = "1/2,3/4,1.0";}only the 1/2 shows up and i need all three to be an option to select.
I've created several form fields using the "Prepare Form" option and I wanted to set the properties to auto expand depending on the amount of text that is entered without scroll bars and that will display all the text without cutting it off. I've searched for a solution online and it looks like this has to be done using Javascript. Can this be done within Adobe Acrobat or a separate application such as the ExtendScript Toolkit? Also, I'm not to savvy when it comes to coding so any help with this would be greatly appreciated!Thanks,P
I have a web application that takes an empty PDF form and FDF data, populates the empty PDF form with FDF data(Key-value pairs) and sends this PDF file as response. Along with the FDF data , I also have some buttons that I add to the PDF form. These buttons have navigational URLs to work within the app. I add these buttons using javascript and FDFDoc API.Here is the code snippet. FDFDoc fdfDoc ( This comes in as input) fdfDoc.SetJavaScriptAction(button.getButtonName(),com.adobe.fdf.FDFActionTrigger.FDFUp, "this.submitForm(\""+ button.getButtonURL() + "/openPDFAction.do"+ "?pageAction=" + button.getButtonPageAction()+ "&returnPage=" + button.getButtonActionPage()+ button.getButtonParameterList()+ "#FDF\",true,true);");textButtons += "setBtnTxt('" + button.getButtonName() + "','"+ button.getButtonTitle() + "','"+ button.getButtonDescription() + "');\r";fdfDoc.AddDocJavaScript("Onload", textButtons);(The javascript is setting a label for the buttons and an forward URL upon
How do I go about running the Interapplication Communication samples after I build them in visual studio?
I've just read this very helpful article:https://acrobatusers.com/tutorials/global-object-acrobat-javascript... and in particular the security implications of the global object.I've used the global object to pass variables between scripts within the same PDF document.Is there an alternative to the global object for this purpose?Many thanks,David
based on this tutorial: https://acrobatusers.com/tutorials/popup_windows_part2 , i would like to use a button where a pop-up response box appears where it ask for a password before Submitting the form.var cRtn = app.response ({ cQuestion:"Enter the password to Submit this form:", bPassword:true, cDefault: "test", cLabel:"Password"}); if(cRtn && cRtn.length) { // Code to submit form} else app.alert("incorrect password"); i haven't used app.response yet, so I don't know the work around for this one.Thanks in advance
how do you make one field equal another field while creating a formfor example "customer name" equals "print name"
Hi,we're installing the following Acrobat Products on Windows 10 with Office 2016:Acrobat Standard X EN - 10.1.13Acrobat Professional X EN - 10.1.13Acrobat Standard XI EN - 11.0.10Acrobat Professional XI EN - 11.0.10Unfortunately the ribbon is not visible even if the AddIn is on.See example Picture with Office 2010.How it should look like - The Ribbon:Do you have any idea?Have a nice weekend!Cheers, Marcus Spahn
Hi All,I want to convert my pdf file into word(.docx) and processing that converted file using C# to remove tables from that.So, I have tried the trial version of both Acrobat DC and Pro XI.But found some major difference that, while converting pdf using Acrobat DC, the whole first page of my pdf are converted in table format but while converting using XI pro that is not happen means XI Pro gives the proper format.As I know that DC is advance version of XI Pro. So why this happend?Thanks in advance!
Hello Everyone, Adobe reader has introduce protect mode concept after X version. We are now developing some plugin for Reader, as suggested we need create a customize PIBroker for some specific operation. I have downloaded SDK but not sure how to use PIBrokerSDK to create a customize broker process, can anyone share me some experience or do you have any examples? Really appreciate the help!
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.