Unlock the power of Acrobat SDK through our community.
Actividad reciente
Greetings,Facing the same problem which couldn't export PDF to Word.May I know how can I fix this ? Software : Adobe Acrobat Pro X, Version 10.1.16Machine : iMac, OS X Yosemite (10.10.3)Hope to hear from you soon. Thank you.
Once a checkbox have been checked, an alert message will appear if the age field is empty. Click "OK", then setFocus on age field.After I enter the age and click out of the age box, the message still appears another time, as if the value hasn't been committed yet.How do I show the message only once? if (getField("Run").value == "1"){if (this.getField("MaxHR").value == "")app.alert("Please enter patient's age or Date of Birth!",3);getField("age").setFocus();}}
Hello everyone, I would like to automatically add a first name to a laptop contract. I use the Adobe Acrobat from Adobe creative cloud. If someone could help me with this i would really appriciat it 🙂
Hello everyone, I would like to automatically add a first name to a laptop contract PDF (base/root is AD) before sending it to the qlient who has to sign the contract with adobe sign. I use the Adobe Acrobat from Adobe creative cloud. If someone could help me with this i would really appriciat it, if this is possible.
Do you use proofreaders marks on an Abobe Acrobat document? If you do are there any templates or add-on that can be installed? Why not just use comments?
Hi, I have been searching for an answer for this but it just doesn't exist on the internet.I want to add 2 signature fields at the end of a report template, for a company representative and also for a customer to sign. I don't want the "Fill and sign" or "Digital signature" option, but an option that is gonna make it possible to click on the field and then open a window where I can sign it with either a stylus or a finger. Unfortunately, I have been searching for a while but whatever I google, it just gives me the "how to add your own signature to the PDF", which explains how to scan a signature and the paste it wherever on the document.
Hello, how can I avoid this security warning in the AxAcroPDF when I click on a link to another PDF? The version of the ActiveEx is: Kind Regards.Michele Mancinelli.
Good afternoon Community folks! I think I'm having an issue with understanding the purpose of what util.scand is doing. This is a function that converts a date into a number of milliseconds correct?I'm building a worksheet that has a user put in a date and time (two separate fields) and a number of the calculated fields afterwards is to calculate a certain time afterwards (12 hours, 36 hours, 72 hours). In the past, I was able to use it to pull a date and increment it by 1 but now that this new sheet has a time component I'm finding myself failing to understand what I'm actually doing. var dateStringDay = this.getField("cultureStartHighDate").valueAsString; var dateStringTime = this.getField("cultureStartHighTime").valueAsString; var fullDate = dateStringDay + dateStringTime if (fullDate=="") event.value = ""; else { var date=util.scand("mm/dd/yy HH:MM", fullDate) date.setDate(date.getDate()+<A value here>); event.value=util.printd("mm/dd/yy HH:MM", date); } In the
Hi, I am trying to make a form that will count the number of days between 2 dates and will exclude the public holidays and weekends from the counter.here is my code wich works fine to exclude the weekends but does not cut the public holidays. (i added 03/01/2023 ad my holiday) var start = this.getField("start_date").value;var end = this.getField("end_date").value;var start = util.scand("dd/mm/yyyy H:MM:SS", start + " 0:00:01");var end = util.scand("dd/mm/yyyy H:MM:SS", end + " 23:59:59");var millisecondsPerDay = 86400 * 1000;var holidayArray = [util.scand("dd/mm/yyyy H:MM:SS", "01/01/2023 0:00:01"),util.scand("dd/mm/yyyy H:MM:SS", "03/01/2023 0:00:01"),util.scand("dd/mm/yyyy H:MM:SS", "03/01/2023 23:59:59"),util.scand("dd/mm/yyyy H:MM:SS", "30/12/2029 23:59:59")];event.value = dateDifference(start, end, holidayArray);function dateDifference(start, end, holidayArray) {var startDate = new Date(+start);var endDate = new Date(+end);var diff = endDate - startDate;var days = Math.round(
I have a form that i have tasks that need to be performed by person 1 and reviewed by person 2. Is there a way to have a script that checks that the person signing the reviewed by isnt the same as the person who signed the performed by signature box? I have a script that the reviewed by box does not show up until the performed by box has been signed. But currently i can still sign both. Thanks for your help!
Hi,I add a Submit button on pdf via Adobe Acrobat Pro DC, and succesfully it is working on desktop.But, it is not working on IPAD. When I click button, nothing happens.Can you help us?
Hello, I am looking to reduce the number of decimal places after averaging. The average that I calculated 3+1+1 is 1.666666666666667and it is displaying that answer, but what I would like is that after adobe calculates the average, it will only give me two decimal places. 1.67 This is the code that I am using: var nSum = 0; nCnt = 0;for(var i=1;i<=10;i++){var nVal = this.getField("Proskills" + i).value;if(!/^\s*$/.test(nVal) && !isNaN(nVal)){nCnt++;nSum += nVal;{}event.value = (nCnt > 0)?nSum/nCnt:"N/A"; After I input then event.value =(util.printf("%0.2f",nVal)); I am no longer able to change the average Can you please help me calculate an overall average and them reduce my results to two decimal places
Using Adobe Acorbat Pro DC v2022.001.20142I have a C# application which print and merge pdf using Acrobat Pro.Everything was working fine when I was using Adobe Acrobat XI Pro.With this new version, I get the following error: Creating an instance of the COM component with CLSID {85DE1C45-2C66-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80004002 No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). The code who generate the error is: Acrobat.AcroApp gapp = (Acrobat.AcroApp)Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.App")); I've checked the reference of the solution and it's pointing to C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.tlb Any idea why it generate this error and how can it be fixed? Thanks
On Internet Explorer. When I use the 64-bit version of the Acrobat add-in, it seems to launch the Acrobat.exe process, unlike the 32-bit version.That is fine, but it seems to force Protected Mode to be applied and I cannot access the UserData file from the plugin.Is there a setting that exists to prevent Protected Mode from being applied when Acrobat is launched as an IE add-in?
HelloI have 3 checkboxes for class timings and the person can only choose 1 of the 3.Depending on the checkbox ticked, a text field at the bottom (called (txtOfficeClass) is filled with text.I have searched the forum and placed the following scripts (mouseup) in each check box. It works, but i want to know if i have done in correctly (in case something wrong happens in the future) CheckBox 1(function () { // Get a reference to the text field var f = getField("txtOfficeClass"); if (event.target.value === "Off") { f.value = ""; // Blank the statement field f.readonly = false; // Allow user to enter text } else { f.value = "CLASS 1 (16:30 TO 18:00)"; // Set field text f.readonly = true; // Don't allow user to enter text }})();
I've gone through and highlighted a lot of values in a pdf using the "Find, Highlight, and Extract" tool, and now I'm trying to make a bookmark at each highlighted value. I'm trying to work something out but I keep getting errors. Any help would be greatly appreciated! var valuesToFind = ["1", "2"]; for (var i = 0; i < valuesToFind.length; i++) { this.syncAnnotScan(); var results = this.search(valuesToFind[i], true, true); for (var j = 0; j < results.length; j++) { var result = results[j]; var bookmark = this.addAnnot({ type: "Bookmark", page: result.page, rect: result.rect, name: valuesToFind[i] }); } }
Boa tardeAo abrir o acrobat está a dar o erro 205.Quem é que me pode ajudar.Obrigado
I use the function 'AVDocGetPageText' to get the '±' character in the page, but keep returning '? 'My code is as follows:PDTextSelect textSelect = PDDocCreateTextSelect(pdDoc, 0, &rect);bool ret = AVDocSetSelection(avDoc, ASAtomFromString("Text"), textSelect,true);ASAtom format = ASAtomFromString("Text");string title = "";AVDocGetPageText(m_avDoc, vecPages[i], textSelect, format, TextSelectProc, &title); void TextSelectProc(ASAtom format, void *buf, AVTBufferSize bufLen, void *clientData){ // Look at the memory of *buf and it returns 3f}
Hi All, Have read lots of different posts across the forums to try and help me understand what I need in terms of JS in Acrobat Pro, however I am struggling to find the golden nugget. My issue is two parts: 1. A simple formula/JS to calculate the start time/end time between two fields (HH:MM format) and have that total displayed in the field marked 1 (TOTAL HOURS). 2. Once the timesheet rows total over 37.5 hours in the 'NORMAL HOURS' field, the additional 'hours' spill into the 'OVERTIME HOURS' field. Eg. Total hours on the time sheet form is 45 hours, therefore 37.5 hours would be in the NORMAL HOURS field and 7.5 hours would be in the OVERTIME HOURS field. Screenshot attached. Any help on this would be really appreciated. Thanks!
I have 2 calculated fields [txtMM] and [CalcEATotal] that supply another calculated field [AVGTotal413] with their values from 0 to 10.AVGTotal413 has a Simplified field notation of "txtMM/CalcEATotal*100" but I MUST ensure that it wont calculate if either [txtMM] and [CalcEATotal] are equal to 0. If either is a zero, acrobat will throw an error no matter what page in the document you are on.While my VBA logic could probably solve this issue, my knowledge of Javascript is in it's infancy and I need help here. Thank you in advance
Dear community,although this question was already asked a hundred times, I am stuck with it for two days now and hope somebody of you can help me.I want to add page numbers to an existing PDF (at the bottom on the right side), beginning with number "1" on the second page of the document.Through googling I found out that the "common" way to do this is adding, e.g., text fields and then flattening the document so that the text field becomes integrated in the PDF.Unfortunatelly, I get various problems when I try doing that:These are the relevant parts of my VBA code so far:Dim AcroApp as Acrobat.CAcroAppDim jso as ObjectDim KurzGesamt as Acrobat.CAcroPDDocDim i As Integer, intSeiten As IntegerDim objTextfeld As ObjectstrPfadVerteilungEndlauf = ThisWorkbook.Path & "\Verteilung Endlauf\"strNameKurzGesamt = "00 Kurzübersicht_komplett_" & Format(Date, "YYYY_MM_DD") & "_" & ThisWorkbook.Name & ".pdf"Set AcroApp = CreateObject("AcroExch.App")Set KurzGesamt = CreateObject("Ac
I have an Acrobat plugin for digitally signing PDFs. It's focused on handwritten signatures and, as such, doesn't need to support either Time Stamp or invisible signatures. Is there a way to tell Acrobat not to use my plug in for those functions? Alternatively, can I tell if I'm being called for those functions and return a code for cancel/error (possibly after displaying an error message)?
Hello,My problem is that I don't understand why the fontFamily property of the SPAN object doesn't accept a method that returns an array, but if the fontFamily property is passed an array directly, everything works. To make a long story short. Here are two cases:objA = { text: "Hello, World", alignment: "left", fontFamily: ["Helvetica", "sans-serif"] }; getField("myTextFieldName").richValue = [objA] // WORKS! objA = { text: "Hello, World", alignment: "left", fontFamily: function(){return ["Helvetica", "sans-serif"]} }; getField("myTextFieldName").richValue = [objA] // NOT WORKING!I need to randomly generate a font type in a form based on a button press. Therefore I need to pass the fontFamily property the result of the function, unfortunately the console doesn't tell me anything and I can't find why it doesn't work. The text appears, other properties like alignment and textSize.. too, but fontFamily does not. var objSpan = { text: "Hello, World", alignment: "left", text
Hello,I can't move the x1 coordinate of the text2 field - the field won't change. The console does not display anything. Thanks for the advice// getField("text1").rect = [0, 500, 200, 450] — field already exist // getField("text2").rect = [0, 450, 200, 400] — field already exist // 1. case — DOESN'T WORKS var text1 = getField("text1").rect; getField("text2").rect[0] = text1[0]+100; // END of 1. case // OR //2. case - DOESN'T WORKS getField("text2").rect = [ text1[0]+100, text1[0], text1[0], text1[0] ]; // 2. CASE — DOESN'T WORK // END of 2. case
I put the date in the title in case someone else is searching and gets as frustrated as I am trying to find what is current. In the SDK docs, it says Adobe maintains a registry to assign your prefix, but has no link or other info. I did some searching and found this:https://community.adobe.com/t5/indesign-discussions/prefix-id-registration-web-page-missing/td-p/8883049 It's a few years old. I sent email to the address mentioned and didn't get a bounce but haven't received any response either. Is that current? If not, what is?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.