Unlock the power of Acrobat SDK through our community.
Actividad reciente
I have an application which supports acrobat 8.0. I want it to support Acrobat DC via inter application communication using OLE and C++. Is there any documentation for this? I am stuck with multiple redefinition compiler errors. Please help.I have added a new class using acrobat.tlb and surrounded with compilation errors.
Ich möchte in Adobe Acrobat DC Formular per JavaScript eine Zahl bzw. Zahlenkette in Text umwandeln. Könnte mir jemand ein Beispiel Script posten[ title changed by moderator – info: duplicate thread ] --> [ Duplicate thread ] Zahl in Text umwandeln [Moderator: Thread locked because double posting. For further discussion please see thread in German forum[ Duplicate thread ] Zahl in Text umwandeln ]
Hi team,I am trying to create a program which can add password to PDF file.Can you guide me to to add password using SDK?regards, Rajat
using .net/acrobat.dll, how can i code the 'Export To' 'Html Web Page'
Hello,I am creating a flyer with form fields on it, that will ultimately be flattened to read only by submit button and saved as a PDF. One of the form fields is for the end user to enter a URL. I named it referralLinkIs it possible to pull the data from referralLink and program it to a hyperlink so that after the form and PDF is flattened and exported, the hyperlink will navigate to said URL.
I applied the below formula to a field that will automatically generate a number when the proper credentials have been met; however, the field currently defaults to -$2.00. Please help! Thank you!var T1_NDR_3 = Number(this.getField("T1_NDR_3").valueAsString);if (T1_NDR_3<0) event.value = "0";else event.value = ((this.getField("T1_RV_3").value - this.getField("T1_Custom_3").value) * (0.2)) - (2)
Running Windows 7, Acrobat Pro DC, Excel vbaI'm finding that the following code does not find the active document if the active document is minimized.Otherwise the code works fine.Is there a better method? I would like my code to find a minimized window as an active document.I haven't found any reference to this in Adobe Acrobat SDK documentation.ThanksDim pdApp As acrobat.CAcroAppDim pdDoc As acrobat.CAcroPDDocDim pdFile As acrobat.CAcroAVDocSet pdApp = CreateObject("AcroExch.App")Set pdDoc = CreateObject("AcroExch.PDDoc")Set pdFile = pdApp.GetActiveDocIf (pdFile Is Nothing) ThenMsgBox "nothing"End If
Hi, hope I can find the help I need with a website programming project. I'm working on a new website and need to create a time table of hours worked in 24 hours format using PHP and JavaScript (Jquery). In short, the table should layout the days of the week and hours worked and be able to generate the total hours worked at the end of each day and week. EX:Hours Worked 03:20:00 09:30:00Total: 12:50:00Any and all help is appreciated.Thanks,JB
I want to write a calculation that will take the input from 1ST_FLOOR add 1ST_FLOOR_DEC / 10 to get a number with a decimal and subtract a value the user puts in CL_RD and place it in the box for ToBF.not sure what I am missing var num = this.getField ("1ST_FLOOR").value + this.getField ("1ST_FLOOR_DEC").value/10 - this.getField ("CL_RD").value;this.getField("ToBF") = aNum
Hello,I would like convert this formulas to work in Javascript.=(D6*(12/1+(E4-1)*(12/1+1)/2)*(1+(E4^(D10*1)-E4)/(E4-1))+D4*(E4^(D10*1)))*1D6 = 200000D10 =1000E4 = 1,07result in excel = 1099444,405please help
Helloi have a large multi line Text Field that contain multiple visits with a certain Date configurationssomething like this (Sunday 06/01/2019):I was able to collect them through RegEx and put them in a popUpMenu through this code:function ShowVisits() {var keyword = /[(](\w{6,9})\s(\d{1,2})[/](\d{1,2})[/](\d{4})[)][:]/gvar str = this.getField("HistoryT").value; var match = str.match(keyword);var begining = ["Visits"];var aGhazali = match.unshift(begining)var cRtn = app.popUpMenu(match)}What I would like to do now is to modify the function to search in the content of the Text Field and do something like setting focus or scroll down to where the match is. I have tried to search using the built in Find but it only finds the match if it is available in the screen, but if its need to be scrolled to find will show no matching is found thanks
I'm trying to automatically rename a file using fields from the document (date, clients name....) from an fillable pdf and then send it in an email. I have tried using Javascrpts but none of them have worked, it send the email but keeps the original file name. Is there a java script that will do both and would someone be willing to share it.Thanks in advance.Fred
As per https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/distiller_api_reference.pdf this documentation "FileToPDF" API accepts 4 parameters.It was working in the older version of Distiller DC.We updated the Distiller DC to version 19.10.20100325521After that it gives the error as "Microsoft VBScript runtime error: Wrong number of arguments or invalid property assignment: 'FileToPDF".We tested it by passing 5 arguments it started working fine.But if we create the script by passing 5 arguments it doesn't support the older version of Distiller.have you updated this API? or are we looking into wrong document?Can you let us know what is the issue?[Moderator: Changed the title slightly according to OP's message]
Can the javascript alert box be coded so as to display a graphic or a thumbnail of a hyperlinked destination ?Our use of Acrobat is primarily with PDF AutoCAD drawings. Our goal is to hover over hyperlinks and bring forth thumbnails of the area hyperlinked, prior to actually going to that destination.
Hi,I want to restrict users from changing font and its size even when the rich text is enabled..... or if they have changed it will be reverted back when the file is opened next time.Is it possible.Thanks
I have set up a text field to properly calculate and display a number on a scale ranging from 1.00 to 4.00. Now, using a "Custom Format Script" in the FORMAT TAB, I would like the field to display the following text: BRONZE for values ranging from 1.00 to 2.39; SILVER for 2.40 to 3.39; GOLD for 3.40 to 4.00. Any suggestions?
New(ish) to creating fillable forms in Acrobat Pro. I would like to have the text within a field change color based on the numeric value entered. Through other posts, I've learned that I have to enter a java script in the validation field. As I'm unfamiliar with java script, I'm not able to use the examples in these other posts to help...I'm not sure what I need to change to do what I want to do. The field is named "Percentage" and if the value entered is greater than 15, I want the text to appear in red. Help???
[Moderator moved from Adobe Creative Cloud to JavaScript.]I have watched more tutorials and read more articles than one should ever have to watch/read on this topic, and yet I still can't seem to find the answer for what Javascript to insert into the custom calculation script in order to display the User identity of the document. Please can somebody help, I'm a Javascript novice.Using a mac. I've tried to look at the Javascript of the existing Dynamic Stamps that come preloaded with the program, but for some reason I can't seem to see the Annotations folder in the Plug-ins folder.This Youtube video was the closest I got to coming right: Adobe Acrobat DC Dynamic Stamp Tutorial - YouTubeI inserted the following script, but it had issues with the first two lines of script and it didn't seem to like the hashtag either:var cAsk = “Enter a name”;var cTitle = “Document State for Stamp”;if(event.source.forReal && (event.source.stampName == “#templatename”)){ event.value =
I need a solution in place to split a multi line field at a certain point and fill the remaining split text into another field. I have three multi-line fields named Field 1, Field 2, and Field 3. I should say that data is not typed into these fields but rather is populated via a series of functions that grabs data from the other form fields and summarizes results in Field 1. If data does not fit in Field 1 I would like the text to overflow into Field 2..and so on. I already have the code to populate the fields.I had the idea that the easiest way to do this count the number of paragraph returns and then split when a certain number is reached. I know how to count the returns but not sure how to implement splitting overflow.. So for example, if I have this code: var count = 0;var s = getField("Field1").valueAsString;for (var i = 0; i < s.length; i++) { if (s === "\r") count += 1;}....and I want to split the text at 50 returns.. then fill Field2.Can this be done? Maybe
Requirements:Watermark around 100 pdf file of around 100 pages each with below conditions:1. 5 Pages to be watermarked for each file excluding Pages 1 - 5 2. All 5 pages for each file should be different .. ex- if File1 was watermarked on page nos. 11, 22, 49, 80, 95 then second file2 should be watermarked with different set of pages ex- page nos. 14, 18, 49, 90,99 and so.. on3. Each file must close automatically without prompting to save dialog box everytime. I am using the below script to save file but still prompting the save dialog boxvar oMyDoc = this.documentFileName;app.execMenuItem("Save", oMyDoc); this.closeDoc(true);I have the following script for watermarking and generating random number: var cMyText = util.printd("mm/dd/yyyy", new Date);var r = Math.floor(Math.random() * 100) ;if (r > 10){var first = r; }this.addWatermarkFromText({cText: cMyText,nRotation: 45,cFont: "Helvetica-Bold",nFontSize:20,aCo
Hi, We can call InDesign/Photoshop javascript from Java using applescript. Like this, is there is possibility to call acrobat javascript from Java?
Can someone please help me? I need to know how to calculate checkboxes (not fields), when two or more checkboxes have been chosen in Adobe XI Pro. I'm totally lost.This is what I have so far, but I can’t get them to calculate.event.value=0if (this.getField("CheckBox1").value!="Off")event.value=95; if (this.getField("CheckBox2").value!="Off")event.value=200; if (this.getField("CheckBox3").value!="Off")event.value=525; if (this.getField("CheckBox4").value!="Off")event.value=647; if (this.getField("CheckBox5").value!="Off")event.value=617; if (this.getField("CheckBox6").value!="Off")event.value=800; if (this.getField("CheckBox7").value!="Off")event.value=65; if (this.getField("CheckBox8").value!="Off")event.value=65; if (this.getField("CheckBox9").value!="Off")event.value=65; if (this.getField("CheckBox10").value!="Off")event.value=95; if (this.getField("CheckBox11").value!="Off")event.value=148; if (this.getField("CheckBox12").value!="Off")event.value=525; if (this.getField("
I want to display number of fields filled.... everything is working correct but the dropdown field is being counted as filled already even before it is been selected with a value;var totalfields = new Array(Text1, Text2, Text3, Text4, Dropdown1, Dropdown2);var count = 0;for (i = 0; i < totalfields.length; i++) {if (this.getField(aFields).valueAsString != "") count++}event.value = count;The above script displays 2 always i.e. it presumes Dropdown are filled beforehand .Same is the case with Radio buttons... it is also showing as filled before selecting any option.Any solution so that it should show 0.Thanks
Hi all,I have a 40-page PDF price list from a supplier which contains hundreds of prices of various products. We'd like to run a formula over every single listed price and replace our supplier's "buy" price with our "sell" price so we can forward the document to our customers. The price list includes formatting, images and colours etc which we want to retain so exporting to Excel, Word etc isn't an option.I'd like know if it's possible to create a script that can replace every single "buying" price in the document (all are prefixed with $) with our "selling" price.Our simple calcuation involves multiplying the price by X and rounding to a ceiling of $10.Thanks in advance for your help.
How would this Excel formula translate to a custom calculation script in a PDF form?=IF(A4<=10, 16.68,16.68+((A4-10)*1.67))Thanks!
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.