『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I have a form in Adobe acrobat where i have multiple checkboxes. Is there a way that if multiple check boxes are checked, the first check shows up on the first text box, and the second check box shows up in the second text box and so on, but; if the first check box is blank, and the second one is checked, could the second check box populate to the first text box instead of the second text box and so on down the line of all checkboxes required to auto populate text?// array of field names to usevar aFieldNames = new Array("cb1", "cb2", "cb3", "cb4", "cb5", "cb6", "cb7", "cb8", "cb9", "cb10", "cb11", "cb12", "cb13", "cb14", "cb15", "cb16", "cb17", "cb18", "cb19", "cb20", "cb21", "cb22", "cb23", "cb24", "cb25", "cb26", "cb27", "cb28", "cb29", "cb30", "cb31", "cb32", "cb33", "cb34", "cb35", "cb36");// clear the result fieldevent.value = "";// variable for testing the value of a single fieldvar cItem = "";// array of values not equal to "Off"var aValues = new Array();// pr
Hello. Using the Acrobat API, how can I write a script that does whatFile->Create->Combine Files into Single PDFdoes in Acrobat. I need to do this for thousands of PDF files, so it can't be done by hand. I need some way to automate it. The files have a rigid naming convention, so I can easily generate the name strings automatically. Is there a way to do this using the JavaScript API, or maybe the PDFL API? I know how to open, read in, and write out PDF files, but what calls are needed to actually combine them into one single document? Thanks.
Is it possible to redact multiple PDFs (30,000 of them) when the text search function is not working successfully? I need to redact SSNs, but they are hand-written and are not recognized by the "search and replace" function. But they're all in the same space on the documents. So, is it possible to redact, say, using the same spot in a PDF across multiples? Like two inches from the bottom, three from the left, and 1/4 inch x 3 inch redaction box? I'm using Acrobat DC. Thanks.
I am on an iMac 27inch Mid 2010 running Yosemite 10.10. I have tried installing Acrobat DC a number of times, initially I was unable to do so until I removed all old copies of Acrobat using the Adobe Uninstall utilities. After that it did start to install but failed with the following message below.What can I do to solve this problem quickly? ThanksExit Code: 7Please see specific errors below for troubleshooting. For example, ERROR: DW003, DW006 ...-------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s) ----------- Payload: Adobe Acrobat DC 15.10.20056.0 Acrobat DC/Acrobat DC Installer.pkg_15.010.20056 -----------ERROR: DW006: Apple Package failed to install successfully.ERROR: DW003: Third party payload installer Acrobat DC/Acrobat DC Installer.pkg failed with exit code: 1-------------------------------------------------------------------------------------
I am having problems in using Acrobat Pro DC. When I open a PDF file for reading, Acrobat hangs on for several seconds with a "Not responding" message. The screen sometimes gets gray. After freezing for several seconds, the system works normally.Sometimes the freezing starts when I close Acrobat. On other occasions, the "Not responding" notice does not appear, but the document cannot be scrolled for some seconds.I am running Acrobat under Windows 8.1.Any suggestion on where the problem originates from, and on how to fix it?Max
Hi All,I need slug information only for cover page (page 1). Rest of pages need not the slug portions. So am trying to crop the pages to remove slug areas except cover page using crop tool (with trim size).Is it possible with scripting? I am novice in Acrobat scripting, i tried using with this forum previous thread.var arrMedia = this.getPageBox({cBox:"Trim", nPage:1});arrMedia[0] = 0; arrMedia[1] = 0; arrMedia[2] = 0; arrMedia[3] -= 60; this.setPageBoxes({cBox:"Trim", nStart:1, nEnd:this.numPages-1, rBox:arrMedia});Thanks,K
This is the script I am working with, what would it need to look like to achieve this?var VOL = this.getField("VOL").value;var CFM50 = this.getField("CFM50").valueif (VOL == "" || CFM50 == "")[event.value = 0]else event.value = (CFM50*60/VOL)Thank you guys (and girls) in advance, I am very new to javascript and adobe, this is actually my first day working with it and Ive been struggling to make this work.
When I try to cut and paste from another document into Adobe Acrobat text box I get the following:This also happens when I use my Text Expander. I know there must me a solution. What is it?
Please, how to specify a default value to a field using a variable / calculate / script?
I have a form that has a text field for a percentage (5 digits with decimal). If the percent is 100.00, the barcode reads 100. Is there a way to capture the percentage without the decimal and keep the trailing zeros in the barcode?Here is what I have tried:strValues += oParam.oDoc.getField(strFieldName).value.toString().replace(/\./g'');with results of 100.Thanks
I have Document Will save question. I'm just trying run this script that will prompt an app. alert if the a text box is visible, let me know what I'm doing wrong here, I'm new to adobe forms, so thanks for any help.var a = this.getField("Text11");if (Text11 == display.visible) app.alert({CMsg:"remove all text", oCheckbox:true});
I have a form that has 3 standard pages(fillable) with several templates arranged into three categories (instructions). I would like for the user to be able to print only the instructional pages needed by selecting them from a menu button. Is it possible to place the templates into an array by category that can be selected from a menu for printing? var cChoice = app.popUpMenu( "Category A", "Category B", "Category C);if (cChoice !=null){ switch (cChoice) { case "Category A": var a = new Array("Template_Page1", "Template_Page2", "Template_Page3", "Template_Page4","Template_Page5"); for (i = 0; i < a.length; i++){
A week ago I knew nothing about pdf file internal formats or how to write an adobe plugin, but now I have successfully created a plug in to convert the bookmarks to named destinations and then export these named destinations to a text file. I have one bug to fix, though, the situation where the destination name tree does not exist. I could really use some help to finish this off. Question 1: So I use the following to get the name tree:PDNameTree pdNameTree = PDDocGetNameTree(pdDoc, ASAtomFromString("Dests"));My first issue is how to test for whether this is null. if (pdNameTree == NULL)andif (PDNameTreeEqual(pdNameTree, NULL))are not acceptable syntax.So I'm usingif (!PDNameTreeIsValid(pdNameTree))instead. Does that seem like an acceptable practice? Is there any other way to test if a Destinations name tree already exists?Question 2: After determining that there is no destinations name tree, how do I create one? I see the function PDNameTreeNew in the API,
Hello,I am running this custom script to figure a field, problem is they want the sum to be a percentage rounded to 4 decimal points, but when I set the field to be a number and limit it to the 4 decimal points, the field gives an error because the custom script is putting a "NaN" in the field when there are no numbers to calculate. This NaN is not a number and causes the error message that it does not comply with the allowed format of the field.// Get first field value var v1 = getField("DSW-Total Payments").value; // Get second field value var v2 = getField("DSW-Total Monthly Income").value; // Set this field value equal to the difference event.value = v1 / v2 * 100;Any help would be greatly appreciated.
I thought I'd cracked it with this: bookmarkRoot.createChild({cName: this.documentFileName, cExpr: "this.pageNum++", nIndex: 0});However, it inserts the bookmark at page 2. I've done some reading and found out why this happens - createChild makes a bookmark on the page after the hidden root bookmark.Is it possible to achieve?NB: after running this script on a large number of PDFs my plan is to combine them into one document, then use another script to create a contents list.
Hello,I had created a plugin to create highlight annotation by adding a custom menu to acrobat.Acrobat version: Acrobat DC 2015 (Classic) trial version.OS: Windows 7IDE: Microsoft visual studio 2013Today, its trial version has expired so I tried to reinstall it. It installed properly.However, my plugin is not getting loaded in the Acrobat. I mean the custom menu that I had created using plugin is not getting added.I tried to debug with Visual studio , I am not able to debug it as its not getting loaded by Acrobat.What can be the possible reason behind it?Thanks.
Hi,I am trying to make a PDF - I want one section to autofill using a java script.I have 4 names in a drop down field called: "Site Contact"I would like another field to auto populate a phone number - for instance:If "Joe" then "1-800-555-5555"And an option that if there is no name selected then it is blank.Can i do this?Thanks,[ Mod: Changed subject form "Java" to "JavaScript" Question - this has nothing to do with Java ]
How to extract 2 first and 2 lats pages from acrobt document with variable x-pages using java and than save it with the same name as the pdf +_cover?
I have a Lotus Notes Application which I use LotusScript (Similar to VB) to take a PDF template and fill it with data and save. Our company is moving away from Lotus Notes and I am moving the application into Oracle APEX. I have been trying to find coding examples to do what I have done in Notes in either Javascript or ActiveX. I currently have Acrobat Pro and will be getting DC sometime soon. Can anyone provide any information where to find some examples?I have searched Google and Adobe but everything I am finding deals with C#, Java, or other software. I am limited to PL/SQL, javascript, or using ActiveX.
I want to edit a company PDF document from my application written in C# winform, What is the easiest way to do this?Which SDK do I need? The PDF document I want to fill is a protected pdf with editable fields.//Anders
Hello!Any ideeas how to remove all accents from all PDF form inputs on submit?I am interested in doing this on client side, before the submitted data reaches the server.I.e. i type in a input field from the PDF form the string "șțâȘȚÂ" and after submit button is pressed the output needs to be "staSTA". I did some research on some topics with javascript but it didnt work out for me.Thanks!
Hello everyone,Could you please tell me how to make a JavaScript button on PDF file which has only 3 pages so when I press Page 1 of JavaScript button the multi function printer (Ricoh Aficio Mp 4000) automatically prints first page from second tray. P.S. I'm using Acrobat DC Pro.
Is there a way to find if a string includes specific chars using javascript?I am using adobe acrobat 8.1, and the method includes() doesn't exist....
I'm suddenly seeing that some laser printers are printing black blobs in PDFs that I create. It seems to be a font issue as the blobs are only in text and look like mutations in the font. My commercial printer doesn't seem to have problems with the files, and the files print with no problems on ink jet printers. The files also print OK when I use "print as image". That's OK for me, but I need to create files that my clients can print without worries. Is there a setting I'm missing?
I need some help but I'm not sure this is possible.I have a fillable PDF document that will need three different people to 'approve' or 'acknowledge' it.I have a check box ('ProjectManagerAcceptance') 'required' (when they check on the box the 'date' field (ProjectManagerDate) is automatically populated - already have this script and it is working) and the person then types their name in the 'Project Manager Name' field and they are done and they save it. But once it is saved I want the second check box to become 'required' so the next person has to acknowledge it (date is automatically populated when 2nd checkbox is checked) and once they save it the third and final box is set to 'required' for the third person.Below I have shown the 1st check box required, then the 2nd one I want required only after the the first one has been checked and saved, followed by the 3rd one to become required after the second one has been checked and saved.If I set all three check boxes as 'required' than
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.