Unlock the power of Acrobat SDK through our community.
Recently active
Hi,I am developing a c# code trying to implement pdf editor. I need a page to show the pdf and allow the users to add annotations, redact and save the pdf. Can you help with a sample code. Please guide with the steps that need to follow to get it working in C# web application page.Please help me to how to have the editor tool with all the menu items.
How can I create these bookmarks into a structure that is Tools > No Color, Black (Ground), 032 (Red) (Battery Power) (Bookmark names under the Parent bookmark Tools). Then I also need to have it add a javascript to the bookmarks (ie No Color bookmark would run a function noColor();)I found a tutorial I believe Thom Parker created on creating bookmarks....but being fairly new to javascript in Acrobat I don't think I really understand what his function is doing.var checkedOne = 0;var checkedTwo = 0;var checkedThree = 0;var foundLayers = [];var ocgArray = this.getOCGs();for (var i = 0; i < ocgArray.length; i++) { if (ocgArray.name == "No Color" && checkedOne == "0") { foundLayers.push(ocgArray.name); checkedOne++; } if (ocgArray.name == "Black (Ground)" && checkedTwo == "0") {
Hi,i hope someone can help.I have PDF files that i want to merge, the problem is that the fillable Fields are all same have.After merging all fillable Fileds have the same valuesKind regards
I have a portfolio with several forms. How do I make the portfolio link the required fields to mirror one text field? For example, in all of the forms I'd like text fields "owner's_name" to all reflect the same entry. The same goes for text fields "owner's_location" and "project_name". Thanks in advance!
I would like to see if anyone is able to provide some assistance with configuring the Default State within the Layer Properties to always be "off". I create PDF's from AutoCAD that contain several layers (more than 50) that I would like for them to initially be turned off and then have the option to turn them on one at a time. Currently when I create the PDF's I manually go into the layer property for each layer and manually set the Default State to OFF. However this is very time consuming and when modifications are needed to the project and new PDF's are created this process is started all over again. Thus taking hours to perform a simple task. I am hoping that there is someone that can provide some assistance with how to automate this simple task or maybe there is a configuration setting that I just have not discovered to set this value to off as a standard default setting.
Could someone please assist. I am getting a syntaxerror:illegal XML character 1: at line two on the following script:var oMyDoc = <... PDF being operated on ...>app.execMenuItem("Save", oMyDoc) ;Thankyou in advance
Hi everyone.I´ve got this problem that one of my check boxes didn't hide again after clicking on my reset button as it should do.The code behind of it is this one:this.getField("box").display = (this.getField("s").isBoxChecked(0)) || (this.getField("s+r").isBoxChecked(0)) ||(this.getField("g").isBoxChecked(0)) || (this.getField("g+s").isBoxChecked(0)) ||(this.getField("g+s+r").isBoxChecked(0)) || (this.getField("o").isBoxChecked(0)) ||(this.getField("o+").isBoxChecked(0)) ? display.visible : display.hidden;So it should just hide or show on the choice of the user. Can someone see what I'm doing wrong?I'm sorry for my bad English.
Hello. I'm going to preface my question by admitting up front that I have *zero* knowledge of JavaScript and I have spent the morning searching the web and this forum for answers to my questions but nothing has worked so far.I'm trying to create a form for my leasing agent (who somehow manages to corrupt my Excel spreadsheet despite password protection AND locked cells) for his leasing commissions. I have a drop down field called "DealType" where he can choose the options "New Lease / New Tenant", "New Lease / Existing Tenant" or "Lease or Option Renewal". He then goes along and enters the rent components, which I have subtotaling into a read-only field called "TotalRent".I want to create a read-only field called "CommissionDue" which would read something like this in Excel-speak:If DealType="Lease or Option Renewal",TotalRent*50%,TotalRentUsing articles from Thom Parker, I put this script together:event.value = "";var a = +this.getField("DealType").value;var b = +thi
I have three fields in my PDF form.1st Field : CurrentDate (format date)2nd Field : Number of Days (format numeric)3rd Field : ExpiryDate (format date)What I would like to happen is when I input a date in CurrentDate, the ExpiryDate will be computed using the formula below:ExpiryDate = CurrentDate + Number of DaysThanks in advance.
Hi,I wondered if it is possible to do the following:a.) Connect to a database using the ADBC object and loop through the records.b.) If there are 2 fields in the database 'FilePathAndName' and 'ActionScriptName', can I loop through the records, opening each doc object and running an Action Script based on it's name.ThanksThe ADBC object is used in conjunction with the connection and statement objects to interface with a database. These objects constitute Acrobat Database Connectivity (ADBC), and provide a simplified means of using ODBC calls to connect to a database and access its data. SQL statements are passed to thestatement object’s execute method in order to insert, update, retrieve, and delete data.ADBC
hello all,I used Adobe Reader AstiveX ,1.loadfile XXX.pdf2. Printallthen show a warning ,like this how to disable this warning ,i dont need it .thank u
I have a script execute upon form signature that attaches the saved form to a new email and fills in the subject and part of the body. On the previous version of Acrobat Pro DC this worked great. We just updated to 2019 and the same script now attaches the FDF rather that the PDF. What do I need to change in the script to make that happen on a user's machine?For reference, the script is below:this.mailForm(true,"deptmail@company.com","","","Form submission");I know I can select the format to attach when using the 'Send Form' action, but this needs to be scripted so I can modify the subject and body of the email.Thanks!
I've used both of these approaches successfully but would like to know which is the preferred way to add numeric field values? a. Is example 2 preferred to example 1, or 1 preferred to 2? b. When adding a series of numbers as in these examples, is it always preferable to enclose the number variables in parenthesis? c. In example 1, is using "this.getField" preferred over "getField" d. Is there a better way to do this? e. Does either of these approaches encourage concatenating values vs. totaling their values, so that 1 + 2 + 3 + 4 = 1234 instead of = 10?Example 1var m01 = getField("num.CD.M.01");var m02 = getField("num.CD.M.02");var m03 = getField("num.CD.M.03");var m04 = getField("num.CD.M.04");var creditsTotal = this.getField("num.CreditsTotal"); creditsTotal.value = m01.value + m02.value + m03.value + m04.value;Example 2var m01 = +getField
Hi. I have created a form in Acrobat Dc using form fields to input data, then finalised by initiating an actional button to make content 'read only' which was configured using a java script with mouse up action. This form is saved in an EDRMS as a template to allow the end user to raise automatically in their respective folder to submit for approvwl. When tested by a user that has adobe pro dc installed this works well and releases automatically once the form is completed and made read only by iniating the button. However if this action is completed by a user that only has Adobe reader, the form will launch another 'save as' window which will require saving the form through navigating back to their folder to save, even though the original form (generated by the template) is still in edit mode. Hope this makes sense, appreciate any assistance. Regards Annemarie
I have no javascript experience at all, but a client has told me it was possible to have scrollable content within a PDF. It would look something like this, but on an interactive PDF. I can create interactive buttons and forms, but It seems that only javascript can create scrollable text/content like they are asking for. I just want to confirm if this is the case, and how difficult it would be for someone to accomplish this. Really appreciate any help from the community!- John
Trying to convert following formcalc script to javascript, and not getting to work. Just wondering if someone could take a look at and possibly convert to javascript? Thank you so much! IF(Personnel_nab>=0,Personnel_nab+-Personnel_osb)
I’m working in Acrobat DC I’m creating a business card template. The fields are EmpName, Title, PhysicalAdd, Telephone, FAX, and EmailAdd. My dilemma is with EmailAdd. The employee can choose to have their email address on the card or not. Below in span 5 you will see that I have added the @HSa.co.merced.ca.us to the span. All the worker does is enter the first part of their email in the EmailAdd field. If the employee leaves the EmailAdd fieldblank/empty, @HSa.co.merced.ca.us will still print on the card. How can I accommodate for an blank/empty EmailAdd field? var spans = event.richValue; spans[0] = new Object();spans[0].text =this.getField("EmpName").valueAsString + "\r";spans[0].fontWeight = 700;spans[0].textSize = 9; spans[1] = new Object();spans[1].text = this.getField("Title").valueAsString + "\r \r";spans[1].fontWeight = 700;spans[1].fontStyle ="italic"; spans[2]= new Object();spans[2].text = this.getField("PhysicalAdd").valueAsString + "\r \r"; spans[3] = new Object();spans[3]
I am new to javascript. I have a PDF form that adds all the total services [TOTAL SERVICES COSTS]. The next field is TOTAL SERVICES COST 2, where I have used a javascript to deduct 10% for pre pay. It is in the custom calculation field and reads [event.value = Number(this.getField("Total Services Costs").valueAsString) * 0.9]. It is not calculating correctly. Any help is appreciated.
Hello, I have a folder of files having over 8-10 thousand pdf file on it.... most of these files has only one bookmark on them but maybe around 1000 of them has multiple bookmark on them...I need to split these files into separate file using top level bookmarks. Problem/bug that Adobe Pro split function has, is that for all those files with one book mark it creates duplicate file for it.... i.e. there is a file called A.pdf with one single bookmark on it called BM. Now when I ran the Split function to split it using top level bookmark, it creates another file called A_Part1.pdf in the same folder now in the same folder I have two identical file called A.pdf & A_Part1.pdf. I do not need duplicate file with two different name. I need to stop this duplication of file... if there is only one Bookmark then splitting operation should be skipped so I only have one file in the folder called A.pdf or if it creates A_Part1.pdf then it should delete the original file if ther
Buenos días, necesito hacer en mi trabajo un formulario que haga sumas parciales sin sobrepasar un valor y al tiempo realice la suma total de los subapartados, entiendo que solo se puede hacer con JavaScript y no tengo demasiada idea de programación, por no decir que soy nulo en ello.Muchas gracias de antemano.Un saludo
Hallo. Wir konfigurieren gerade einen Terminalserver, auf dem unter Anderem auch Adobe Acrobat DC läuft. Beim Remotezugriff und starten von Adobe Acrobat DC tritt das Problem auf, dass sich der schwarze Mauspfeil nur sehr langsam und ruckartig bewegen lässt. Kann man diesen schwarzen Pfeil irgendwie deaktivieren, sodass man den Standard Winows Pfeil nutzen kann?Das ganze passiert nur über VMWare
Dear All,I use Python to call Acrobat JavaScript to convert PDF to EXCEL. The code is like following: aApp = win32.Dispatch('AcroExch.App') pdDoc = win32.Dispatch('AcroExch.PDDoc') if pdDoc.Open(r + "\\" + e): jsObject = pdDoc.GetJSObject() jsObject.SaveAs(des + "\\" + e + ".xlsx", "com.adobe.acrobat.xlsx") jsObject = None pdDoc.Close() pdDoc = None aApp.Exit() aApp = NoneI have converted 6000+ PDF successfully without any problem.But recently when I reused this code to conver an
Hello, the problem is the following ... When I execute the command:this.mailDoc({ bUI: false, cTo: "apstory@example.com", cCC: "dpsmith@example.com", cSubject: "The Latest News", cMsg: "A.P., attached is my latest news story in PDF." }); Notice that the window minize button does not appear in the image. Why is this due?The window that emerges from outlook is blocked and I can not return to the tray to enter and open other emails to complement the information. please help.
Hi,How to get FileName path from dialogBox?I want one dialog box with two question.First question is: which file do you want work with? and open buttonSecond question: enter page range AND here some INPUT FIELDSo I want get string with file path and string with range
I have Windows 10 and Adobe Acrobat DC Pro. I have a Fujitsu fi-6140 scanner. When I attempt to use Adobe to scan, most of the options (greyscale, B/W. color document, etc) are grayed out. The only option is Custom - which is also crippled with most options blank. It will not scan both sides of page, even though that was option selected. How do I repair this so all options work?
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.