Unlock the power of Acrobat SDK through our community.
Recently active
I need to be able to click on one of these numbers; each number will populate a different text into the text box below. I have read many of the Q & A's here are some are close to what I need, but do not work for my specific issue. Any help will be greatly appreciated!
I recently installed acrobat DC, now every file/photo etc on my computer has been converted to adobe and it can't be opened. A pop up box says the files are encrypted. How can I uninstall this and get my files back?
Hello,I'm developing plug-in for Acrobat and Reader and it works fine except one case when user enable Protected mode. Plugin initialization successfully completed but then Plugin unload called and that's it (tested on Reader).Is it possible to third party plug-ins works in Adobe when Protected Mode is on?If this is possible what should I modify in my project that Adobe allow my plug-in works in protected mode?I know that protected mode restrict write rights and to be able to write log it should be stored at Temp folder.
I am the developer of a third party plugin and facing the issue of loading third party plugins into acrobat when the option "Enable Protected Mode at startup" is checked. Can you tell me what changes are required for plugin application to load with protected mode. Can you please tell me where can I find the example for such a plugin in acrobat SDK, I searched the whole sdk(Acrobat SDK 2021), but couldn't find anything related to that. Please help me to find it.your help would be highly appreciated.
Hi,we have an application that connects to Adobe Acrobat via DDE. The connect to the DDE server is fine and also DocOpen works without problems. But we send DocSaveAs it fails on newly installed Acrobat 2022. The same application works fine with Acrobat 2015.Do you know about any changes on the DDE commands?Thanks for your help.
Hi all, I have not long started using JavaScript in my fillable forms, I have found the below script online that locks all fillable fields after a button is pressed & a password is entered correctly (function() { // Prefix for group field names. Change to match what you want to use. // Rename the fields you want to lock to match this prefix (e.g., "SITE.NAME") var f_prefix = "SITE"; // Your chosen password goes here var pw = "1234"; // Get a reference to the first field in the group var f = getField(f_prefix).getArray()[0]; //Determine new readonly state, which is the opposite of the current state var readonly = !f.readonly; var readonly_desc = readonly ? "lock" : "unlock"; //Prompt user for the password var resp = app.response({ cQuestion: "To" + readonly_desc + "the fields, enter the password:", cTitle: "Enter password", bPassword: true, cLabel: "Password" }); switch (resp) { case pw: getField(f_p
Using file base javascript I have creaded some anotations, including a stamp, which becomes an anotation, I want to group them so that they can be selected as a group and deleted in case the user changes his/her mind. I dont know now to do this or if it can be done. In my code I place a stamp and then I create a line and circle. I want them to act as a unit. Thanks.
I have some text fields which act as lines. I have to do this because the line spacing does not match up for the font size I have chosen. I do not want to change the font size nor the lines' spacing. I have not found a way to change a text field's line spacing reliably. What I would therefore like to do is focus the next line (text field) when the user commits their input using the Enter key. Solutions I've found online use some strange work-arounds and have not worked for me so far. The OnBlur event fires only when the field loses focus using the Tab key or the mouse buttons, not when the Enter key is used. My idea was to get the current field's tab number and simply change the focus to the next-greatest one when the user hits Enter. I haven't been able to find any API that returns the tab number, nor one that gets a field via its tab number, which is incredibly strange. I would like to avoid having to specify the explicit field name every time.
Hi, I have a mixture of Word/PDF documents which I would like to print in the right sequence using MS Word VBA. Everything works fine. My code for printing PDF documents using DDE is as follows:Dim RetValDim chanNo'Open Adobe AcrobatRetVal = Shell("C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe", vbHide)chanNo = DDEInitiate("AcroViewA21", "Control")'File is opened and displayed with DocOpenDDEExecute chanNo, "[DocOpen(""" & myDoc & """)]"'Print the fileDDEExecute chanNo, "[FilePrintTo(""" & myDoc & """,""" & myPrinter & ""","""")]"'Close PDF fileDDEExecute chanNo, "[DocClose(""" & myDoc & """)]"'Close AcrobatDDEExecute chanNo, "[AppExit( )]" Where myDoc and myPrinter need to be defined. I have read that DDE is now old technology and is only available for backwards compatibility and that OLE should be used instead. I am not a programmer, so I'm not sure how important this is. Can someone please provide an OLE solution to d
Dear Adobe, our company starts blocking java scripts in Adobe (Reader and Pro) how you use calculation fields after that? What is the alternative to javascript? How can these fields be used afterwards? Whats the nextgen for this ? "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown " "bDisableJavaScript" "1" kind regardsJohn
Hi ! I cannot create a dynamic stamp, to use in a personalized way, I don't know how to enter the scrip so that the date and time is printed at the time of sealing, helpp
I'm sure this is simple; however I am very new to acrobat and javascript.Here is what I want to do: I have a CheckBox field and a Text field. If the checkbox is "checked" I want to populate the text field with a specific numeric value. If it is left "unchecked" there would be no value or 0 value. Any help is appreciated.
If written the following script and I've found that it's working some of the time but not all of the time. For example when I have the size as 1/6 and the cost anywhere from 275-396 the value should be 7.00 but it puts it as 5.00. When I type 397 it changes to 7.00. I can't determine why it's not calculating correctly every time. var size=(this.getField("KegSize").value);var cost=Number(this.getField("KegCost").value);var ABV=Number(this.getField("ABV").value);if (size="1/6")var product1=Number(cost/640);if (size="1/4")var product2=Number(cost/992);if (size="1/2")var product3=Number(cost/1984);if ((ABV>1)&&(product1>.2))event.value="7.00"; else if ((ABV>1)&&(product1<.2))event.value="5.00"; else if (ABV<1) event.value="";if ((ABV>1)&&(product2>.2))event.value="7.00"; else if ((ABV>1)&&(product2<.2))event.value="5.00"; else if (ABV<1) event.value="";if ((ABV>1)&&(product3>.2))event.value="7.00"; else
If the value from box 1 is greater than the sum that generates into box 2, I need a text box to become visable with a warning in it. Question 1: Do I put the code in box 2 to make the text box pop up or in the properties for the text box?Question 2: Why isn't this working.? var v1 = Number(this.getField(“Box1”).valueAsString);var v2 = Number(this.getField(“Box2”).valueAsString);if (v1 > v2){event.target.display = display.visible;}else{event.target.display = display.hidden;
Updating a customer's old InDesign files. Part of the task is doing a find/replace, swapping out all the old Type 1 fonts (all OfficinaSans) with OpenType fonts. InDesign did that with no problem. BUT! When I export these new files to a PDF and look at the font list, it still shows OfficinaSans as a Type 1 font. Am I doing something wrong, or do I just not understand something fundamental? Incidentally, I not only tried File>Export to a Print PDF ... I also printed to a PS file, and Distilled it. Same result ... PDF looks like all Type 1 fonts.Using Windows 10 ... latest updates of InDesign and Acrobat. Thanks to anyone who can 'splain this to me!
Hi everyone, I would like to embed/upload a 3D PDF with an 3d object in my Angular app. The object can then be saved accordingly in PDF, e.g. be rotated. I haven't found much there at the moment.Is this basically possible with the API / SDK? Thank you.
I have 7 Goups of radio buttons (Group 22 - 27 & Group 36). Each group has 2 choices, YES and NO. What Java Script do I need to make a NO selection in Group 26 automatically make Groups 22-27 show NO? But also not affecting the ability to select either YES or NO in Groups 22-27 should a YES be selected in Group 36. I am NOT a programmer or JAVA user just FYI I have no experience.
Hi, The text callout feature is not working on all the devices. When I use the text callout, the text and the graphics disappear. This behavior is on my devices where Adobe Acrobat Pro is installed. I uninstalled the 32 bit version of Adobe Acrobat Pro and installed the 64 bit version but the problem persists. Thank you for your support to get this issue fixed as it impacts my productivity.
Has anyone else noticed changes to how annotation drawing callbacks are handled on Mac, in recent versions of Acrobat? We’ve seen our drawing code broken by something in the latest update.More details:We have been maintaining our Acrobat plug-in for many years, going back to Acrobat 6, on both Windows and Mac. Part of what we do is custom drawing for annotations from a AVAnnotHandlerDrawExProc callback, using system drawing APIs with a context returned by AVPageViewAcquireDrawContext, either a Windows HDC or a Mac CGContextRef. We draw both to the annotation rectangle, via AVPageViewGetAnnotRect, and to the entire window, adjusted by AVPageViewGetAperture.On Mac, we have to adjust coordinates for high-resolution Retina displays by the backing scale factor (usually 2), but otherwise, we’ve been able to just take the CGContextRef and draw into it directly, with calls such as CGContextDrawImage and CGContextDrawPDFPage, and things
Created a MSWord document on my iMac and saved it as a PDFile using Acrobat Adobe a couple months ago. Opened the PDF version this morning and each page was covered with a gray checkered pattern that I was unable to get rid of -- any ideas/suggestions as to what caused this problem and just how do I eliminate this pattern from each page...? Thanks for any assist. CFA-341
Hi, I have a form that requires some text fields and check boxes to be hidden if a serial number that is inputted by the user contains certain numbers/ letters for example: I would like all text fields to be shown if the initial box is empty/ if the form is cleared however, if the user inputs a serial number such as ABCD22440ABD12345 i would like the following boxes hidden: "Stuffer Box", "Waffle Plates", "Check Box13.7" and "Check Box14.5". if ther serial number does not contain 2244 i would like "Packer Guard" and "Check Box13.3" to be hidden if i can get that working i can probably get everything else i require to work. Thank you
Hello,I have a problem displaying a script in Acrobat DC.I've created a script for a form field.I use the javscript instruction "app.alert" to display the message corresponding to the result of a validation check of the data entered, but the message is not displayed.Can you please tell me why the message is not displayed?Here's the script:// Replace "MINI-TENNIS" and "DATE OF BIRTH" with the actual IDs of your fields in the formvar caseMiniTennis = this.getField("MINI-TENNIS");var caseBirthDate = this.getField("BIRTHDATE");// Check if the MINI-TENNIS box is tickedif (caseMiniTennis && caseMiniTennis.isBoxChecked(0)) {// Get the date of birth enteredvar dateBirth = champDateBirth.value;// Check whether the date of birth corresponds to a child aged 5 to 7var yearYear = new Date().getFullYear();var debutSaison = new Date(anneeEnCours - 7, 8, 1); // Start date for a 7-year-old childvar finSaison = new Date(anneeEnCours - 5, 7, 31); // End date for a 5-year-old childvar dateBirthObj
When extracting pages from PDF in Adobe with javascript, how do I select multiple pages and produce one file?example I want pages 14, 300, 453, 1000, 6000 and produce one file with these pagesAlso, how do I start the index at 1, so these numbers match. Thanks so much for the help. John
Hi, this is day one working with this so I'll try to convey. I'm using Acrobat Pro. I made a dynamic stamp that has 5 user entered values and when you place the stamp it comes up with 5 different dialog boxes for each input. This is not user friendly. I'd like one dialog box to have all 5 lines displayed at the same time so that the user can see all before placing the stamp. Here's the script I'm using in 5 separate text fields:var cAsk = "Enter The Job Number" ;var cTitle = "Job #";if(event.source.forReal && (event.source.stampName == "#8CQ7KDV9KiNCz8K-i8Cf8A")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.DocumentState = cMsg;}Hope this makes sense, thanks for any help!!
After Adobe 23.006.20320 update, Outlook Quick Print not printing for *.PDF files. All other file types are working as expected. We can open from Outlook and then Print. Windows 11 computer with attached Brother printer. Tested with another computer that has the same update with a Canon printer and Quick Print worked.
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.