Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
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:
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
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.