Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
if('Boiling Water Canner'=="Yes") {// selected - show radio buttonsthis.getField('Boiling Water Pack').display = display.visible; // show radio button} else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio button}if('Pressure Canner'="Yes") else {// selected - show radio buttonsthis.getField('Pressure Canner Gauge').display = display.visible; // show radio button} else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio buttonthis.resetForm([‘Group 1’]); // clear radio button}if(Dehydration=="Yes") else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio button}
Hello !I've made a script, activated by pushing a button, to export or copy field values from one pdf to another. Everything works fine with Acrobat Pro, but it doesn't work with Acrobat Reader DC. I'v read in other posts, that it should be possible and I really can't see anything logical, that it shouldn't be possible: I know, it's called "Reader". But this reader can change field values, properties and so on in one file. And finally, the READER can SAVE CHANGES. So why shouldn't it could change values in other pdf files !? I think, I simply made a fault in my script, so I need some help, please ! Or is it really impossible !? The relevant part of my script only needs two lines, I thought. It is like this:newDoc = app.openDoc("target.pdf");newDoc.getField("name").value = this.getField("source_field").value;Of course, the target pdf has the actionthis.disclosed = true;in document java Scripts. As I told: it works with Acrobat Pro.
Can you use a hosted acrobat DC to convert the text in an image pdf to an editable(or searchable) text before the dowloaded pdf saves to the end-users computer?
Am new to Acrobat DC. Have recently found out that I need to produce documents in inherit zoom. This isn't an option with Acrobat DC. So I am guessing I need to get a plug-in for this. Are they free or do I need to buy it?
I have an adobe variable data .pdf I want to be able to calculate the tax rate or tax percentage. How can I write a Javascript for this?
I am creating a diagnostic tool for PDFs, and one of my flags is whether the document has metadata, specifically keywords. My output from the diagnostic tool is a tab delimited file. I use the following Javascript to report the keywords of the PDF. dataLine += this.info.keywords;The issue is that when I manually delete text from the keywords field, save the file, close it, reopen it, and then run this script, the output is the exact text that I just deleted. Why is the output not blank? The document properties show nothing in the keywords field.For instance, if I type into the keywords field "test" and nothing else, save the file, close it, reopen it, and then run this script, the output is "test", as expected. Now when I manually delete "test" from the keywords field, save the file, close it, reopen it, and then run this script, the output is still "test". I would expect the output to be blank, not "test". What has not worked is deleting the c
I want to create plug-ins for Adobe Acrobat DC. I have been reading through the documentation for the Acrobat DC SDK Documentation and encountered a reference to the ASN Developer Program. According to the documentation, I can find details by going to the page for the Acrobat Development Center. That page contains no information about the ASN Developer Program. I "chatted" with an Adobe support person who didn't have a clue. The next day I called Adobe and almost randomly picked an item from the phone menu in an attempt to find somebody who would point me in the right direction to get some kind of information about ASN. I landed on, I think, a phone menu branch meant for supporting download and installation of Acrobat. The person I spoke with gave me an email address to contact in addition to a case number.With high hopes, I dutifully sent an email to wwds@adobe.com. I asked about the ASN Developer program: How to qualify. How to jo
Is there a way to control what Acrobat PDF layers are visible based on the particular OS or device the person viewing an Acrobat file is using when it is opened?I was optimistic when I saw Show/hide layers and fields on doc startup It seemed to suggest that I may be able to switch off a layer if I wasn't using a Windows or Mac machine, i.e. possibly an iOS device. Having tried other strategies that hadn't worked I thought I'd give it a go.I modified the javascript from that post to just toggle layers on or off (I wasn't worried about fields) that I had created and exported from InDesign. I added the code below as a 'document javascript'. Like so many other options it seems to work OK on a desktop but not an iOS device which continues to display all layers.// Get Layer Names function findLayers(cName) { var fLayers = this.getOCGs(); for (var i = 0; fLayers && i < fLayers.length; i++) { if
I use this code and it worked , I need to add the "Windows Login ID" with the print as " This document was printed on dd/mm/yyyy by User Name" Can you help in this to modify the code. var inch = 54; for (var p = 0; p < this.numPages; p++) { var aRect = this.getPageBox( {nPage: p} ); aRect[1] = .5*inch; aRect[3] = aRect[1] - 24; // and 24 points highvar f = this.addField("PrintField", "text", p, aRect ) f.delay = true; f.textSize = 06; f.textFont = font.Helv; f.textColor = color.black; f.alignment = "right"; f.readonly = true; f.display = display.noView; f.delay = false; }var myWillPrintScript = 'var f = this.getField("PrintField"); \r' + 'f.value = "Printed on " + util.printd("dd/mm/yyyy hh:MM tt", new Date()); \r';this.setAction("WillPrint", myWillPrintScript);
Hi,I have a form with multiple javascript buttons for users to upload files. The issue is that if someone deletes a file, and uploads it again, the order of the file is out of sync and doesnt match the button that was used to upload.ie. button1 to upload document1, button2 to upload document2, button3 to upload document3, delete document1, reupload document1 using button1document order is as follows:document2, document3, document1Sequence of the documents is important, but if I can't get around that, is there anyway to append a prefix to the filename based on the name of the button that was used to upload the document?ie. button1 to upload document1, document is named 'button1 - document1', etc.thoughts? thanks in advance!
Ik wil duizenden documenten (TIFF,Word) gaan converteren naar PDF.Echter moet de outputnaam volgens een bepaalde standaard zijn, bijvoorbeeld:123456_123456789123456_987654321Het getal achter de underscore moet altijd 9 posities bevatten.Bevat deze waarde minder dan 9 karakters, dan dient het te worden opgevuld met voorloopnullen totdat er 9 posities zijn.Voorbeeld:Input Output123456_123456789.tiff 123456_123456789.pdf123456_12345678.word 123456_012345678.pdf654321_321.tif 654321_000000321.pdfIs hier een script voor?
This is the first time I use javascript so I'm sorry if the question is just silly. I have three pdf forms (A,B,C) that I want to combine into one file. I would like to have three radiobuttons on the top of the form (A,B and C). Depending on which one would be chosen pdf form A,B or C would be displayed. The question is if there is a possibility to create some kind of panels in Acrobat XI or do I have to add visibility conditions for each object in the form?
Hello Im pretty new with this of JS on Acrobat and I usually use the automated functions from adobe, but the problem is this.. I have 3 check box from where you only can select 1 of them, each box has his value, well I need to do a subtraction of this based on the selection that you do from another number provided in another field.. something that looks like this:Total daysOpt 1 (15)Opt 2 (18)Opt 3 (21)Days to takeDay leftX numb 1 (total 1) Here should be the result of the substraction from my opt 1 and X numb 1if numb 2(total 2) Should be a substraction from total 1 and numb 2 (but i know that for this there is an option where I can select (Total 2 - Numb 2) if numb 3(total 3) same thing that total 2.. What can I do to set a code or how should I code to get that.. I mean i have the chance to split the number of each option in 3 parts like I will select Opt 1, so from those 15 i will take just 10 then the result will be 5 day left, so i will take those 5 days u
Hello,I do not have much experience in Java, please help me. I want to write such a command -> only if all checkboxes are checked then this checkbox "cb0" should be automaticaly checked.What is false in my code?var 1=getField("cb1").value;var 2=getField("cb2").value;var 3=getField("cb3").value;for (i = 1; i < 3; i++){ if(event.target.value=="Yes"){ getField("cb0").checkThisBox(0,true);} else if(event.target.value!=="Yes"){ getField("cb0").checkThisBox(0,false); }}
I currently have two buttons on my form. One to clear the entire form and another to only clear certain fields. I have added a validation code to ask the user if they saved the form yet. However I have yet to find a way to skip the next action which is the built in "reset form". I have entered a similar validation on the other button but this is easily done since its purpose is to clear the entire thing. Any help would be great thanks!
We are a law firm that regularly receives thousands of emails from clients for potential use. We are looking for a product that will allow us to do the following:1. Take outlook files (.pst files) and batch convert them to pdf (rather than clicking through them one-by-one).2. As part of that conversion, also convert any attachments embedded in the individual email files.I have been told by colleagues that Adobe Acrobat can perform this task, but unable to determine how to do so despite repeat attempts.
Hi Experts,I have problem adding new items to dropdown. Whenever I add items to dropdowns, first value is automatically set as default. I tried resetting dropdown with resetForm(["Dropdown1"]); but it does not work because dropdown default value is first item while I want dropdown to reset to none value selected.I know there is way to add "" as first item in all of the dropdown but I do not want to use this.RegardsArvind
I'm using Access VBA to work with Acrobat documents. The only problem I'm having is that if1. VBA creates an object that refers to Acrobat, then2. the user closes Acrobat,3. VBA tries to access or open AcrobatAcrobat crashes. I haven't been able to come up with a way for VBA to test whether or not Acrobat is already open, etc., like I can do with other objects.I'm using:Dim appAcrobat As Acrobat.CAcroApp Set appAcrobat = CreateObject("AcroExch.App")It would be good if Acrobat were to stay open all the time, which I'm trying to train users to do. I.e., have my application close documents, and have users close documents (instead of closing the application).Is there a way to disable the "X" in the top right corner of the Acrobat application, so users won't close the application? Then I could tell them to use File, Exit to close the application.Thanks.
Hi,Is there a solution to achieve, conversion from pdf to html rendering and integrate in my application using c# code, dll, exe.
Hello, I've created a dropdown box and clicked "custom input allowed". Each input value has an export value assigned, which then appears in a separat textfield. That works, if I select the input value via dropdown. If I write in manually nothing happens. Here the same export value should appear in the textfield. And if the customer makes an input which doesn't exist, a window should open "Check your details". Can someone help me, how and especially where I can enter this script? In the attachment my example (unfortunately you can not upload it as a pdf). Thank you in advance!
Hello everyone!I apologize in advanced if this has been done before but it is not the easiest thing to google! Also I'm not sure if this should be under JavaScript or a different forum so I'm sorry if this is the wrong place to ask!Let me briefly explain what I'm doing first.I work for as a contractor and twice every year my company goes out and does preventive maintenance (PM) on a large amount of traffic camera's and message signs. What I have set up in the field is a master PDF file for each type of device we PM that I'll open with a Laptop or iPad and enter in the state's district number, the ID of the site (CAM-09-001 etc..), the date is was done, the PM cycle number, and a long list of drop down boxes that declare the working order or condition of the things we check at each site (cabinet condition, visibility due to trees/obstructions, etc..). They're all a simple "Excellent, Good, Fair, Poor" drop-down list for the conditions fields and the other fields are just a simple fillab
I am trying to batch extract the first page of multiple (a couple hundred) pdfs and then convert those individually extracted pdfs to jpeg. I've tried the Extract to folder script but according to the Action Wizard there is a syntactical error that I can't seem to figure out. I have access to Acrobat 9 and Acrobat DC. Please help!
What I'd like to do is create something like a thermometer. I'm not sure as to how many fields I would need. I'd like to have a field to enter a number like a temperature and what time. Then another field that would calculate how many points the temperature has gone up in 60 minutes. Something like a point per minute. But, then goes down depending on the conditions, so there should be another field for that to be calculated in. I'm kinda confused as to how to do this. Any thoughts or ideas or suggestions will be welcomed. I don't know even if it's possible. I have little knowledge as to how to or what I need to do to create something like this. If it can be done with javascript, please, let me know. Thanks, guys.Field1 //enter the time, perhaps from the computerField2//enter the temp (or number) at that timeField3//calculates the points temp has risenField4//calculates the points temp has fallen
Hello,I am writing reader for PRC data to extract the 3D model data from PRC. While doing this I am not getting or decide the value for type_eligible_for_reference variable to decide weather to read the CAD ID and PRC unique ID while reading extra geometry data from PRC.Please guide me in reading the PRC data from extra geometry file structure section.Any help in reading the PRC data will be appreciated.Thanks in Advance.
I'm using this script to alert the user to click a button:if (this.calculate) app.alert("Please click the ''On'' button before proceeding.\n\n**Note:\nThis alert will appear whenever the ''On'' button is not clicked\n\nBe sure to click the ''Off'' button when you are ready to perform your calculations.\n",3);What I'd like to know is, is it possible to use the OK button in the alert to set (click the Button2) when the OK is clicked to close the popAlert window. I have two buttons that hide and show when clicked. Button2 is visible and when I click it, it hides and shows Button4. It's just to turn on then turn off. So, would it possible to use the OK button to click Button2, hide it, and show Button4? Then they can click Button4 for themselves when they are ready to. It would help streamline that process of turning the buttons on/off for the user.
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.