Unlock the power of Acrobat SDK through our community.
Recently active
I've been using Acobat since V5 and kept upgrading to the Pro 9 Extended version. Today it gives me this this ERROR messageCan you please tell me why?
I've a code snippet to pinpoint empty fields within a lengthy form. Ideally, the script sholuld guides me directly to the first blank field. But, if this proves challenging, I'd like it to provide the page number and the information from the tooltip associated with the empty field. My intention is to populate the tooltip with brief descriptions, facilitating rapid identification for users. While the current script effectively notifies me of empty fields names, I seek improvements: displaying the tooltip text instead of the field name and accurately identifying the page numbers, instead of zeros.Thank you This is the code:var emptyFields = []; var currentPage = this.pageNum; for (var i = 0; i < this.numFields; i++) { var fname = this.getNthFieldName(i); var f = this.getField(fname); if (f.type !== "button" && f.required === true) { if (f.value === "" || f.value === "Off") { var pageNum = getPageNumForField(f); // Call the function to get page number var tooltip = f.to
New Acrobat, new problems.I cannot delete any of the given icons (all commands are grey) and was only able to add an icon after moving the toolbar from its standard position - but not place the icon where I want it.I cannot replace the Toolbar permanently in a position which would be less disturbing for work (like top menu bar).What's this, Acrobat? Are you identifying as Facebook and deciding what your user wants over its head?
I am using the script below but it only runs if I check and then uncheck the box. Obviously I want the script to run when I check the box. Also, I want the "Previous Employer Name" field to clear when the box is unchecked. Any help would be appreciated. if (event.target.value!="Yes") {this.getField("Previous Employer Name").value = this.getField("Company NameRow1").valueAsString;this.getField("Address 1_2").value = this.getField("Company AddressRow1").valueAsString;}
I have a fillable PDF document with form fields and submit button.Submit button originally calls a REST api end point:submitForm({cURL: 'https://api.example.com,cSubmitAs: 'XFDF' }); However, the REST api requires basic authentication and doesn't support SSO.So, I am looking for other options.As a workaround, I am trying to export the form fields as a string and include it as a Query parameter and launch the application URL in the browser(see code snippet below). Application URL supports SSO and once user is authenticated successfully, I plan to use the data from the query parameter to invoke the REST api. Issue: See code snippet below. When URL value with Query parameters stored in "finalAppURL" exceeds 2076 characters, it is getting truncated once the browser is launched. Using the PDF Javascript debugger to do a console.println of the variable "finalAppURL" , I verified that URL is generated correctly and app.launchURL seems to be the issue. I also used the "fin
Hi! I work in product documentation and for every publication that we produce, we need to send a Print Specification PDF to the printer. The print specification needs to have the publication's title, page numbers, publication number and edition (found in the footer and last page), project, date, and a screenshot of the cover of the publication. I got the date automatically, and the filename which is the article number+edition. I also managed to get a button to insert an image, which prompts me to select an image file, I select the publication PDF and only the cover photo gets inserted, which works great. However, I would like to be able to select the publication PDF file and extract all the other fields, hopefulyl at the same time. The Project needs to be inserted manually. Is there a way to do this with Acrobat Pro?
I have a problem with scaling of Acrobat DC UI, as detailed in the screenshots above (MS Word is positioned behind Acrobat windows for scale).I have a Lenovo P50 with a 15' 3840x2160 high dpi screen (200% scaling); and a secondary 21' 1920x1080 monitor (100% scaling). I am running the latest version of Windows 10 with the latest graphics drivers available for my machine.Acrobat DC looks fine on high-dpi screen. However, the interface becomes extremely large when the window is dragged to the secondary screen. Acrobat does not correctly resize the interface to 100%. As you can see, that impacts even the top title bar. Disabling scaling in Acrobat options does not fix the problem. The UI is then somewhat smaller, but still too large to be usable on the secondary display. However, everything becomes too small and unusable on the high-dpi display.The only workaround that has worked so far is using the external manifest file:Adobe App Scaling on High DPI Displays (FIX) | Dan AntonielliHoweve
We are the third party plug-in developers of Adobe Acrobat, and we have a product of plug-in applications,and many of our customers using this product for many years. In order to evalutate the license of the product in Server machines(from where many client machines accessing this product), we use the logic of counting the number of acrobat processes running on the machine, using the below code snippetstring MainFileName = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;System.Diagnostics.Process.GetProcessesByName(System.IO.Path.GetFileNameWithoutExtension(MainFileName)).Length;From this we were getting number of Acrobat processes running the server and evaluting the same with license purchased, andwhen all the licenses are in use, we display the message and opening the acrobat without loading our product.this was working fine for many years. But recently one of our custome
PDDocAddBatesNumbering and PDDocRemoveBatesNumbering have been deprecated, but is there a replacement?
Hi, I want to implement editable PDF functionality in my web application. Does Adobe provide anything so that I can use that thing? I also want each control like text editor Frontend ReactJsBackend NodeJs
Hello, I setup a form with a submit button. That submit button links to a Google Form submission. I got it connected correctly where new rows are being entered into the form, but all I get is a time stamp. It won't take the data entered.I started simple with just one text field. See screenshot below
I'm having trouble getting commands that relate to the Adobe Acrobat 10.0 Type Library to run in Excel VBA. In my code I'm just trying to open two PDFs and merge them into one. I have Adobe Acrobat Pro (Version 23.001.20174.0) installed and I have Adobe Acrobat 10.0 Type Library enabled in my VBA editor. But when I run the program line by line the only command that seems to work is the Set Aapp = CreateObject("AcroExch.App"). Everything after that will "run" in Excel VBA but nothing actually happens. Thanks for your help!Q Sub combine_pdf_files()Dim Aapp As Acrobat.AcroAppDim toDoc As Acrobat.AcroPDDocDim fromDoc As Acrobat.AcroPDDocSet Aapp = CreateObject("AcroExch.App")Set toDoc = CreateObject("AcroExch.PDDoc")Set fromDoc = CreateObject("AcroExch.PDDoc")Aapp.ShowtoDoc.Open ("S:\DRYLNE\DT Report - New\24 Hr Reports\Dryer Daily Report.pdf")fromDoc.Open ("S:\DRYLNE\DT Report - New\24 Hr Reports\Blender Daily Report.pdf")If toDoc.InsertPages(0, fromDoc, 0, fromD
hellowe scan plans, about 300, i would rotate all files in a folder via a vb.net program. Sub Drehunng(inRichtung As String, inPDF As System.IO.FileInfo) Dim PDFout1 As New Acrobat.AcroPDDoc Dim Seite As Acrobat.AcroPDPage PDFout1.Open(inPDF.FullName) For i As Long = 0 To PDFout1.GetNumPages - 1 Seite = PDFout1.AcquirePage(i) Select Case inRichtung Case "n" Seite.SetRotate(0) Case "l" &
We are using Acrobat Standard DC in a Windows 7 environment (64 bit). A very small percentage of our users repeatedly loses their PDF printer in the devices and printers area so they aren't able to print from other software to PDF. We run a repair on the Acrobat program and the printer comes back, but we shouldn't have to keep doing that. Is there a permanent fix for this?
I have the following Script to update a couple of records of mine. The script should fill a new line anytime anytime it finds the first field of a line empty (that means the entire line is empty), but before to do that, the script checks if any of the previous lines containes already the values it should be put at that moment. Problem is, apparently, the script jumps the second line. Anyone can help me? var shipsName = this.getField("SHIPSNAME").value;var data = this.getField("DATAAUTORIZZAZIONE").value;var port = this.getField("PORTOFARRIVAL").value;var flag = this.getField("FLAGSTATE").value;var targa = this.getField("PLATES").value;if (this.getField("Imposta bollo digitale").display === display.hidden) { var bunkerDoc = app.openDoc("G:\\Il mio Drive\\PERSONALE - BRUNO PADULA\\REGISTRO BUNKER.pdf"); var stop = false; for (var i = 1; i <= 294 && !stop; i++) {
Hello, I am trying to merge files using the API. I have a folder where the user places 3 or 4 files. We have named the files 01, 02, 03, 04 etc. but for some reason in the merge process the files get merged in a randow order. Any insight would be helpful. Thanks.
Hi everyone. I have a folder with a large number of PDFs (in the 1000s). We encountered one file that had some password protection - not required to open the file, just for some functionalities. If I look at the Document Properties Security tab, I can see that the selected Security Method is Password Security instead of No Security, and some functions in the Document Restrictions Summary show as Not Allowed. The task now is to identify other files with password protection, without a human opening each individual one and looking at the doc properties. I'm pretty limited in the tools I can use - just VBA and Python. (I don't have privileges to install anything else.) I do have the PDFMaker Office add-in, but so far I haven't been able to determine how to use that to tap into those document properties. To now I've only used the add-in to combine multiple PDF files to a single file, and that is using borrowed code. So my knowledge of how to use the add-in is close to nothing, and I ha
Hi I hope you can help me I have two fields. The first is called 'Bupa' and it has a Yes or No drop down options. If the user selects Yes I need another text field called 'Informed' to autopopulate with phrase 'Please inform Clare'.Any suggestions?Thanks in advance
Hello, I need a JavaScript to verify that a Social Security Number (123-45-6789) or Tax ID (12-3456789) has been entered correctly in a form field. I'd like it to accept hyphens, and in case the user doesn't enter a hyphen, to automatically place them. It should also not accept letters or any other special characters. If entered incorrectly, an alert message with pop-up. The reason why I cannot use the Special category inn the Format tab is because I need a custom message in the alert box, not the default one Acrobat provides. Any help would be greatly appreciated! Thanks.
Is it possible to set line spacing for a text field / variable? var strWord1 = this.getField("CityName").valueAsString;event.value = strWord1 +" is hosting an event..." I've seen that it can't be done within Form Edit mode. Is it possible with JS?Thanks!
Hi,The company I work for puts out PDFs to a lot of customers, and there are some instances where customers are known to view the PDFs in an Internet browser, like Chrome. Unfortunately, because of Google not wanting to support the in-browser PDF viewer, some problems have manifested—mainly the weird way it now handles hyperlinks in PDFs, where it treats them as annotations and forces clunky big yellow boxes to appear when the user's mouse hovers over the links.I have tried unsuccessfully to see if I could produce a JavaScript added to the PDF to hide the newly-generated "annotations," but that doesn't appear to work. I suspect the fact that these aren't really annotations but are being treated "as if" they were by the Chrome viewer is part of the problem.I would now like to see if there is a way, using a Document-level JavaScript added to the PDF, to put up an alert message when the user opens it in Chrome. I have found a way to tell if the user is viewing the PDF in *anything* other
When searching the Acrobat SDK forum, say for "edit text", many have nothing to do with the SDK, rather just asking for help in how to use the Acrobat app.It is beyond annoying to have to trawl through posts asking how to edit text using the Edit Pdf tool in Acrobat.
Hi,I'm trying to make a plugin using visual C++ (VS 2019) on Win10x64 machine. The idea is (or was) to be able to bold all numbers in the text. I thought this could be done by altering some of the PDFontMetrics members, since some change (ie PDFontMetricsP->stemV) between bold and normal text. The code shows I'm just taking the PDFontMetrics and reapplying them: PDEFont pdeFont = PDETextGetFont((PDEText)pdeElement, kPDETextRun, i); CosObj cosObj; PDEFontGetCosObj(pdeFont, &cosObj); PDFont pf = PDFontFromCosObj(cosObj); PDFontMetricsP metricsP = (PDFontMetricsP)calloc(sizeof(PDFontMetrics),1);//if not used, usually end up with null pointer ASSize_t sizeMetrics = sizeof(PDFontMetrics); PDFontGetMetrics(pf, metricsP, sizeMetrics); PDFontSetMetrics(pf, metricsP, sizeMetrics);And this is what it does to the pdf, which originally was TimesNewRoman:I would've expected no change to the font using the PDFontSetMetrics(), so eith
Hi, I need help in setting values to radio buttons and getting the sum of the selected radio buttons. Please note that I am a novice and am excited to learn more about this. I am creating this form for a client and each radio button should have its value. For example,Choice1 == "0"; Choice2 == "1";Choice3 == "2";Choice4 == "3";it's the same with the rest of the radio buttons. Each question is grouped so in SCORE1, there are 5 groups. this is what I've done so far, setting a value for each radio button.. not sure if this is the best option. I'm really lost with the total text field where it should get the sum of the selected radio buttons only. So say in: Group1, Choice1 is selected then value is at 0;then add the choice on group2 which is at 1 and so forth. Let me know how to go from here. Thank you!
-Adobe acrobat Standard XI-Corp environment - users are locked down from doing installs or updates.- Pushed a pop-up notification disable (regedit) to update adobe (because when they do it fails and rolls back) we believe when we do this is disables their adobe PDF virtual printer.any ideas on how to fix?
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.