Unlock the power of Acrobat SDK through our community.
Recently active
Does anybody know if there is setting to fix this problem of mine when saving pdf as tiff/bmp.Application Version : Acrobat Pro XI/Acrobat Pro DC 20171. open a pdf file with text as outline.2. saveas pdf to tiff3. change tiff setting resolution to 300dpi4. continue with saving as tiffafter examining the saved tiff file carefully, some text (japanese fonts) with 1-2px space will look like it is being filled by the color of the text. looks like anti-alising is not performed during saveas, hence the filled effect.Note: the problem disappear when the pdf is exported in 600dpiSide by Side Comparison of text
What would be the best way to automate with JS for changing a specific layer in PDF to have is Print Initial State to «Never Print»? Is it possible?
I have a PDF set up with a dropdown. The dropdown named "Country" allows users to select their Country/Region. I have 27 other layers in my PDF, each having an image of a flag. They are stacked on top one another. My hopes is to have the layer toggle from hidden to visible based on the selected country in the dropdown. I found many topics about buttons or checkboxes, but could not find anything based on dropdowns.Please find my PDF through the link below Shared Files - Acrobat.com
Is there a way with javascript to Save a PDF Form with the Reader Extended PDF option activated?I was expecting to be able to do so with an Action, but this is not available.Thanks!Jean-Claude
just realized that it is possible to edit PDF files using javascript.I have some, very small, experience in the past writing controls in javascript but honestly I don't know how to edit a pdf file using this language.I especially don't know where to begin...May someone help me?examples and steps to begin are really appreciated 🙂thanks!
Does anyone know which PDF viewer on mobile currently has the most support for the javascript object model. I am particularly interested in forms support for functionality such as showing/hiding fields, validation and formatting. Adobe offerings are really inadequate in these areas.
I am trying to do an if then statement on a PDF form.I have the following formulas in excel and would like help implementing them in PDF.here are the name of the fields on my PDF form.
I have a button labeled Military. When a user clicks on that button, I have a window that pops up asking if they're Active Duty, National Guard, or Reservist. I'm asking them to input a number representing one of the three choices and then another field auto-fills their choice when they click OK. Otherwise the field is blank. Here is what I have so far, but nothing is auto-filled into the other field:var vMil = this.getField("13: Persona");// Display Response Boxvar vMilInfo = app.response("Input the number representing your military status.\n\n1) Active Duty\n2) National Guard\n3) Reservist"," [Box 9 - DESIGNATION OF PERSON]");switch(vMilInfo){ case "1": vMil.value = "A = Active Duty"; vValidResponse = 1; break; case "2": vMil.value = "N = National Guard"; vValidResponse = 1; break; case "3": vMil.value = "V = Reservist"; vValidResponse = 1; break; vMil.value = ""; }I'm doing this in
Здравствуйте! Помогите, пожалуйста. В Adobe Acrobat Reader DC 2017.012.20098 при нажатии на ссылку возникает предупреждение "Этот файл pdf пытается загрузить: javaScript.RelatedTopic1.click(). Продолжить?". При нажатии на "Да" ничего не происходит. Что делать? !
Hi folks,Is there any way to automatically duplicate the tags when a page template is spawned with a script like this:var a = this.getTemplate("MyTemplate"); a.spawn(this.numPages);I added this script to a button in Acrobat. I want to achieve a flexible form sheet, which can be duplicated if the user needs more lines to be available. The duplication works with the content and the form fields but not with the tags.Thanks for your help!Stefan
Apologies - this is probably very basic but I can't find a solution anywhere for this. I'm running a script from user / privileged directory. Purpose of the script will be to run through a large number of files and add a comments box to each one. However, I'm falling over at the first hurdle.I open acrobat and the file "s.pdf" is opened automatically. However, script stops at the next line with message:"TypeError: myDoc is undefined2:Folder-Level:User:java_file.js"addAnnot line runs fine from console using "this" rather than myDoc. Any idea why this isn't working?Full script is below. Plan is to extend this to include a large number of files each with unique comments.[in java_file.js]1. var myDoc = app.openDoc("/C/MyTemporaryFolder/s.pdf");2. myDoc.addAnnot({type:"FreeText",page:0,rect:[0,1142-200,200,1142],contents:"The quick brown fox"});3. mySaveAs(myDoc,"/C/MyTemporaryFolder/","te.pdf");4. myDoc.closeDoc(true);[in a separa
I'm new to Acrobat VBA. What's a recommended approach to converting multiple single page .TIF files into a new, searchable .PDF file?Something like:create new .pdf filefor each .tif file open .tif file convert to .pdf format add this page to new .pdf filenextmake the new .pdf file searchablesave the new .pdf fileI've seen in some of the other posts that opening a .tif file with the "AcroExch.PDDoc" works but that it's not supported. I'd like to build on supported approaches, if possible.Thanks for assistance.
Is there a Java script that dynamtically tells the submit button to go to a specific email depending on which item is checked
I am unable to locate the file location.
I found this code on web... But I don't know if this works...var map = new google.maps.Map(document.getElementById('map'), { center: {lat: -34.397, lng: 150.644}, zoom: 6});var infoWindow = new google.maps.InfoWindow({map: map});// Try HTML5 geolocation.if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { var pos = { lat: position.coords.latitude, lng: position.coords.longitude }; infoWindow.setPosition(pos); infoWindow.setContent('Location found.'); map.setCenter(pos); }, function() { handleLocationE
Hi..I'm trying to export my form data only, like (user name) and (Form Number) ...etc to text file, i used the simple command to export the form this.exportAsText();but how i can choose specific fields to export also without field names because its abstracted tech names!.Thanks in Adavance
Dear all,I'm looking for a script to enable the display of the (animated) progress bar during the execution of any kind of script.I tried various combinations with this code found on the forum, without success :var tObj = app.thermometer;tObj.duration = 1000000;tObj.begin();tObj.value=i;for(var i=0;i<100000;i++){ tObj.text = "Processing, please wait";}tObj.end();I only succeded to display the progress bar window, but... without animation during the process of the function.Would anyone have an idea how to combine this code with the execution of a function in order to see the animated progress bar during the execution of that function?Thank you in advance and best regards.
Hi Community!I'm fairly new to making digital interactive forms, but skilled enough that I wanted to try to make some auto calculations in the document. But some questions rose up, and after a ton of searching (probably in the wrong places) I couldn't find a answer to them. I attached a link to the file in question: got to file. So I would like to ask you:1. Is it possible to make a calculation within 1 one column. I've made a document in wich the customer can manually fill the columns with data. Now is my question, if it's possible to make a calculation within that column, like the sum of all lines of data in the column "bedrag" will show in "sub-totaal". Or do I have to chop those colums up to smaller textboxes? I hope not ^^!2. I tried to find a introduction to JS coding in Acrobat but can't seem to find one. I have found some instructions on the basic option but cant seem to find out how or where I can find more instructions.I Would like to make the "sub-totaal" column x 0.21 show
I have Acrobat X Pro. I installed "Create Bookmark Report" action. I opened a file that contains several pages of bookmarks and the new action appeared in the action list. It appeared to run fine, and it generated a bookmark file, but the file is empty.
Dear friends,Now if I want to hide the button' icon I use this method:someButton.buttonPosition = position.textOnlyBut this method only hides the icon - the icon remains "in memory" and immediately re-appears if I use buttonPosition = position.iconOnly.I want to delete the icon completely - could you please help me with proper method (without blank buttons).Thanks a lot!
Why don't my fillable fields show as highlighted any more?
An fdf file has been exported from document A and saved. It’s location and name are constructed from two variables, path + myFilename + ".fdf".I know that the file name and device independent path are correct.I placed a hidden field in doc B to receive the value of path + myFilename + ".fdf". Objective: after doc B opens I want doc B to import my saved fdf file.I am assuming that I need to pass the value of path + myFilename + ".fdf" to a field in doc B, and then tell doc B to import that fdf file.Here is the most recent of many unsuccessful attempts to achieve my objective.//fields in doc Avar myFilename = this.getField("txt.ClientFileName").valueAsString;var path = this.getField("txt.Path.Client").valueAsString;var parentPath = this.getField("txtL.Path.Parent").valueAsString;var forms = this.getField("txtL.Folder.Forms").valueAsString;var docB = app.openDoc("" + parentPath + forms + "PowerOfAttorney_Seller.pdf");var docBSource = docB.getField("txt.dataFile");
I have a script that opens another document, doc B, and brings it to the front. I want to add an app.alert to the script that tells the user to do something with doc B. However, no matter where I place the app alert, i.e. before or after "docB.bringToFront()", the app.alert prevents .bringToFront() from working. If I remove the app.alert() then docB is brought to the front. I would appreciate your suggestions. Thank you.
Hi there,Admitted JavaScript idiot here. Need to calculate number of months to 2 decimals between a move in and move out date.I got it down to the number of days using what's below.To make it easy, I only need to take the result from this script and divide by 30.I do not need years. So a calculation of more than 12 months is fine.Could someone help??Thank you!!// Custom calculate script(function () {var sStart = getField("MOVE_IN_DATE_CLIENT").valueAsString;var sEnd = getField("MOVE_OUT_DATE_CLIENT").valueAsString;var dStart, dEnd, diff;if(sStart && sEnd) {dStart = util.scand("mm/dd/yy", sStart);dEnd = util.scand("mm/dd/yy", sEnd);diff = dEnd.getTime() - dStart.getTime();event.value = Math.floor(diff / 864e5);} else {event.value = "";}})();
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.