Unlock the power of Acrobat SDK through our community.
Actividad reciente
Script reading a text file works fine in Acrobat Pro, but not in Reader.Is it a configuration issue ? Thanks.
Hi, i will regularly be combining PDF documents. Each month I receive 2 documents: one in English, and another in Portuguese. Apart from the languages, the documents are arranged so that they are identical. A simple merge is not sufficient as the purpose of the merge is to facilitate language learning, so I need, for example, page one of the Portuguese document to become page 2 of the merged document. The idea being that each page of English text is followed by its Portuguese counterpart.i once found code whereby this was done programmatically, but for the life of me a can't find it again. After a PC hard drive reset, I no longer have the codecan you help please?
Hi!I'm trying to get a field to print a true or false answer. The field is supposed to get data from another field (which is a summary field) and state if its 65 or above and then print if it is or not. I have tried the following script but cannot get it to work.{if (this.getField(” Summa ATS 1”) == 65 = true);if (this.getField(” Summa ATS 1”) < 65 = true);if (this.getField(” Summa ATS 1”) > 65 = false);{if (true) System.out.println(" True ");if (false) System.out.println(" False ");}How can I get this to work?
Hello,I have a question.I Build a PDF form for a client. They need to insert many images into a PDF. I do this wit the event.target.buttonImportIcon(); function in a button. This works really great.When the file browser opens when selecting a image, the browser (In windows or mac) shows at first only PDF files. Every time i select an image i need to change the file extension in the file browser from PDF to JPG to select an image. My client must making this step 50 times in a PDF, 450 times in a year. lMy question shortly:Is there an option to show automatically the JPG files in the filebrowser when uploading a PDF?. See the image below.
This is the code that I have in my text field now:var nSubTotal2 = this.getField("RTO_PAYMENT METHOD").value;var nSubTotal = this.getField("WIDTH").value;if( nSubTotal > 749) event.value = nSubTotal * 1;else if( nSubTotal < 749) event.value = " ";// Initial discount value var nSubTotal = this.getField("subtotal").value;if ( (nSubTotal > 749) && (nSubTotal2 < 1) ) event.value = nSubTotal * 0.50;if(!event.willCommit) event.rc = !isNaN(event.change) || event.change == ".";For the most part it works, but when I try to enter a value manually it does not show the number and when the Initial Discount Value event is met, it keeps that value instead of taking the manually entered number. It was quite the process to get it to calculate what i needed and perhaps there is an easier way. The [Down Payment] field needs to draw from the WIDTH because certain sizes require different amounts (ie. 8' requires $100 down, etc.), but at the sam
Good morning I am using the script inserted below. And every time I go to save my form with the check boxes it doesn't validate them saying they aren't answered even when required. I'd appreciate any help that can be given.if (f.type!="button" && f.required && f.display==display.visible) {var emptyFields = [];for (var i=0; i<this.numFields; i++) { var f= this.getField(this.getNthFieldName(i)); if (f.type!="button" && f.required ) { if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) f.strokeColor = color.red; //Highlights the required fields in redemptyFields.push(f.name); }}if (emptyFields.length>0) { app.alert("You must fill in the following fields:\n" + emptyFields.join("\n"));}else app.execMenuItem("SaveAs");
I have a pdf photo album. Can someone tell me the easiest way to place jpeg images into the album? Do I have to convert each and every jpeg to pdf? I want to give the album to my friend which only use the Acrobat Readers and they don't have any way to convert the images to pdfs. What can I do? Can someone suggest a solution? Thank you all.
I want to call a Javascript function when a PDF opens or loads. Or when I click this Layer button.How do I do it? Thanks in advance!
Using Adobe Acrobat Pro XI, I am working on a medical form form notifying our medical team of new patients. Upon completion of the form, I am trying to set it up to use a button to submit the saved PDF form and send it to our medical team in an email (we use MS Outlook across the organization). I've found multiple scripts that get me close to what I'm looking for, but I'm trying to accomplish this task with the following parameters: Email To: "medical_team@outlook.com"Subject Line: "Patient Notification Form - [LastName, FirstName Rank]"Attach as: PDFBody / Message: "Please find the attached Patient Notification Form for [LastName, FirstName Rank] attached."Form Field Names: - Last Name: Pull from form field "Patient_Last_Name" - First Name: Pull from form field "Patient_First_Name" - Rank: Pull from form field "Patient_Rank" Any help would be greatly appreciated!
I am using Acrobat Javascript API to run a color conversion operation (this.colorConvertPage) but there is no option to mimic all the configurations available in the Color Convert dialog.For "Preserve Black" I can use the preserveBlack option from colorConvertAction object. However, there is no option on colorConvertAction to do what "Promote Gray To CMYK Black" does.Using just Preserve Black all DeviceGray objects are mapped to rich blacks on CMYK, but using Promote Gray To CMYK Black does what I want, no rich blacks.Any ideas?
I have a simple task (of exporting and saving pages of a pdf as specific names) that is repeated and id like to be able to automate somehow through JS. I am trying to enable the console using this guide: https://acrobatusers.com/tutorials/javascript_console But find that the checkbox for "Enable JavaScript debugger after Acrobat is restarted" is not there. See my screenshot. Is that only for PRO? What am i missing here? (Windows 7 - and i am at my office) Thanks in advance!
Hi All,We have multiple customers that they are having issue with Adobe Acrobat Professional 10.1.2. Version.Portfolio Option is not working on all the customers machine.When we they try to convert Excel files to PDF Portfolio, its getting failed.Can some one help us to resolve this issue. please help!!!RegardsAmol
I want to search a multi page pdf for specific text "87 Main" and delete those pages which have that text.Search needs to be Whole Words so as not to delete pages with "187 Main".
Hi... I've recently installed Acrobat Pro DC (Team subscription) on a workstation in my office. I've since noted 12 different executables that appear to be related to the product that have attempted to access the network or internet. The environment I support requires that I understand why executables are running, especially when those executables are attempting network access. I contacted tech support, but was given the answer that they don't know what these individual applications do and they had no resource to find out (I'll refrain from expressing my frustration over this answer).I have either discerned or learned from Google searching what several of the executables' functions are. However, I am left with several unknowns, and most of these didn't show up until a week or more after Acrobat was installed:C:\Program Files (x86)\Common Files\Adobe\AdobeGCClient\AdobeGCClient.exeC:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\AdobeGCClient\customhook\gccus
Hi,I am looking for the C# function to extract the XML from the XFA data in a program. I can test the result manually in Acrobat but I have a lot of file to do that...On the AcroPDDoc class there is a GetJSObject function but I can't find what I can do with it in C#.Is it the good function ?
Hello,I am using OLE Automation C++ APIs for Inter-Application communication.I want to get the selected text in PDF and apply annotation to that text.For this purpose, I created the CAcroPDTextSelect object as below:CAcroPDTextSelect *textSelect = NULL;if (!textSelect) { COleException e; textSelect = new CAcroPDTextSelect; textSelect->CreateDispatch("AcroExch.PDTextSelect", &e);}Then I am calling the function GetNumText with the object textSelect as below:long numText = textSelect->GetNumText();However, execution of this function gives error : Access violation reading location 0xCDFAEB2C.When I did some debugging then I came to know that object m_lpDispatch = 0x00000000 <NULL>Am I missing something while initializing things?Please help!Thank you in advance!Regards,Navnath
This code is not working like I think is should, some times it over writes the values in the dropdown field and other times it drop the values down 2 spaceseach "ASAValue1 -> ASAValue16" is a Dropdown Field, with a possible Dropdown Field name of CSk1 -> CSk23I don't see these app.alert come up either:app.alert("We are in the CareerSkills Function ASAValue : " + ASAValue, 3);app.alert("We are in the CareerSkills Function CSkASAValue1 : " + CSkASAValue1, 3);TotalSkillsAdjustment Field is from 0 -> 7var ASAValue = this.getField("TotalSkillsAdjustment").value; app.alert("We are in the KeyStroke CareerSkills ASAValue : " + ASAValue, 3); var ASAValue1 = "CSk" + (ASAValue + 1); var ASAValue2 = "CSk" + (ASAValue + 2); var ASAValue3 = "CSk" + (ASAValue + 3); var ASAValue4 = "CSk" + (ASAValue + 4); var ASAValue5 = "CSk" + (ASAValue + 5); var ASAValue6 = "CSk" + (ASAValue + 6); var ASAValue7 = "CSk" + (ASAValue + 7); var ASAValue8 = "CSk" + (ASAValue + 8); var ASAValue9 = "CSk" +
I want to create a text annotation on a PDF page.For this I need to get LPDISPATCH object from GetBoundingRect.As it comes under the Object PDFTextSelect, I need to create CAcroPDTextSelection object.However, I am not able to create that object.How can I create object of CAcroPDTextSelection?Regards,Navnath
Installing adobe acrobat pro XI on a new computer but getting a message that a "qualifying" product is not installed. Adobe acrobat pro XI is installed on my computer but is not listed as a qualified product from the drop down. The message says that mu serial number is valid, but no qualified product is downloaded.????
When I open the vb.net samples of acrobat cd sdk, the acrobat objects are not defined error is shown
Hi,Been trying to change layer visibility using script: PDF is created as interactive PDF in InDesign cs6 with 3 layers, with the first set in InDesign to visible, second layer default set in InDesign to not visible, third layer which in InDesign when exporting as interactive PDF automatically is exported with no control over it (Guides and Grids), can in Acrobat Pro DC be set to not visible. Using a script from Try67 from this forum (Can I remove a layer using Javascript? ) I modify to name the second layer "background" to become visible instead of the default first layer, and all else to be hidden.var ocgs = this.getOCGs();for (var i in ocgs) { if (ocgs.name=="background") ocgs.state = true; else ocgs.state = false;}If I open the PDF on a Windows desktop, works perfectly. Upon opening, the first layer and third layers are not visible, and the second layer ("background") is visible.The problem:If I upload sa
I am trying to format a paragraph generated by an action button in a Text Field..the javascript is as follows:this.getField ("Text1").value = "Chief Complaint\n" + salutation + patient + " is inquiring about utilizing orthotic bracing for " + pronoun + " current conditions; " + pronoun + " chief complaint at the time of this assessment is: " + location + " pain.\n" + "\n" + "Medical History\n" + "Medical History findings taken during the intake portion of this assessment include: " + this.getField("hpi").value + "\n" + "\n" + "Subjective Notes – Information Reported by Patient" + "\n"+ "On a 1-10 pain scale " + salutation + patient + " describes " + pronoun + " pain as being at a level " + this.getField("dme.pain-level").value + ". " + salutation + patient + " " + location + " pain has been constant for " + this.getField("dme.length-of-pain").value + " months.\n" + salutation + patient + " chief complaint is " + location + " pain, which is associated with a level " + this.getField("dme
Hi,everytime I try to install CS5 or CS5.5 on the new OS X Sierra System it says, I should eject the image. Is it possible to install it with the Terminal?
I could really use some help from some kind soul out there. I have been racking my brain trying to learn this and scouring the forums/internet and have come up empty handed. I have been trying to figure this out for the last 3 months on my own with no success. Could someone please help me?I have two folders: folder "A" and folder "B".On any given day they will both have multiple PDFs in them. The number of PDFs will vary from day to day and week to week, but the number of PDFs in both folders will always match on the same day.i.e. Monday folder "A" could have 15 PDFs and thus folder "B" would have 15 PDFs. Tuesday it could be 3 PDFs in each folder. Friday it could be 1,000 PDFs in each folder. Regardless of the day, there will always be the same number of PDFs in each folder.I am currently running/using Adobe Pro 8 (not my decision, out of my control/authority) and due to the limited functionality I have to find an alternative/creative way to achieve an end result via a script. At leas
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.