『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Where can I find the Flatten pages Java script for acrobat 9? All links seem to have failed.
hi, i'm using bellow script with drop down field. what i want to do is, if select "SGD" in drop down, fields "EX" value should be empty. if select any other value in drop down, need to popup message "Please fill exchange rate". ps help me to edit bellow script. thanks in advance. thanks..var sNewSel = event.value;switch (sNewSel) { case "SGD": this.getField("EX").value = "";}
I made a PDF form with Acrobat XI that should show/hide layers using JS depending on if the user checks or unchecks a checkbox.At first sight it worked fine either on Acrobat Pro as well Reader DC.I tested it with Reader X (2010) and it worked but didn't allow me to save the changes -- that make it totally pointless to meMy boss tested it on a different early Reader (don't know the version) and it didn't work at all. In his case the worse part is that it didn't tell that there was something wrong neither ask for an upgrade. It just didn't work.There is a way to control this?
hi, i'm using bellow calculating script & it's working. what i want to do is, if any of field is empty, calculation result field should be empty. pls help me. thanks in advance. thanks..var v1 = Number(this.getField("amt11").value); var v2 = Number(this.getField("EX").value);if (v1==0) event.value = ""; else event.value = v1/v2;
I am new to Java Script and am trying to work out the followingI have a form with radio buttons. And a variety of skills observations. Each observation has been marked as a group with different values 0, 1 or 2 depending on the level.I would like my total box to calculate the number of times the '2' button has been selected and '1' button etc. Help!!!
I`m new here. Can you help me or direct me to the answer. I want concentrate in Adobe Acrobat Pro multiple text field values in one and in that field values are as a list etc.Value1Value2Value3Thank you in advance for your help.
Hello there,I have just purchased a new mac running on OS X El Capitan and noticed that some of my Adobe products have issues or do not transfer properly to this OS platform. I am using "Adobe CS5 Premium" and "Adobe Acrobat 9 Pro" and have come across the 2 following issues thus far:1. Adobe Illustrator CS5 crashes every time I use the eyedropper tool. Any suggestions on how to fix this issue? Not sure yet what other issues I will encounter as I have yet to test all the software included in the CS5 Premium package.2. Also, when I bought the "Adobe CS5 Premium" package for use with Design/Web, it included "Adobe Acrobat 9 Pro", for which I also have the product serial number (shown as registered in my Adobe account). I downloaded it from the following Adobe downloads site: https://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html and it will not open at all (I realize it is an older version). Any suggestions regarding fixing this or providing me with a link to an upgrade th
Hello everyoneI'd like to insert a PDF as a watermark on odd page numbers in a specific page range of another PDF. My problem with the code below is that the loop doesn't work. The watermark is always inserted on all pages of my target PDF (all 600 pages). Even if I replace the variables with fixed numbers, the watermark appears on all 600 pages.I have to say, that I'm a beginner regarding JavaScript. Here's my code:var nStart = 1;var nEnd = 11;function watermark() { this.addWatermarkFromFile({ cDIPath: "Register_DEU_Layerk_Rand.pdf", nSourcePage: 0,// nStart: 0,// nEnd: 11, nHorizAlign: app.constants.align.right, nVertAlign: 0, })}var p;for (var p = nStart - 1; p <= nEnd; p++) if (p%2==1) { watermark();};Where's the problem?Thanks in advance.
I am trying to create a plugin that redacts words in the same fashion as the ones you are creating manually. But I am having a hard time figuring out how this can be done. I have played around with PDRedactParams and PDApplyRedactionParams but with no luck. It always create the redaction with my "custom" values for color etc.So what I am basically asking is how to programatically create redaction annotations with the same parameters as used in "Properties" for redaction annotations in Acrobat DC?
Could you please go through below points and help me understand how can I proceed further.1) We've Acrobat Adobe Pro tool which is used to convert pdf files of any format(encrypted, protected) into PLAIN readable pdf files. 2) And then we will use these readable pdf files as inputs to our java programs and extract the content from them.3) When I use our JAVA program to extract the content from these kind of encrypted PDF files, we're getting the output text in symbols and non recognized fonts. So I hope if I use your "SDK\Library\jar" while extracting the content from PDF files, I'll get the content in readable text format. Even when I'm copying the content from pdf and pasting in a text file, the same thing is happening, the pasted content will have symbols and non recognized fonts.4) We'd be happy if you can let us know about the SDK\Library\jar which Acrobat Adobe PRO is using to convert these encrypted PDF files into PLAIN PDF files, so that we can use the same library in our
I want to convert a pdf file to a txt file. I don't know if acrobat SDK can be do it ,Which function is used to do it?
Hi,I used the library provided by datalogic(acrobat's) in my Java Program to extract the content from a pdf file, but after extraction, the content has symbols and non understandable fonts. The same program works fine when I extract the content of another pdf file.Can you please let me know how to read the exact content from the pdf file avoiding the symbols and various non understandable fonts.Thanks,Mahesh
Need SDK to emmbed video in the PDFWe have seen in the Emmbed flash icon
Hi I made a pdf form in acrobat pro XI. In the file I need to calculate total days excluding weekends. I went through the community and come up with the below code. This code counts Saturday and Sunday as weekends. // get the end date valuevar Date1 = this.getField("From").value; // get the start date valuevar Date2 = this.getField("To").value; var dDate2 = util.scand("dd/mm/yyyy H:MM:SS", Date2 + " 0:00:00");var dDate1 =util.scand("dd/mm/yyyy H:MM:SS", Date1 + " 0:00:00"); event.value = calcBusinessDays(dDate1, dDate2); function calcBusinessDays(dDate1, dDate2) { // input given as Date objects var iWeeks, iDateDiff, iAdjust = 0; if (dDate2 < dDate1) return -1; // error code if dates transposed var iWeekday1 = dDate1.getDay(); // day of week var iWeekday2 = dDate2.getDay(); iWeekday1 = (iWeekday1 == 0) ? 7 : iWeekday1; // change Sunday from 0 to 7 iWeekday2 = (iWeekday2 == 0)
hello,I am trying to create a folder level script that will save the file as a specific filename based on the form field data of 2 form fields. I understand that it needs to be a folder level script for proper permissions, but I can't seem to get anything to work. I have searched around a lot and have seen too many lines of code. If anyone can help me from scratch, I feel it would be better to start fresh.The file name should look like this: current folder/W.O. "text1" "text2" "text3".pdfText 1 is a number only field, text 2 is a general text field and text 3 is a date field (ideally this would change the long date to a short date such as Sept 3, 2018 rather than September 3, 2018.Need help with this script, installing the scrip in acrobat XI program java script folder and creating a button on the toolbar in acrobat XI to launch the code.I have something similar setup in word 2010, but this seems to be much more difficult to implement in acrobat.All help is appreciated greatly.Thanks
Hi there,I am trying to use field data to populate text in the summary line using my submit button. Can anyone help me figure this one out? I have tried searching the forums as this seems like a typical thing, but I haven't had much luck...
Hello;I'm working on an Acrobat DC PDF form and need to have one field be able to extract the year (format: yyyy) from another field where the user enters the entire date (format: mmddyyyy). This second field (where the user enters the date) should also automatically add in the slashes once the user leaves the field. How would I be able to do this?Thanks for any help you can provide.
the js file is attached to the 1.7 PDF file.
Hello all,I wanterd to insert pages from one file into a mainfile, and this should be after every third page of the document.I created this js:this.insertPages({cPath:"Mainfile.pdf"});var start = 4;var jump = 3;for (var i=start; i<this.numPages; i=i+jump) {this.insertPages (i);i++({cPath:"Insertfile.pdf"})}But every time I want to run it, I get the error :syntax error: missing; before statement 4, in Zeile5.But I can't see any syntax error (I am not so good with js).Could you please help me? ThanksChristian
Hello, I have 19 various checkboxes that have unique names. I would like it so that if I check Check.19 that checkboxes 1-18 are checked. However, if you uncheck Check.19, they all are unchecked accordingly.The export value is the regular "Yes" currently.Thanks!
Is there any method in SDK which can be used to created AvDoc or PdDoc from Steam or MemoryStream?Basically I don't want to pass File's path but want to use its Steam or MemoryStream or even byte[] can be use.
Hello,In a PDF form I need to reset form fields via a Reset Button, and after that I need to do a go to label, because reset will clear a few fields that has been populated via a dialog display entry. I need to go back where the dialog started to get the data again via dialog fields. Your help and suggestion is appreciated in advance. Regards,Jeff P
Hi there, I am new to Javascripting and could use some help. I'm not even sure what this is called, but I want to have a list box of Available Options and have buttons to move items from that list to the Selected Options list box. Something similar to the screenshot below. Can anyone help me with this?
Hi all,comming from thread Re: Acrobat not releasing files, AV_Layer, AVDocDoSave(), AVDocClose() I'd like to clarify how I can work on the PDDoc API.My aim is to perform an OCR on a given document. To do so I've tried for example:ASAtom pathType = ASAtomFromString( "Cstring");ASFileSys fileSys = ASGetDefaultFileSysForPath(pathType, "C:/_TRANSFER/a4.pdf");ASPathName pathLaunchFile = ASFileSysCreatePathName(fileSys, pathType, "C:/_TRANSFER/a4.pdf", NULL);// AVDoc avDoc = AVDocOpenFromFile(pathLaunchFile, fileSys, NULL);// PDDoc pdDoc = AVDocGetPDDoc(avDoc);PDDoc pdDoc = PDDocOpen(pathLaunchFile, fileSys, false, false);PDAction myAct1 = PDActionNew(pdDoc, ASAtomFromString("PaperCapture"));CosObj onObj = PDActionGetCosObj(myAct1);CosDoc cosDoc = CosObjGetDoc(onObj);PDDoc pdDocNew = PDDocFromCosDoc(cosDoc);PDSaveFlags pdsaveflags = PDSaveFlags();ASProgressMonitor asProgressMonitor = ASProgressMonitor();PDDocSave(pdDocNew, pdsaveflags, pathLau
I'm trying the below code to get a stamp with the multiple input. Based on the selection of option buttons, I require the stamp to be updated. I'm unable to find the error. Could someone help pl.
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.