Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
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!
Hi all;I have the BasicPlugin example working!!! Built with VisualStudio 2015 and no problems.But sooner or sooner I'm going to hit problems. How do I run under the debugger when I do?thanks - dave
I am trying to do the following. BasicPlugin.api calls a managed C++ DLL. That DLL calls a C# DLL (which has all the code I want to add to the plug in).According to VisualStudio's debugger, the plugin is finding, loading, & calling the managed C++ dll. It is failing to find the C# dll.According to fuslogvw.exe, neither of them can be found because it is looking in file:///C:/Program Files (x86)/Adobe/Acrobat DC/Acrobat for the files, not C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\plug_ins.What's the solution for this? The only thing I can think of is to explicitly call LoadLibrary() which strikes me as kludgy.Or maybe have the C++ plug-in directly call C# but that is a lot more complex and brings COM into the picture (yuck).thanks - dave
I am going nuts trying to figure this out. I've browsed past forum posts and none of them seem to apply to my particular situation. I have a form ("primary.pdf") I created in Acrobat XI with a button that runs a javascript on Mouse Up that takes its form data and inserts it into another form I created ("secondary.pdf"). The two files are in the same directory on a Windows network server. The javascript on the button has the following line 38: app.openDoc("secondary.pdf", this);When primary.pdf is open on a windows client running Reader XI, I can click the button and the script works great. When primary.pdf is open on a different windows client running Reader DC, I get the following error output in the console: NotAllowedError: Security settings prevent access to this property or method.App.openDoc:38:Field Button1:Mouse UpThe only way it will work in Reader DC is if I disable Protected Mode at startup (in Preferences -> Security (Enhanced)), but this has obvious negative ramificatio
I am trying to run a multiple variable statement. When i run the statement individually it works, but one I combine multiple lines it only reads the last line. could someone tell me where I am going wrong?this.getField("Capacity").value ="";if (this.getField("Media").value == "Liquid" && this.getField("Orifice").value == ("D")&& this.getField("Series").value == ("740")){this.getField("Capacity").value = ((this.getField("Area")).value *4.814)*.791*Math.sqrt(62.37*(this.getField("PSI")).value*1.1)};this.getField("Capacity").value ="";if (this.getField("Media").value == "Liquid" && this.getField("Orifice").value == ("D")&& this.getField("Series").value == ("741")){this.getField("Capacity").value = ((this.getField("Area")).value *4.814)*.791*Math.sqrt(62.37*(this.getField("PSI")).value*1.1)};
I have a drop down field with 65 or so choices. Based on the selection, I need specific buttons to be visible and other buttons to be hidden. I have a working version of the cod but is is far too long to fit in the 1100 lines available. var layers = this.getOCGs();var v = event.value; for (var i = 0; i < this.layers.length; i++) {if (layers.name == "AARP" && v == "AARP"||layers.name == "AETNA" && v == "AETNA"||layers.name == "AFFINITY EXCHANGE" && v == "AFFINITY EXCHANGE"||layers.name == "AFFINITY HEALTH" && v == "AFFINITY HEALTH"||layers.name == "AFFINITY MEDICARE" && v == "AFFINITY MEDICARE"||layers.name == "AGEWELL" && v == "AGEWELL"||layers.name == "ALICARE" && v == "ALICARE"||layers.name == "AMERICAN PROGRESSIVE" && v == "AMERICAN PROGRESSIVE"||layers.name == "AMERIHEALTH" && v == "AMERIHEALTH"||layers.name == "APWU" && v == "APWU"||layers.name == "AXA ASSISTANCE" && v == "AXA ASSISTAN
I have a word document with a series of heading types, which when printed or created using either the word export or the acrobat create tool blurs the bulleted Number, both in the contents page and on the related page in the pdf.Any idea?
OS : windows 7Acrobat Version : Adobe Acrobat Xi (Engilsh) 11.0.2Would you please help me?when I open the 가나다.pdf (가나다 is 2bytes korean character) Application stop pop-up.For more details. APPCRASH message but, I cannot find this issue.
is it possible to do this in Acrobat using javascript?Thanks,Reymund
How do I make layers/optional contents expanded by default?
Sorry, I am a beginner but cannot find the exact answer in the previous questions.I have an adobe form with a text field (formatted to time HH:MM) in which the user enters a time in the format HH:MM. There is another text field, this one returns a numerical calculated value (which varies dependent on other inputs). I need the form to be able to add the value of the second field to the inputted time and return the answer in a third text field as a time in HH:MM. Please help
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.