Unlock the power of Acrobat SDK through our community.
Actividad reciente
Hello, I would like to calculate the time of the beginning of a treatment, depending on a date and time of a medical exam selected in a fieldFor example, I select in the fiedl "Date exam" that the exam will be on the 2021/05/31 12H30so the time for beginning the treatment will be calculated : 12H30 - 6H = 6H30I don't need to see the date in the result, only the time. The date of the exam with time is written for information at the top of the prescription, this is why I don't use only a time.I would like also to add or not an additionnal delay of 2 hours, depending on the answer of a radio button "Delay" (yes or not)the calculation would be : "Exam date" - 6 hours - (2 hours if Yes, 0 hours if Not). I am not familiar with java script and I searched among forums and could not find a precise answer and examples. Thank you very much
Is there a JavaScript for a date picker for a custom dialogue which is used to create an acrobat dynamic stamp? The custom dialogue has several text fields and radio buttons on it, and the user has to type in a date (not the current date). If it is possible, I would like the user to select a date from a date picker, but I don't know if this can be done.
I export hundreds of PDFs a day out of InDesign and want to see if there is a way to save a PDF export preset to save the presets for security settings so I can just type in the password. Maybe there is a JavaScript with Acrobat that could do this?Or a batch action wizard?
Is there a way to edit values in a PDF Portfolio? I made a plugin for Adobe Acrobat Pro DC that adds a menu item and and does an action. Currently the plugin gets a page number from an open PDF Portfolio document and displays the page number in a popup window. What I want to do is add that page number into a PDF Portfolio field for that PDF document. I read through the Developing Plugins and Applications Guide in the Acrobat SDK library documentation page, but I didn't see anything about updating Adobe PDF Portfolios. Is it possible to update the PDF Portfolio with a plugin? If so, can someone point me to the right direction or to some examples? Not sure if if helps, but I added an image of the PDF Portfolio. Thanks!
I have 3 drop down boxes that need to be averaged. However, before they are averaged, I need to change their value to:1=72=63=54=45=36=21=7What do I do?
Hi,I need help using the saveAs funtion in a portfolio. My portfolio contains multipe pdf files and i use a protected funtion.This funtion use to work as intended in acrobat 11. However since upgrading to acrobat DC the file no longer saves or reopens the file i am working on.Basicly my protected funtion saves the original document, then saves the document as a tempory file and flattents it, then attaches it self to an email, then reopens the original document.any help would be very much appreciated.Running this.saveAs funtion through the console while working inside of a portfolio throws an error that the file is already open.below is the code for my mouse up buttonvar docName = this.documentFileName;var saveDirectoryFull = this.path;var certNo = this.getField ("CertificateNo").value;if (saveDirectoryFull.indexOf("|") > -1 ) {saveDirectoryFull = saveDirectoryFull.replace ("|", "");saveDirectoryFull = saveDirectoryFull.split ("|",1);};savecopyemail(saveDirectoryFull, docName, certNo
I have a field "subtotal"I want to round up or round down my value from "subtotal" field,If 50.49 it will be 50.00If 50.50 it will be 51.00less than .50 will round down (.10-.49)greater or equal to .50 will round upplease help me.I am very new in JavaScript, but this is a great community to learn JavaScript.
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
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.