Unlock the power of Acrobat SDK through our community.
Recently active
Editing this post as I solved my original two problems. But I've encountered a new one. I'd like a two fields to be required only if a checkbox has been checked. One field is a text box, the other is a signature field. I don't know how to edit the Mouse Up/Mouse Down/Etc. options of the checkbox so that the other fields are required ONLY if the checkbox is checked. Thoughts?
Hi,please help me solve my javascript problem. I'm not a specialist and I can't handle it.I have in PDF form ex. four number fields. A, B, C, D.Field A is the entrance. Fields B and C do calculations (ex. A+B+C). Field D=A+B+C this is the result.Now I want to make an auxiliary field D1.Script operation. After entering the D1 value, the script substitutes the A value, checks the calculations and the D result, and works until the D = D1 condition is metThank you for any tips.EditI came to this solution, but the result is always 1 too bigfor (var i=1;this.getField("D1").value!=this.getField("D").value;i++){this.getField("D").value=this.getField("A").value+this.getField("B").value+this.getField("C").valuethis.getField("A").value=this.getField("A").value+1};
I am trying to figure out the best way (or any way) to compare and merge two PDFs. I have two versions of a document - one is clean, and the other is a working copy with comments on it. These documents are frequently updated, with new pages being added in. The pages that are added are sometimes added at the beginning or the end, but sometimes they are scattered throughout the document. It is important to have one clean copy and the separate one with the comments. I cannot figure out a good way to update them each without having to insert the pages individually on each document. What I am trying to do is to be able to update the clean version, adding in the pages where I need to, and find some way for Adobe to add the new pages into the working copy. I can perform the Compare Documents feature and be able to identify the pages that were added, but I cannot figure out how to get those added pages into the working copy automatically, while still r
How do you create a maximum on a fomula.Expense sheet10.00 Breakfast10.00 Lunch10.00 DinnerMax calculation $25.00
Hello, I have a PDF file containing some cutting marks as a spot color named "cutter". Is there a way with the PDF Library SDK to create a method that can output 2 files, one with only the cutting marks and the other without the cutting marks ? Thank you for you answers
Hi,I need to zoom a part of a 3d modell e.g. one node/mesh by javascript. I aready could select a node or a mesh but I'm not sure how I could isolate it.In the adobe GUI is very simple to do it "Select a Node"-> "Right click"-> "Part options"->"Zoom To Part". I know there are some more options in the API which are not documented: How to make spin tool defaultOption2: Is a possible to set the Camera-Object to a target like a node?Best regards,KaterK
Hi There,According to this document here: https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf it's possible to open a PDF file specifying a bunch of useful parameters. While instructions for Windows is pretty clear, it's unclear as to how/if the MacOS version even supports this anymore. I've found that it's possible to pass the file name to the MacOS app, but it won't take any additional parameters (or at least I haven't found a way how to). I also noticed that the reader app registers acrobat:// and acrobat2018:// protocol handlers on MacOS but I couldn't find any information on what the URI supports (if at all). Many thanks.
While opening an Adobe Acrobat invoice I receive the message "To view the Flash technology content in this PDE file, please install this version of Flash Player that supports Adobe Acrobat Reader and Adobe Acrobat."I have installed the Flash Player on my computer and am able to open the invoice.The problem is that I need to submit this invoice to get a warranty replacement and the company I am emailing the invoice to won't download Flash Player and therefore they can't open the Adobe Acrobat document.Now that I have this document opened within Adobe Acrobat on my computer what steps can I take to save this document in a format that won't require Flash Player to open it?
I think this may be a unique request, but I am looking for a method whereby I can include a video record button within a PDF file. So this works like this, the user of the PDF file would complete any necessary field entries and when completed would be presented with a video record button. This button when pressed would then allow the user to record and imbed a video specific to themselves, perhaps to document the fact that they have completed the entire PDF. I want to use this in lieue of electronic signature.Any thoughts?
When attempting to uncheck the "Enable global object security policy" option under Preferences>JavaScript, occasionally the box won't remain unchecked. So I'll go in, uncheck the box, close Preferences, then go right back into Preferences>JavaScript and the box will be checked again. Any idea what's going on here, and what to do about it? Update: No settings under Preferences will save when I make changes. None of the checkboxes remain checked/unchecked after I close Preferences and return to it. I uninstalled and reinstalled Reader also, no change.
Hi,Odd question...I am trying to limit users of a PDF mental health survey form to navigate through the pages with only the "next" and "back" buttons I provide for them on each page. This is because I don't want them to see future pages without first responding to the yes / no question on each page (the flow from one question to the next is very important).I have the survey set to open in presentation mode (an Indesign option) so they do not see the scrollbar in Acrobat Reader to discourage switching pages without answering the question, but I wish I could completely limit it.Is there a way to stop them from switching pages using the scroll wheel on their mouse or their keyboard without answering the page question and then pushing the "next" / "back" button?Thanks!
I can successfully sign a document using a JavaScript via the Action Wizard, but according to the JavaScript for Acrobat API, it requires that I log in to security.PPKLiteHandler using a Digital ID file (.pfx file extension) or PKCS#11 library. I would like to digitally sign the PDF via JavaScript using an enterprise-level certificate from the Windows Certificate Store. How can I do this programmatically? Thanks,Mark
Hello, I was working on an interesting project for a client of mine and I came across an interesting problem I was hoping someone could help me with? I was scanning through thousands of pdfs for some information and extracting this to Excel for processing. I used the acrobat library to work with the pdf data. The problem I was having was that when the program encountered a password protected pdf, it would bug out until the cancel button was pressed. I couldn't find anything in the library documentation on how to handle password protected pdfs so I used window api to click the cancel button. A direct side effect of this is that I am unable to do anything on the machine whilst the program is running as the windows api would activate the acrobat window.When not opening the pdf to look for the password button (and not using the windows api) I didn't have this issue as it was doing all the reading and copying text in the background. My question is this: is there a way to find out whe
how can you code so that a dynamic stamp, when selected, is placed in the exact location on a document each time
I have established communication from my vb.net application to acrobat using the following: Dim AcroApp As Acrobat.CAcroAppDim theForm As Acrobat.CAcroPDDocDim jso As ObjectAcroApp = CreateObject("AcroExch.App")theForm = CreateObject("AcroExch.PDDoc") theForm.Open(filename)jso = theForm.GetJSObject Is it possible to communicate from acrobat to this vb.net application. In other words, if something changes on my pdf i would like to do something on my vb.net application.Any guidance would be helpful.
Hello,I have a combobox that is not modifiable so the user can easily navigate through the list by pressing the first caracter.This combobox contains an element that should set the combobox property as modifiable ("Other please specity"). I have manage to code the event so it change the property of the combobox but it won't actually change he property until it lose the focus. So i am force to set the focus to another field for it to work. p.s: i tried setting the focus on the other field and then back to the combobox and it won't change the property either. var liste = getFunctionList(); var value_idx = liste.indexOf(event.change); if (event.willCommit == false) { if (value_idx == -1) { } else if (value_idx == liste.length -1) { event.target.editable = true; getField("1.1f.Unite").setFocus(); } else if ( value_idx < liste.length -2 ) { event.target.editable = false; getField("1.1f.Unite").setFocus(); } } Is there an event or a
Thank you for your HELP!!Before I start...I have research this page and have tried to apply codes that have been posted and have tried to decipher them, which I humblly say I have failed and now asking for help. So as you look at my attachment you may see some scrambled codes. I'm lost and need assistance. All I need, seems simple but apparently is not to me, is to be shown how many hours between the start time and the end time for each day minus 30min lunch break for each day and then total those hours across for a weekly totalI vaugly understand that the date will pose a problem if crossed. But my times should not cross over the 12 hour period, per se.But it seems that when I put a time group in it works perfectly but when I put another time group in it doesn't calculate correctly. For example: 0800 start 1630 finish equals 8 hours - PERFECTbut if I use 0630 start and 1700 finish this jumpts to 11So my calculations fields are as follows"SunRow1" & "SunRow2" will add int
Hi all,I'm currently working on a multipage Dokument, where the user starts with a "Setup Page" and depending on the choices on that page certain Templates are spawned and some values on these spawned pages are to be changed and some fields are set to be visible or invisible.My issue is that one function doesn't seem to actually "care" about the current value of the Field "Herz" The Functon is called amongst others on a button press.Am I forgetting about something? function D530_Herz() { // Herzphantom oder Mini Jasczcak-Phantom (D530c) if(this.getField("Herz").value == "H") { this.getField("Page3_D530_Tomo_00a").value = "Herzphantom, Tomoauflösungsphantom mit Tc99m"; this.getField("Page3_D530_Tomo_01a").value = "Typ: Herzphantom"; this.getField("Page3_D530_Tomo_04a").value = "Defekt sichtbar?"; this.getField("Page3_D530_Tomo_05a").value = "Artefakte sichtbar?"; this.getField("Page3_D530_Tomo_04c_J").display = display.hidden; this.getField("Page3_D530_Tomo_04d_J").displa
Okay so I'm new to programming within adobe acrobat. Im trying to execute a function once the ok button is clicked in the dialog box. the button is created in json.which it looks like { type: "ok", ok_id: "SubButton", ok_name: "Submit", value: Submint(), alignment: "align_right", }I have no Idea how to even attempt this ive tried googling but coming very short all the time.
I'm trying to create a script to calculate the prorated rent based upon the move-in date on a PDF form and the script keeps coming back with odd prorated amounts...the MoveInDay = 12, DaysRentIsDue = 19 and RentRateDaily = 76.37 but the event.value it comes back with in my RentProratedDue field is 2291.10 which makes no sense to me based upon the simple script below; all I'm asking it to do is basically do the following math: 76.37 * 19 = 1451.03, right? Please let me know what I'm doing wrong...thx! 🙂 {if (this.getField("MoveInDay").value > 1)event.value = this.getField("RentRateDaily").value * this.getField("DaysRentIsDue").value;elseevent.value = this.getField("RentRate").value;}
I am having trouble with a PDF File sent to me. It is all jumbled.
Not too optimistic about this one, but does anyone know if there's a way to remove the annoying default top padding in a form field using JavaScript? I've been looking everywhere and haven't been able to find a solution. Thanks!
Hi,I have one machine with Adobe Acrobat Reader DC installed which having "Run in AppContainer" setting under Edit -> Preferences -> Security (Enhanced) - Refer below screenshot. And I have another machine which having Adobe Acrobat Pro installed, in which above setting is missing on same place. - Refer below screenshot.Can you please let me know where can I find same setting in Adobe Acrobat Pro. Thanks.
Hi. I am on Acrobat XI Pro 11.0.23 - it's what our office uses. Have Win10 and Win7 machines and we get the following issue. What we wanted is to achieve a way to: 1. Make a button to Close All Open PDF docs. Found a way here - https://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm 2. I then modified the code so instead of close it performs a Save on all open docs. This I achieved with the code I posted here (user ''So What''😞https://answers.acrobatusers.com/ViewQuestion.aspx?questionId=293479 Several years ago both of these approaches worked flawlessly on a Win7 machine but now on new machines and installs it doesn't. This is how the JavaScrip-based button(s) from the above links look like: The problem now on is that when I hit either the Close All or Save All button, Acrobat throws a prompt - 'An internal error occurred' like this one:I already tried a plethora of Google suggested solutions having to do with folder p
Hi Team, Need to convert the exiting pdf to accessiblity pdf using SDK i.e we need to select the text, based on the coordinates and tag the PDF like heading, table, para etc.. using acrobat DC PRO sdk. Similar to reading order tool in Acrobat Dc pro we have already tried the code below but in the below method there is no option to convert the text run as like the reading order tool in acrobat plugin ASInt32 numTextRuns = PDETextGetNumRuns ((PDEText)pdeElement); pdeContainer = PDEContainerCreate (ASAtomFromString("LI"), NULL, false); pdeTextContent = PDEContentCreate (); PDEContentAddElem (pdeTextContent, kPDEBeforeFirst, pdeElement); PDEContainerSetContent (pdeContainer, pdeTextContent); // Replace the text element in the page with the container // holding the text element. PDEContentRemoveElem (pdeContent, i); PDEContentAddElem (pdeContent, i - 1, (PDEElement)pdeContainer); ThanksBala v
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.