Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Hi,I have a PDF form developed in Acrobat 10 Pro. I have several Javascript variables that I want to store in the PDF when the form user saves the file, so I can later open the file and check the values of these variables.Is this possible?Thank you.
Each time I use the virtual Adobe PDF printer to create a PDF file on my Desktop PC running Windows 8.1 Pro-64-bit, i.e., whether it's from a newspaper article on a web page, or from an e-mail, PDF data is being stored in the Windows 8.1 Pro Registry under:HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControlHow do I clear the data without messing up the Windows Registry?The list of PDF files specified by their their path is getting really long. There are even PDF listings in the above Registry Key for files no longer on my PC as I'd burned the files to a DVD and deleted them from the original sub-folder in MY DOCUMENTS.I would assume that the PDF listings are for successful print jobs. I also did find one PDF listing for a file that had been mistakenly saved to the wrong sub-folder, which I'd moved to its correct sub-folder in MY DOCUMENTS. However, the file was still listed in the registry as being in the folder it was originally saved into.Any good advice on remedying
I have two text fields: A and B.A is the coefficient of working time and B is the weekly working time in hours.A = B / 40 and B = A * 40.I want to fill one of the text fields A or B and still get a result B or A.How to do it?
Hello,I want to import an existing HFTs and invoke the HFT functions in my own plugin.How do I know or how can I get existing HFTs and its functions so that I can call/invoke the proper function in my own plugin?I am using:Acrobat DC Pro Classic(Acrobat2015)Acrobat DC SDKOS: Windows 7Thanks,Best Regards,Navnath.
Hello,I want to develop a plugin to add a menu to Acrobat.Documentation says that, I will need to use unique prefix before developing plugin to avoid conflicts between plugins.It has given the link of Acrobat developer center( http://www.adobe.com/devnet/acrobat.html ) to register the prefix, but It does not have any information of registering the prefix.Please give the correct link.I am using :1. Acrobat Pro DC Classic (Acrobat 2015) 2. Acrobat DC SDK(Version1)3. Operating system: Windows 7Thank you.Best Regards,Navnath
I want to save my PDF form with a filename which will be picked from one of the form fields. I don't want path to be prefixed.. that may choosed by the user in the traditional way.. i only want the filename to be automatically there in the SAVE As dialog box from one of the form fields.I got some of script from internet but none of them work for me.// get the value of the form fieldvar text1Value = this.getField("Text1").value;// make a file name from the field valuevar newFileName = text1Value + ".pdf";// get the path where the file is currently locatedvar filePath = this.path.replace(this.documentFileName);// create the new full pathvar newFullFilePath = filePath + newFileName;try {this.saveAs(newFullFilePath); // Only this will not work from a button...} catch (e) {app.alert("Error! Could not save as: " + newFullFilePath);}
Hi, I'd like to know if it is possible to set the height of the toolbox window; I added some toolbox items to the "Plug-In Add-On Tools" category but the window is too small and some of the tools are cut off. It's possible to scroll but client has understandably asked that it resizes correctly to fit all the tools. Is there a way to ensure the window is always large enough?
What's required to procure the pending upgrade.How much does it cost.What about upgrading CS6 Web Premium as a whole
I have two sets of Radio button : Group0 and Group4 ..... I want to make Group4 readonly and change username(tooltip) when group0 is not choosed...... and when Group0 is choosed then the Group4 is not readonly and changes to other username (tooltip).I used the following javascript in Group0 :var f = this.getField("Group4"); if (event.target.value=="Choice1") { f.display = display.visible; f.userName = "Please choose one of quantity";} else { f.display = display.hidden; f.userName = ""; f.setFocus(); }It does the first condition but when i reset the Group0 Group 4 doesnot change to the second condition.Please help
I'm looking to be able to select a specific field in a PDF and set it's value, as opposed to looping through all of the fields and looking for a specific field name (in VBScript (I'm just a sys admin trying to streamline a task involving filling out many PDF documents, I'm not a developer)In other words, I'd like to replace this (which works):On Error Goto 0FileNm = "C:\Temp\DOC.pdf" Set AVDoc = CreateObject("AcroExch.AVDoc") If AVDoc.Open(FileNm,"") Then Set pdDoc = avDoc.GetPDDoc() Set PDFForm = CreateObject("AFormAut.App") Set x = PDFForm.Fields For Each myField In x If myField.Name = "Text100" Then myField.Value = "something interesting" NextEnd Ifwith something like:On Error Goto 0FileNm = "C:\Temp\DOC.pdf"Set AVDoc = CreateObject("AcroExch.AVDoc") If AVDoc.Open(FileNm,"") Then Set pdDoc = avDoc.GetPDDoc() 'actual PDF document Set PDFForm = CreateObject("AFormAut.App") Set x = PDFForm.Fields Set myField= x.getfieldname("Text100")&n
I want to change the "file size" of a very large Adobe document, but Adobe X only allows up to 10 MB. How can I change the file size up to 50 MB when splitting a document?
Hello I'm looking to have a section in my interactive form that is blank to begin with and if it is required the certain fields will be populated with text. My JS skills are basic but was able to put this together using another script I found - it doesn't work but hopefully sheds light on what I'm trying to achieve? var selectedPrint_required = this.getField("Print_required").value;if (selectedPrint_required=="") event.value = "-";else if (selectedPrint_required=="Yes") event.value = "iPrint";The "Print_required" field is a checkbox and when unchecked I'd like the current field to display "-" and when checked I'd like it to display "iPrint". I have 5 other fields that need to replicate this action using the same checkbox as the trigger. I also have a dropdown that I'd like blank when the trigger checkbox is unchecked but with one of the options chosen when checked. I hope this is possible. Thanks in advance for your help.
Hello,I need to get the coordinates of the selected text in the PDF document.So, How can I get the text selected in the PDF document using JavaScript APIs or any other APIs?Thanks,Best regards,Navnath
Hi, I have a working plugin that adds buttons to a toolbox, the issue I'm having is that when adding the buttons using the trusted functions e.g doc.addField, doc.addToolButton, it works but it keeps throwing exceptions and it looks as if it is affecting the application, the app crashes, the toolbox window is too small and I need to scroll instead of it fitting all the items. the error messages I get back are all from one call. The weird part that I am failing to understand is that these functions will work flawlessly on the second call but not on the first? instead I get the following exceptions being hit:InitializeFormsTrackerJS is not definedInitAnnot is not definedSetRSSMethods is not definedI am using Acrobat X Pro.Thank you.
I have a script which finds all words in a pdf and reports these words back to the console in separate lines for each word.Console report:TRESTLEFOOTINGBUILDINGDETAILSFORPROJECTXThe script needs to be modified to report all words found back to the console in a single line (one sentence) with a space between each word.If anyone can please provide assistance this will be most appreciated, script as follows:var ckWord, numWords;for (var i = 0; i < this.numPages; i++ ){numWords = this.getPageNumWords(i);for (var j = 0; j < numWords; j++){ckWord = this.getPageNthWord(i, j)if ( ckWord != null ){console.println(ckWord);}}}
I am trying to get an error message to pop up if date entered is less than 3 weeks from the current date. Can anyone provide javascript code for this?
Hi,I've searched the forums "date validation" topics but haven't seen this particular issue discussed. Sorry in advance if it's redundant.I have two fields: "Month Ended" and Due_Date." Month Ended is user input with "date validation." Due_Date is calculated based on the user input in Month Ended.The format for Month Ended and Due_Date is set to validate for mm/dd/yyyy. Here are three scenarios and results:1. User enters 9/30/2016. Due Date updates to 10/31/2016.2. User enters 9/30/16. Validation script catches and prompts them to re-enter.3. User enters 9/30. Month Ended "auto-corrects" to 9/30/2016 on the screen. But then Due Date adjusts to 01/00/0000. Scenario 3 is what I need help resolving.Below is the code in each text box.MONTH ENDED DATE VALIDATION BOX (Note: This is also in the Date Validation box for Due_Date)// Validates that the input string is a valid date formatted as "mm/dd/yyyy"function isValidDate(dateString){ //first check for the pattern  
I am trying to sign a document using an IdenTrust token, which worked with Reader X, but after reader updated itself to DC it does not work. The dialog to select the certificate comes up as it normally would, but after continuing from there it does not ask for the password and simply goes into a Not Responding state. Even after leaving it as not responding for over 5 minutes it does not fix itself.Per another post I tried renaming the Security folder and it did not help. It is also updated to the current version via the Help -> Update option.
I have found another discussion on this topic but haven't yet seen a solution. All PDF files on the computer prior to the Windows 10 Anniversary Edition update print just fine. All new PDF files since then print with large black lines replacing most but not all of the print. Any help is greatly appreciated.
Hi guys, I've been having a problem printing with Adobe Reader DC recently. When I print a document from PDF, all I get are streaks of lines (see attached image).I have done all I can to attempt to find the problem including reinstalling my printer's drivers and reinstalling Adobe Reader but the issue still persists. I have contacted my printer's manufacturer support line and they remotely controlled my computer to attempt to identify the problem and it seems that my printer is in the clear.As such, I could only narrow it down to the PDF document. Can someone advise on what i can do?
I'm trying to print a PDF made from a PowerPoint, probably with MS Office. (It's from teacher in a course my wife took.) It makes streaks where the text should be. I'm using Windows 10, latest update to Acrobat Reader. I also have a laptop running Linux (Mint) and can use the app Okular to print the PDF. That works fine. Thus, there seems to be a bug, either in the HP firmware or with A.R. I don't really expect help, since I'm going to finish the printing with Linux. Has anybody else had this problem? I can sent a scan of the messed-up slides if that will help.
A client had this problem two weeks ago and using the registry fix (the link below) the problem went away, but as of today it has returned.Acrobat Reader DC prints streaks after upgrading to Windows 10 Anniversary updateI can confirm that the registry edit is still there. It was fine on Thursday 27th October 2016 but today, 1st November 2016, it has returned. Today the machine received three updates, two were for Windows 10, one of these was a cumulative update, and one was for Adobe Flash player. I am guessing one of these Microsoft patches has caused Adobe Acrobat Reader DC to stop working correctly again?This is what the invoices are printing out as:
I have a form where I need to store text field value as a fraction (like 2 1/8) and then convert to decimal. I tried to use custom calculation through javascript but some how it is not taking fraction value and converting it to decimal.Please help.
Hi,How do we programatically set up the document properties such that it always shows the document title rather than the file name from the initial view ?I'm using the below code to set the title of the document.PDDocSetInfoAsASText(pdDoc,ASTextHolder("Title"),text);
Acrobat XI no longer converts webpages to PDF. Keep getting the following error:
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.