Unlock the power of Acrobat SDK through our community.
Recently active
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
Hello, Thank you for any help in advnce. I would like to imput a number in a text box and then have a radio button check atomaticly. 2=<6011= 500-6000 = >499 For example Someone would put 550 in the text box and then that would atomaticly triger the 1 radio button.
I am trying to calculate the number of times N/A is selected from a drop down menu on each page to a total field on a form in Adobe Acrobat Pro DC. The current drop down options are 0, 1 and N/A. On one page, there is 1 column of down downs and I have the selection appearing in the total column to tally. The next page is 3 columns of 7 rows which total from left to write to a column to total the selection.
i was told to post here for help. something about Java script that i know nothing about. i have a 300 page pdf file that needs to be watermarked individually for over 100 recipients. how do i do that without having to go into the PDF each time and change the name? thanks.
hello,I have a checkbox and would like to change the color of an other field depending on activating the checkbox.the other field isn't an empty field, there is already text in it. is it possible only to change the background color of this field if the checkbox is activated?can you please help me
Hihi Pls advise how do I make the image field uneditable or lock or compress or flatten such that user not able to click and add a new image? This is the code i used but it seems not working: -quote-this.getField("Letterhead1_af_image").readonly = true;-unquote- All other text fields are working well. Thanks,Yixiang
Hello All, how are we going today? 🙂 I just had a quick, yet strange question about Adobe Acrobat Reader. I was just wondering if anyone knew what programming languages have been used to construct Adobe Acrobat Reader? Is it perhaps Javascript, Python, C++, or any other coding languages? Perhaps a combination of several? I am just a junior coder and I absolutely love the way Adobe Reader works! 🙂 I hope to start to build a small project similar to the way it works and was wondering if I could please have an idea of what coding language I could start off with 🙂 Thank you so much for helping me, have a truly fantastic day!! Kindest regards,Adobe786.
I have already a lot of different pdf forms used to register learners as they start their apprenticeship with my company. Different programs mean different length. Long story short, I have this idea to make the form more convenient where people feed in information like "Learner's name", "Coach", Start Date", choose the programme from the drop down list and click a button and corresponding forms are generated. I am using Adobe Livecycle. However, I got stumped on calculated date field. 1. How do I calculate the EndDate of 18 months minus 1 day from the StartDate. I tried using the script that works on Adobe Acrobat Pro for my current forms but for some reason it doesn't work in Adobe LiveCycle. I have a StartDate field for people to input the info and EndDate field is automatically calculated. var date= util.scand("dd/mm/yyyy", this.getField("StartDate").value);date.setMonth(date.getMonth()+18)date.setDate(date.getDate()-1)if (this.getField("StartDate").value!
Is it possible to remove an event from a field with JavaScript?I used the setAction(); method to create OnFocus and OnBlur events on an array of fields to create an auto text size attribute, but there are some use cases of the form that require the event to be removed. The code is a doc level function and triggered by a combobox.I wasn't able to find any documentation in the SDK for my issue.I was able to get it to work the way I wanted by making the events blank based on combobox selection such as (fieldName.setAction("OnFocus", " ");), but I feel that's more of a workaround. Is there a better solution?
Not able to see chinese text in some of the system & some of the system its working fine. after analysisMachine which have reader 2015 its able to see chinese charcter & machine which have reader version 2019 its not able to see chinese charcter. error msg "need to install font pack to display properly" , we cant ask end user to install the font pack. we trying to embedded font in pdf But its failing. Need your support to embedded the font Using acrobat pro 2015.
Hi,I would like to create a dynamic stamp for Accounts Payable stamp. I want to have three 3 raws & 2 columns stamp as Below. I have attached an image of below._________________| Date | ||Code | ||Signature| | I want to type the date & Code on the soft copy, then send it for approvel.Can someone please help me with this?I really appreciate it.Thank you.
Is there a script that will take the users imput & convert to all caps? I'm using Adobe Pro XI. Thanks for the help.
Hi guys, In my Acrobat plugin I have replaced the AVAppSaveDialogSEL. I do this to track what happens after my customers issue a Save As on a document. My customers have noticed that when they export a PDF to Word that the resulting Word file is no longer launched automatically. If you remove my plugin and export a PDF to Word, the new Word document is launched. Is this a limitation of overriding the AVAppSaveDialog?Thanks.
Hello All,I am using the JSO object and get field method to retrieve the values of dropdown lists from a form and place them into a variable which is then placed in a spreadsheet. In the following code the mobjJSO has already been initialized. The value of the array is the name of the dropdown list that is Skill_1. I have confirmed the name and that it is on the PDF form. I have other dropdowns that this appears to work correctly to bring back the value, but for this one I actually get the number of item that was chosen in the listing instead of the text. For instance, if the user chose Data Entry below returns a 2 for the second item in the list instead of "Data Entry". Does anybody know what I am doing wrong? I just can't seem to get this to work. strValue = mobjJSO.getField(mobjLookupArray(i, 0)).Value Thank you!Thayana
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.