Unlock the power of Acrobat SDK through our community.
Recently active
Hi there! I am trying to create a form that prompts you to submit via email utilizing the Actions > Run Javascript. Is there a way to bcc an email? My current script is below. Any help would be appreciated! var targetEmail = "email"var cCCAddr = "email; email"var subjectLine = "ACTION REQUIRED: Status Change Form for: " + this.getField("LEGALNAME").value+" has been submitted.";var body = "Status Change Form for: " + this.getField("LEGALNAME").value+" has been submitted by: "+ this.getField("SUPERVISORSIG").value+" on "+this.getField("TODAYSDATE").value+". \n\nPlease advise if approved for payroll processing.";this.mailDoc({cTo: targetEmail, cCc: cCCAddr, cSubject: subjectLine, cMsg: body});
I am running the code below to attempt to remove a page I created and added a legend to. It gets no error. I created a test file that only had one page and a legend. If I step in the debugger, I see the scroll bar change as if there is no second page and then change back. the second page is now a blank page and does not have the legend content. The bookmark is gone. If I attempt to delete the pag in the UI, I get an error indicating the page is in use. If I save and close thfile, then reopen it, I still get an error saying the page is in use if I try to delete it in the UI. void RemoveLegendBookmark(PDDoc pdDoc){DURING// We make top-level bookmarks only, so add a new bookmark to the rootPDBookmark bmRoot, bmNode;bmRoot = PDDocGetBookmarkRoot(pdDoc);if (PDBookmarkHasChildren(bmRoot)){bmNode = PDBookmarkGetByTitle(bmRoot, pOptions->LegendBookmarkTitle.c_str(), pOptions->LegendBookmarkTitle.length(), -1);if(PDBookmarkIsValid(bmNode)){// get the action for the current bookmarkPD
Hi All,I have a requirement where I need to password protect PDF files in background task. I have an option to call external OS commands from my system to run the tool on specific file.Does Adobe Acrobat DC help in this? Can we execute from command line and make a PDF password protected?Kindly advice,Thank you,Pallavi
I have a macro that opens 2 pdf's and replaces pages from one with the pages from the other. It was working before I moved to a new computer. Both computers are running Acrobat Pro -- but the older one was using 2017 version, and the new one is using the newest Acrobat pro subscription license. Is there something that's changed that would make this method now fail? If Doc1.ReplacePages(Doc1.GetNumPages - 7, Doc2, 0, Doc2.GetNumPages, 1) = False Then MsgBox "Cannot replace pages" Exit Sub End If My code executes fine - but now returns "FALSE" but previously was working fine. Thanks!
Hello,I am trying to create a PDF Form that has expandable text boxes. I would like for users to be able to type in a text box that would expand as the user types and once they are done typing the text box would then revert back to its original size but if you would click on it again it would show all the text that was previously typed.Any help would be appreciated. Thank you.
Could you please advise if Adobe SDK is right tool for building following application.. I need to (high level description):Allow users to select data in the PDF viewer.Then user selects tool which will trigger a custom python functions in the backend, which will analyze selected data and then provide user with feedback. Is your PDF SDK right tool for that? Any examples or documentation showcasing similar integrations?Thank you!
I'm on an enterprise Acrobat. I'm very keen to use the PDF Embed API but I can't seem to access it. It says I need to talk to my enterprise. I have. They can't find any way to get to it. I have looked for cost. Nothing. It just seems like a black hole of no information. Has anyone overcome this?
I am trying to derive a means to have a button that will jump to a specific empty field. Example: I have a series of date fields that will be entered by the user. I would like to create a button that will jump to the first empty date field. Is this possible with a script and would such a script work in Reader without security issues? Thank you!
When using getPageNthWord to obtain words in a PDF, every sentence that is wrapped causes the wrapped pair of words to be concatenated. for example assume wrap at the 7 6 CFR 210.5(c), 7CFR There should be 6 words obtained6 CFR 210.5 c 7 CFR instead only 5 worrds are obtained6 CFR 210.5 c 7CFRThe 7 is concatanated to the CFR which is incorrect and makes searching fail if I am searching for "7 CFR". I assume this is a bug in the SDK for the javscript example I am usingobject[] getPageNthWordParam = { p, i }; word = (String)T.InvokeMember( "getPageNthWord", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, getPageNthWordParam); If indeed this is a bug, where can I report it?Is there a work around such as disabling sentence wraping?Another way to read individual words other than getPageNthWord? I can not use my program and it is a lot easier to convert PDF to DOCX and not even use Acrobat
I am currently designing a form in Acrobat Pro with Javascript providing the required functionality. The form has 7 pages with two hidden as templates. I have two paired checkboxes Competent and Not Yet Competent (NYC). When the NYC checkbox is selected I want the twp hidden template pages to appear but I also want to alert the person that by selecting the NYC the pages will appear and do they wish to proceed. If they select 'Yes' then the checkbox will be ticked and pages will appear. If they select 'No' then the checkbox will not be ticked and the pages will not appear.I am using the follow script: event.target.checkThisBox(0, app.alert("By selecting this checkbox the Re-assessment pages at the bottom of this document will appear for re-assessment purposes. To remove the Re-assessment pages select the Competent or Satisfactory checkbox to the left.\n\nCheck this box?",2,2)==2); this.getTemplate("Page6").spawn(5); this.getTemplate("Page7").spawn(6); My issue i
// start var start = this.getField("ST1").value; var startArr = start.split(":"); // Lunch var finish = this.getField("LT1").value; var finishArr = finish.split(":"); // Convert to Minutes var minDiffST = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); var minDiffLT = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); //Difference System.out.println var output1 = (minDiffLT - minDiffST)/60); // Lunch End var start = this.getField("LTE1").value; var startArr = start.split(":"); // finish var finish = this.getField("ET1").value; var finishArr = finish.split(":"); // Convert to Minutes var minDiffLTE = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); var minDiffET =Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); //Difference System.out.println var output2 = (minDiffET - minDiffLTE)/60); //Total Difference System.out.println (output2 + output1);
Two-pages PDF with forms: for the most part the same - first page for company, second for client. Contains the same forms (differences just on top, marked as copy for client or for company + some extra frames on companys copy).In Acrobat Pro DC i made and copied the forms from the first page to the second, so they have same names, and after filling them on first page, same forms are automatically filled on second too (as intended).OK for text fields and check boxes. Problem just with radio buttons - changes in them are not copied to second page. And when radio button is checked on second page, radio buttons in same group on first page will be unchecked.For now, i deleted copied radio buttons on second page (3 groups with 2 to 4 radiobuttons) and created new ones (with new names). They can by filled independently (changes on one page will not mark/unmark radios on other page). Better, but not perfect solution.Is it possible to make radio-buttons work same as text and check boxes? So, wh
Hi Acrobat Team,Please suggest code working fine with 2017 acrobat plugin(Acrobat) but after install latest plugin is not working and not throw error. below sample C# code. AcroPDDoc pdfd = new AcroPDDoc();pdfd.Open("abc.pdf");Object jsObj = pdfd.GetJSObject();Type jsType = pdfd.GetType();object[] saveAsParam = { "xya.doc", "com.adobe.acrobat.doc", "", false, false };try{jsType.InvokeMember("saveAs", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, saveAsParam, CultureInfo.InvariantCulture);}catch (Exception ex){MessageBox.Show(ex.Message);}
OMG! This 2023.003.20269 Adobe version takes me so much more time to perform simple tasks. Even just navigating around requires too many steps. Menue, view, zoom, dynamic just to do what i used to do with a tap of the scrool wheel. Then, I must return back to the screen and click my hand too to navigate, then go back to menu, view, zoom, dynamic. This is crazy. Please bring back the 2022 version. It was so much easier to navigate.
Hello everyone I have a question Is adobe acrobat professional 6.0 compatible with windows 10 ?!because I tried several times to install it but keep stuck without loading. Can please someone answer my question Thank you
Hi AllI am want to use the adobe SDK to create accessible PDF document but due to security reason i don't want to use or pass data on cloud in any way. can any one confirm without use of any external cloud API/Rest API dependency can i use adobe SDK and perform the creation of accessible PDF document. its greate help is some one confirm this and share adobe link or github sample code. ThanksAbhishek
I am trying to follow instruction here - https://developer.adobe.com/document-services/docs/overview/2.2.0/pdf-extract-api/quickstarts/ to test pdf extract, and as indicated below, there should be private.key no matter it is personalized download or non personalized, i tried both and both downloads don't have private.key! where and how should i get it?=================== AuthenticationOnce you complete the Getting Credentials, you will receive a zip file with content whose structure varies based on whether you opted to download personalized code samples. The zip file structures are as follows:Personalized Download: The samples download.zip contains a private.key file and an adobe-dc-pdfservices-sdk-python-samples directory. Each sample directory contains the sample code as well as a preconfigured pdfservices-api-credentials.json file.Non Personalized Download: The samples download zip contains the private.key file and unconfigured pdfservices-api-credentials.json file.
Hi AllI am want to use the adobe SDK or any adobe library to create accessible PDF document, due to security reason i don't want to use or pass data on cloud in any way. can any one confirm without use of any external cloud API/Rest API dependency can i use adobe SDK and perform the creation of accessible PDF document. its greate help is some one confirm this and share adobe link or github sample code. ThanksAbhishek
"There was an error opening this document. The file is damaged and could not be repaired." That is the error message when trying now to open downloaded pdf files in Acrobat Reader (64-bit latest version) on my pc with Windows 10. Older pdf files open fine. The problem files in question can be opened with Microsoft Edge browser, so the files appear to be ok. What is wrong, and what do I do to fix this??
I have exhaustively searched for an answer, with limited success. I open a document from Excel using: Set AcroApp = CreateObject("AcroExch.App")Set AvDoc = CreateObject("AcroExch.AVDoc")'Open temporary fileAvDoc.Open "C:\Users\saylork\Documents\Waste Pickup Temp.pdf", ""Set AcroForm = CreateObject("AFormAut.App")Set Fields = AcroForm.Fields After extracting data, I attempt to close it using:Set Fields = NothingSet AcroForm = NothingAvDoc.Close TrueAcroApp.CloseAllDocsAcroApp.ExitSet AcroApp = NothingSet AvDoc = Nothing I've tried various ordering of the above just in case that made a difference, nope. Also tried (APIs at top of code): Sub CloseAdobeReader()Dim strClassName As StringDim hwnd As LongstrClassName = "AcrobatSDIWindow"hwnd = FindWindow(strClassName, vbNullString)If hwnd ThenSendMessage hwnd, WM_CLOSE, 0, ByVal 0&ElseMsgBox "Adobe is not running!"End IfEnd Sub This will force a shut down. However, I'm opening and closing in a loop. It w
Can i automate converting pdf. files in PDF A-1/A format at 200 DPI using SDK
I'm down on my hands and knees, begging. I have 300 files that I want to put a variable string at the top of the first page (centered, or at the right hand side). I am using Acrobat X and Microsoft Access 2010 and I do have the SDK and have spend over 10 hours so far searching it and the internet in general, for help and still am coming up empty handed. I can do the looping and passing variables with my eyes closed, but I cannot get the syntax for the actual opening of the pdf and inserting the string. I was trying to modify code I found yesterday that is supposed to add an annotation, but I don't want an annotation, I just want a string of text at the top of page 1. For now, all I want is to be successful at doing ONE file. Can someone please give me a concrete example of the code I need to use? Like I said, I'm in begging mode Public Sub AddText() Dim pdDoc As Acrobat.AcroPDDoc Dim page As Acrobat.AcroPDPage 
When attempting to sanitize a document, we are receiving an error that it could not be done. We have renamed the document, tried saving it to different locations, and ran a repair on Adobe but we are still unable to sanitize the document. I have read through other forums but have not found a solution yet. Please help!
I have tried to find it within teh software bits, but no luck.Any ideas?Thaks
I'm trying to simplify the UI for a C++ plugin I'm working on for Acrobat Pro (Mac platform-only at this point in time). I can add buttons to the toolbar in the latest version of Acrobat, but I cannot seem to create or assign the icons correctly. I'm following the code that is supplied in the "Custom Tool" example in the PluginSupport Samples and I'm not getting any errors on any of the system calls (AVAcquireSpecialFilePathName, ASFileSysOpenFile, PDDocOpenFromASFile, or AVIconCreateFromPDF), but the icon comes up as the default "Lego Block". Has anyone successfully created a custom Plugin Button for the Toolbar on a Mac? If so, would you be willing to share the code?
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.