Questions
Recently active
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:
Hello,I am using IAC OLE automation APIs for inter-application communication with PDF document.I want to execute "Highlight text" menu item programmatically using MenuItemExecute("Annots:TextEditMenu:HighlightSel"), however its not working.I checked whether this menu item is enabled or not using MenuItemIsEnabled("Annots:TextEditMenu:HighlightSel"). Its returning -1. And as per documentation(http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FIAC_API_OLE_Objects%2FMenuItemIsEnabled.htm), It means that menu is enabled.However, whenever I execute the function MenuItemExecute("Annots:TextEditMenu:HighlightSel"), It gives me following error:"Attempt to call a method that has not been implemented"I am putting my code snippet here:CAcroApp *m_pAcroApp;COleException e;m_pAcroApp = new CAcroApp;m_pAcroApp->CreateDispatch("AcroExch.App", &e);m_pAcroApp->MenuItemExecute("Annots:TextEditMenu:HighlightSel");Product details that I am using are:Acrobat v
I have a PDF form with embedded Javascript that I made a while back. It's been working fine for months, but today it started giving me this error:TypeError: Item.indexOf is not a functionI looked around the forum and found that this seems to be a problem with older Acrobat not supporting JS 1.6. But I'm using Acrobat 2015, which should support this call. And again, this script had been working fine until today.I don't know if it's related, but the only factor I can think of is that I've downloaded and used a heavily JSed PDF. That PDF worked just fine, but would it be possible that this PDF somehow disabled my Acrobat's JS 1.6 support?How do I get JS 1.6 support back?
The script for saving xfdf file works fine in Pro but with Reader I get the error:RangeError: Invalid argument value.Doc.exportAsXFDF:20:Field Button3:Mouse UpThe config.js file (for Reader):myTrustedReadFile = app.trustedFunction( function ( oArgs ){app.beginPriv();var rStream = util.readFileIntoStream(oArgs);var cFile = util.stringFromStream(rStream);app.endPriv();return cFile;});myTrustedExportXFDF = app.trustedFunction( function ( oArgs ){app.beginPriv();this.exportAsXFDF(true,true,null,oArgs)app.endPriv();return true;});;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;And myTrstedReadFile Works fine (in Pro and Reader)Thanks for your time.
I am trying to create javascript to populate a field (FieldText13) with a dollar amount based upon whether or not CheckBox9 (2 hours) or CheckBox11 (4 hours) is checked multiplied by the dollar amount that is entered by the user in FieldText11.I've made multiple attempts but cannot get the javascript to work. Thank you.var cb1 = this.getField("CheckBox9").isBoxChecked(0);var cb2 = this.getField("CheckBox11").isBoxChecked(0);if (cb1 && cb2) { event.value = "";}else if (cb1) { event.value = ("FillText09" * "FillText09val");}else if (cb2) { event.value = ("FillText11" * "FillText11val");}else { event.value = "";}
I need your help! I want to implement a radio input that when, for example, the user selects one opcion, block tone particular text-field. I am using it for another function the checkbox as follows:if (this.getField("xxx").value == "Off"){ this.getField("yyy").readonly=false; } else { this.getField("xxx").readonly=true; this.resetForm(["yyy"]);}But does not fulfill the necessary function since it allows multiple selection.
HiI have one laptop and one tablet.Can I subscribe one Acrobat DC and install on the two computers at the same timeThis model is available on Office 365.Best regards,Chong Yie
I need help creating a script that calculates a persons age using their date of birth and date of deathThanks,mike
I have a fillable form that I've made for our sales team to use on sales calls. There are about 20 different fields per row in which they must either fill in data or choose an option from a dropdown menu. I've added a check box beside all of the rows except the first row that the user can check if they simply want to repeat the entire row of entries above. If they uncheck the box, the copied data is cleared from that row.The script that I've added to the box works for the form fields, but not the dropdowns. Can anyone help me figure out the script that I need to add/revise in order for the check box to work for the entire row above, including the dropdowns? Here is the script that is working for the form fields:this.getField("Location2").value = ""if (this.getField('copy').value == 'Yes') {this.getField("Location2").value = this.getField("Location1").value}this.getField("Qty2").value = ""if (this.getField('copy').value == 'Yes') {this.getField("Qty2").value = th
I am trying to make a tax form into a fill in that will calculate. The problem I'm running into is that I have to make a custom calculation script and I've never done that before. Most of the forms i have to make are very simple. line 1E (this is the line i'm putting the script in) shows (1A-1B+1C+1D)Sometimes line 1C can be a loss (negative number) but when calculating the taxable income you cant use a loss, only zero or positive numbers.So i believe i'd need an if/else statement something likeif 1C is < 0 then 1A-1B+0+1Delse 1A-1B+1C+1DI just have no idea how to put it in as the custom calculation script.I've read thru the forum but cant find anything dealing with this.Thank you!
I need to be able to copy an entire line of form fields and dropdowns if a user clicks a "copy line above" checkbox. I've figured out how to copy form fields, but the script I'm using won't work for the dropdown lists. Is it because I'm trying to copy the dropdown selection into another dropdown menu and not a text field?Thank you for any help
Using Acrobat Pro XI on a PC.Have form with 2 combo boxes. Box 2 (descriptionSelect) is dependent on Box 1 (locationSelect). Box 2 list contains both items and values, populated from array. The values from box 2 are used to determine format of data entered into another field.All of this works great, except for one small problem. When the form is submitted (to a network folder), the descriptionSelect item value does not transfer with the other form data. Instead of the selected item description, it appears to reset to it's default value of "-".What could be causing the selected item from the descriptionSelect combo box to be reset to "-" upon submitting the form?Box 1 item list is already populated. Item values only, no export values. Custom Keystroke Script: "SetDescriptions();"Box 2 - item list dynamically populated from array. Array contains both item value and associated export value. Custom Keystroke Script: "SetDataFormat()".I added
Hello Team, As on today we are running the .Net application on 32 bit, but now we want to run our application on 64 bit machines. We are using the AxAcroPDF Viewer to view the pdf files in our application it is working perfect in if we run the application in 32 bit, where as if we build the application on 64 bit platform the AxAcroPDF Viewer is not showing the files. Please let us know if we have any solution to this problem.Thanks,Chakradhar
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.