Unlock the power of Acrobat SDK through our community.
Recently active
I'm trying to included a pdf's keywords in a dynamic stamp, and it just won't work.Here is my code for that form field:event.value=event.source.source.info.keywords;I'm using the following to insert the file name into the stamp, and it works fine:event.value = event.source.source.documentFileName;Anyone have any insight?Thanks, N
Hello,I am evaluating product to create pdf form that will email the file to us. I downloaded 2015 Release of Acrobat Pro DC but I can't seem to find the "Submit" button that several online documents refer to. There are options such as "Add text fields", "Add check boxes", "add radio button" etc.Thank You
Hi All,I understand that technically I cannot completely restrict printing and that's fine. I have a print button on my form (with about 25 fields; some required others not) that I'm looking to use some javascript on that will check to see if all the required fields are filled in before allowing to print (any any type of button action). It's OK to print if all the required fields are filled in but some of the non required fields are blank. I found a good deal of answers from other posts but I think my issue (possibly) is that I have several drop down boxes in my form?I've pasted what I've found so far after doing some forum searching. My problem is that even when I fill in every single field and drop down in my form, I still get the alert saying I need to fill in required fields (instead of printing). My ultimate goal here is when the button is clicked, it checks to see if only the required fields are filled and if they aren't it returns a message saying fields need to be complete and
I need to create a search index for some documents.It seems like the JavaScript API does not support creating new search indices. For this reason, I have created an empty search index manually. I can use that to build the index like this: // Global declaration var oldDoc = null; var buildIndexJob = null; var buildIndex = app.trustedFunction( function(cDIPath, cExpr, bRebuildAll) { app.beginPriv(); oldDoc = app.activeDocs[0]; buildIndexJob = catalog.getIndex(cDIPath).build("doc=oldDoc; " + cExpr, bRebuildAll); app.endPriv(); }); // This is how I use the function buildIndex('/C/Some/Path/My Index.pdx', 'app.alert("Done");', true); For years, this has worked just fine. However, recently the code stopped working.The log file reads like this:Indexing 261 files Extracting : C:\Users\....\SomeDocument.pdf Fatal Search Engine Error : (-11) Failed to open file Deleting files from current index Error: Index build failedWhat is strange is that I can create the search
Hello,We use Bleubeam PDF Revu application in order to edit pdf files provided by customers.We open orginal file in Bluebeam, copy part of the drawing and paste into new PDF generated in Bluebeam adding comment. After new PDF file is saved we can open it in Bluebeam also preview it in Google Chrome without error, .Unfrtuantely sometimes when we open document in Adobe PDF Reader (both 11 and DC) it shows famous generic error dialog: "An error exists on this page....".
how to convert french script mt font image files to pdf or word with full accuracy , i tried many ways of conversion , but cant convert this font (french script mt font) , help please want to convert this i image to WORD or PDF , HELP PLEASE
While the Adobe Acrobat DC SDK Samples Guide refers to a JS Collection Demo containing a number of javascript snippets (the contents of which are briefly described therein), I have been unable to find this collection anywhere online allegedly provided in PDF. As the Acrobat SDK samples guide appears to have been created/written in February 2021, I am somewhat surprised that I have been unsuccessful to date in being able to find the JS Collection Demo. If anyone knows where I can find and secure a copy of the PDF online containing the scripts, I would be most grateful? Thank you ahead of time.
Hi All,I tried to build the BasicPlugin in Acorbat DC, but I get the error message below I shared here.Could you please anyone give your guidance, I didn't find the steps configuration Acrobat SDK documentation, or could you please tell in which page they mentioend the configuration settings.Steps I followed:1. Copy the Acrobat SDK to my C:\Acrobat_DC_SDK\Version 1\PluginSupport\Samples\BasicPlugin\win32\2. Run the BasicPlugin project via VS 2017 Community Edition.3. I get the alert message below screenshot I shared, could you please guide me how to build the BasicPlugin sample project.thx,csm_phil
My pdf files no longer print. After pressing PRINT the "Print to File" window comes up and I have to press SAVE AS to go to the next step. Once the pdf is saved it is no longer a pdf but a PRN file. When I try to print the PRN file an ERROR message pops up. I need to be able to print my original pdf files. Please advise.
Halli Hallo,folgende Situation:Ich habe für einen Kunden eine Rechnungsvorlage mit Formularfeldern erstellt. Nun möchte ich dem Kunden die Rechnung so zur Verfügung stellen, dass er das Dokument als neue Datei speichern kann, ohne dass hiernach die Formularfelder noch zur Verfügung stehen, der Inhalt jedoch gezeigt werden soll.Der Kunde besitzt ausschließlich den Adobe Reader. (Erweiterte Reader-Optionen sind bereits vergeben). Erstellt wurde die Datei an einem Mac (Adobe Acrobat DC), verwendet wird sie allerdings auf einem Windows-Betriebssystem (Adobe Reader DC).Ich hatte überlegt einen Button mit Javascript zu erstellen, nur habe ich leider gar keine Ahnung von Javascript, deswegen wende ich mich jetzt an euch, wie ihr das lösen würdet.Eventuell wäre ja sogar jemand Bereit einen solches Script für mich zu erstellen.Viele GrüßeMaexel01
Hello, Is it possible to see the snippet runner work with DC SDK? P.
Hi, Hoping that someone can help me with this. I am trying to figure out if, from a document, I can see if application buttons are clicked in Adobe Acrobat. In particular, I would like to see when an attachment is added or removed from the Attachments panel, but I can't seem to check this the way I expected. I've come up with this bit of code:if (app.execMenuItem("AddFileAttachment")) { console.println("success"); }However, this block seems to actually run app.execMenuItem(), instead of checking to see if it ran. A little confused both as to why this is happening, but also now wondering if there is a way to read when attachments are added or removed via the Attachment panel that would be best.
Hi, all. I'm trying to put together an automated process that takes PDF files, performs OCR on each one to create PDFs with searchable text, and then runs an advanced search on the resulting files. It looks like Adobe's cloud-based APIs would work for this, but part of the goal is to do this locally, i.e. not an API call to an external web site to run the process. Preferably, this would be done with an actual Adobe SDK, not third party. C# would be the preference, if possible. All of my searches lead me back to the new web-based functionality. Is there an SDK available for offline processing that can handle this? Thanks!
How can I stop auto-rotate when using OCR
I'm using Pro DC Version 2021.001.20135.20135 on my Windows 10 desktop. My application is sturctured in C# Win Forms and has been able to open PDF documents without error for at least a year using the following code to open a pdf file without any problems: acroAVDoc.OpenInWindowEx(OFDMain.FileName, PANPdf.Handle.ToInt32(), AV_DOC_VIEW, 1, 0, PDUseThumbs, AVZoomFitPage, 0, 0, 0); Yesterday morning, there were no problems. However, after lunch, I started getting the following exception when trying to open a document after no changes to the code which was functional before lunch: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) I contacted Adobe Support and after about two hours of chatting with a service rep. and a reinstallation of Pro on my desktop, the problem still exists. I have tested the same code on my Windows 10 laptop and the code works fine with DC Pro Version 2021.001.20145. My secondary Windows 10 desktop
Hi, Our company is looking for a library/component/SDK that allows reducing PDF file size. The goal is to take a PDF generated by a 3-rd party component and use the library/component/SDK to modify the PDF in a way that its size is decreased. We used a 11MB PDF with big images (like 2200x1700 pixels) and tried:1. In Adobe Acrobat Pro ver. 9.0 (very old version) - Main Menu->Document->Reduce File Size... - and this indeed reduced file size from 11MB to 1MB. Image sizes were chaned to 1104x853 pixels.2. In Acrobat Pro DC (32-bit) version 2021.001.20138 - Main Menu->File->Save As, and changing the Save as type to "Adobe PDF Files, Optimized" - and this indeed reduced the file size down to 1,7MB. Our preference would be to buy a library/component/SDK written in C#/Java or C/C++. Our preference would be to buy it directly from Adobe. Can you recommend some library/component/SDK or provide the directions where/who to ask? 
Using APDFL SDK C++ I am trying to enumerate all the indirect regular and compressed object in cross-reference table/stream.I am using COSDOCEnumIndirect to fetch XRef object and then I use ASStmRead to decode the XRef object's CosStream. But not sure how to individually enumerate each object in Cross-reference stream.Any leads would be really helpful.Thanks.
Please can someone help me.I'm trying to add several checkboxes to a page.All the checkboxes should have the same name but have different export values.Is this possible as so far I've not succeeded.Here's the code so far...thisField = this.getField('dupethis'); var cRtn = app.response("How many checkboxes would you like?"); var prevRect = thisField.rect; var prevName = thisField.name; //this.removeField(theFieldName); var offset = 30; for (var i = 0; i < cRtn; i++) { var newRect = [prevRect[0]+offset, prevRect[1], prevRect[2]+offset, prevRect[3]] var fn = this.addField({ cName: "p1f1" + "_CB", cFieldType: "checkbox", nPageNum: 0, oCoords: newRect }); offset = offset + 30; var thisExpVal = "sammy" + offset; fn.exportValues=[thisExpVal]; } I'm having problems because I'm trying to give all the checkboxes the same name.I need this so the checkboxes then behave like radio buttons, i.e. only one option can be selected, however with set up the user can uncheck
I would like to display the page number of the current document in a dialog box. However, in the dialog box the page number always appears with a decimal point and six zeros. For a 64-page document I get the indication: 64.000000. Why is that? Since I want to continue calculating with this specification, I need the number without the decimal point and without the zeros.// Dialog Definition var oDlg = { strName1: "", initialize: function (dialog) { dialog.load({ "page": this.strName1, }); }, commit: function (dialog) { var data = dialog.store(); this.strName1 = data["page"]; }, description: { name: "Window titel", elements: [{ type: "view", elements: [{ type: "cluster", name: "Page count", align_children: "align_left", elements: [{ type: "view", elements: [{ type: "static_text", name: "Pages in this document: ", }, { item_id: "page", type: "edit_text"
Is it possible to change the width of the alert box display on the JavaScript side? app.alert ("(1) aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \ n (2) bbbbbbbbbbbbbbbbbbbb \ n (3) cccccccccccccccccccccc", 3); For example, if I write as above, the sentence (1) will be displayed in two lines. This is difficult to read and looks ugly, so I want to display it in one line.
HiI have aline of code that works no problem on desktop. In custom keystroke script:this.getField("Supply_App.3").display = (event.value=="None") ? display.hidden : display.visible; This doens't work on a mobile device -I'm testing on an iPad with Acrobate Reader for iOS. I've read I shoudl replace the ? with an if statement but I'm struggling to get it to work correctly without adding an additoanl vaidation field - which I'd rather not do. Any advice?TIA
Hi My pdf keeps crashing as I tab out of the last field on the same page over and over. I've deleted the field, replaced it with another but it just keep crashing. I've swithed on & off security settings. All to no avail. Ive sent to the file to another machine & opened in Reader & it experiences the same issue in the same place. I have the crash log (attached ) but no idea how to read/interpret it. Can anyone help?TIA
Hello,I have a problem with digital signature. I use Windows 10 (64 bit) and Adobe Acrobat DC. I have an intelligent card that contains my digital certificate. (Other softwares work fine.) When I use the certificate menu in DC I can choose my certificate. The program fills the visible box with my name etc. When I click the signature button DC says 'windows cryptographic service error: access denied. Code: 2147942405'.DC does not ask for my PIN code for the intelligent card.My certificate was imported into windows certificate store. All the necessary programs run and all devices work fine.The Microsoft Community says it is not MS's responsibility try to ask Adobe.Please help me.Thanks
I'm creating a PDF form that has a checkbox "Other" with two lines underneath. I want to require the fields be filled in, but only if they check "other." I need help! Thanks in advance,Linda
Hi, please, i need to delete all child bookmarks, can you share a working javascript script that can do that please?thanks
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.