『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Is there a way apply different formatting to text as default text in a text box?In the example shown, I would like to have the first word (shown in green in the example) bold - and the rest normal unbold. Unfortunately, applying formatting appears to apply to the entire contents of the "Default Value" - not just selected text. If that isn't possible, can the text box have a title?
I am trying to add in proper script for my form in order to calculate certain fields but am running into NaN (Not a number) error codes.Additionally, I would prefer for all cells to remain blank until filled in and they start to populate. I would also like to format the first three columns in the table as number (currency) and the last one as percentage but am running into additional error codes when doing so.To my understanding, I need custom calculation script rather than my simplified field notation to ensure I am able to do this but I am not familiar enough with JavaScript to do this myself. I have taken a partial screen shot of the specific table I am talking about below: I would be looking for the proper JavaScript to put into columns 3 and 4. Any assistance you can provide would be greatly appreciated! Thank you in advance for your time
When I have a PDF open in Adobe Acrobat DC, I select 'Fill & Sign' and the page goes blank.Then, if I click on the X and exit out of the feature, the page reappears but I cannot drop in my signature.How do I get this function working again?Thanks.
Hello, I have created a indesign file which contains 4 layers, I have export it to PDF, I want to create button in PDF with Acrobat which can on and off a layer (A), with Java script code...Thanks...
I am working on a pdf form in adobe acrobat that will merge with another program (Service Monster). This is accomplished by adding data tags such as [LINE_QTY_3] into the properties name box of a given text form field in acrobat, which then pulls in the quantity from line 3 of the other program. The problem I am having is I want to add together the value from 2 text fields that contain data that was pulled in through these data tags. In particular, I want to sum [LINE_QTY_3] & [LINE_QTY_4]. Any ideas on how to accomplish this?
I am trying to write a script to auto-calculate a Goal by multiplying the Total Contract Value by the selection from the drop down box. Here is my stab at it but I am getting a Syntax Error before statement 2 at line 3. Any help is appreciated.Thank you!if(this.getField("Type of Contract").value=='Construction (10% Goal)'){event.value=nTotal Contract Value*0.10;}else if(this.getField("Type of Contract").value=='Non-Construction (3% Goal)'){event.value=nTotal Contract Value*0.03;}else{event.value=0//}
This is more of Curiosity, I'm unsure if this can be done. Now I have Script that will save to a Network Drive, like so:oNewDoc.saveAs({cPath: "/K/Penta/Split/"+filename});Now I wish to know instead of Saving it to my K Drive, could I save it by specifying the name of network drive like so:\\sovarchrpri01\d$\Penta\Split\This is just so I can avoid constantly changing the Drive Letter, since this drive letter changes for the sovarchrpri01 a lot, and just change the folders I would be saving it.
In c#, I have handle of Acrobat DC process instance running, I simply want to traverse through details of PDF documents that are open in it, and retrieve path of all those PDFs using Acrobat DC SDK (InterApplicationCommunication).For this to start with I went through SDK documentation and Samples provided along with it, but samples are not working, Acrobat.dll included in references is missing, so I went through process mentioned in documentation to add reference but Unable to find Acrobat.dll at Project -> Add Rerences... -> COM, I had installed Acrobat Reader DC v2018.009.20050Note: I am using VS2013 or VS2015, both of them giving same problem
Hello,I need help in creating a form with radio buttons:1. There are 37 questionnaires. Each question has 3 buttons with corresponding value but different for each question. Example:Question#1 YES = 4 NO = 0 N/A = 0Question#2 YES = 3 NO = 0 N/A = 0I need to be able to have a total for each field based on the value. So for instance, I selected YES on both = my total should be 7.I have not done javascript before but I am not new in creating acrobat forms, so I will really appreciate any help from all of you.Thank you.Lynne
(EDITED to clarify question)I have a group of radio buttons named KAQuestion.1 (export values are either 0 or 1), a Submit1 button, and two fields - CorrectTotal and IncorrectTotal.If the radio value is 0, submit should trigger 1 to be added to IncorrectTotalIf the radio value is 1, submit should trigger 1 to be added to CorrectTotalPlease help me with the script for the Submit button. Here's the core of what I'm looking at:var KAQ = this.getField("KAQuestion.1").value;if (KAQ == 0)this.getField("IncorrectAnswerTotal").value = +1;elsethis.getField("CorrectAnswerTotal").value = +1;I had this script as a calculation on the CorrectTotal, which works, but I don't want the calculation to trigger until the user commits to the submit buttonvar testFor = "1";var groups = this.getField("KAQuestion");var ar = groups.getArray();var cnt = 0;for (var i=0; i<ar.length; i++) { if (ar.value == testFor) { cnt++; }}ev
Hi. I am a beginner in the JavaScript SDK of Acrobat. I would like to change the size of the 3D annot but it seems the following piece of code is not working. var pageIndex = this.pageNum; var annotIndex = 0; var aMy3DAnnots = this.getAnnots3D(pageIndex); var RectArray = aMy3DAnnots[annotIndex].rect; RectArray = [48, 200, 300, 193];For fields, I have a similar piece of code and it works. aObj = this.getAnnots({nPage:0});aObj[0].rect = [48,100,300,193];Is there anything that I am doing wrong?Thank you very much for your guidance. Acrobat SDK@ !
Hi, I need help creating a JavaScript in Acrobat to calculating 10 years from a Contract Date field. I'm having difficulty with getting this to come out correctly because i need to account for leap years. Any help would be greatly appreciated.Thank you!
I am working on a form for a bar contract for use at a local 503-C Social Hall which is rented out for fundraising to support the group. The form contains five radio buttons to select the type of bar service package desired, and I am trying to have the selected package display on the billing page of the contract. The following Javascript code generates this error: "SyntaxError: Missing ; before statement 17: at line 18". Any help deeply appreciated.// This JavaScript Displays the chosen Bar Package from// Page 1 of the Bar Contract by first retrieving the results// of the Radio Button Selection on that pagevar Package = this.getField("Bar Service").value;// Then determine the Package price per personif (Package == "None") { event.valu = "No Beverage Services Requested, No Charge."} else if (Package == "Non-alcohol") { event.valu = "Non-Alcoholic Package Requested, $2.00 per person, per hour."} else if (Package == "Beer")
I have a field that exists on multiple pages. The fields name is:032stateFor example let's say it resides on page 12 and 13 (based on page index starting with 0).I am clicking a button that looks for a specific layer within the page that the button is on. The script checks to see if the specific layer state is true or false and toggles it accordingly. What I want is the 032state field to do is....When the specific layer ON THAT PAGE is visible the field is visible, when it is off the field is hidden.So if I click the button on page 13 I need it to ONLY change the display state of the field on page 13.Line 20 and line 33 is where I am stuck.Here is my code...any help would be greatly appreciated. I'm still a newbie var ocgSchematicArray = this.getOCGs(this.pageNum);var getButtonName = this.getField("032wires");var getState = this.getField("032state");var theFieldsPage = getState.page;// Look through all the layers on this pagefor (var i = 0; i < ocgSchematicArray.length; i++) {
sorry for the dumb question first. I don't even know if its possible.if there any way to put a random check mark with the click of a button? a click will provide check mark/s on the different check box/es...for example..I have 10 check boxes. when i click on a button or 1 of the checkbox, it will put check marks on 1, 2, or 3 check marks in any of the 10 check boxes?also, can i put a random but check mark on certain check box more frequent? check box 5, 6, and/or 7 gets most check mark??I am sorry if i am not clear but I am trying to generate random check mark on my 10 check boxes automatically and favors check box #5,6, and/or 7.Any help will be greatly appreciated.Thank you!
Type PDFType = Type.GetTypeFromProgID("AcroExch.App"); CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp; AcroAppObj.Show(); CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc; CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;Now I have CAcroPDDoc object, but still unable find any library function which returns Path of document, could you please help in this. Type PDFType = Type.GetTypeFromProgID("AcroExch.App"); CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp;How can I get this file path? could you please help in this!
Hi.I have a multiple page document and there are buttons on the first page to direct me into different pages of the PDF. As there are buttons on the page to navigate around the PDF, I would like to disable the page change by keyboard or mouse scroll.Is it possible to capture the page change event? or is there anyway to stop user from turning from page 1 to page 2 by mouse scroll or by page down/up keys on the keyboard for a multiple page document?Does Adobe SDK provide a solution on this issue?Thanks.
I just wish to retrieve the path of PDF document opened in Acrobat DC Pro, and save paths to my database in c#,I able to get active pdf document in c# but unable to retrieve path of the document,Type PDFType = Type.GetTypeFromProgID("AcroExch.App");CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp;CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc;CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;But not getting path of of that document, is there any other way to achieve this?Help will be much appreciated
Hello,I need create new option in Adobe Menu to "export/send" current/opened document to Java Servlet.I using free Adobe Reader DC.First my idea was to use http method in adobe java script api, but I still fighting with security permission.My java script code is in User folder: C:\Users\insys\AppData\Roaming\Adobe\Acrobat\Privileged\DC\Javascripts\Below there is a code for http method:var runExtract = app.trustedFunction(function(doc) { app.beginPriv(); try { var params = { cVerb: "POST", cURL: "http://10.179.13.16:8088/ppap/uploadFile", &
hi does anyone know the function to get platename colours used in pdf to show in an alert box?
Hello. I'm a beginner in javascript, and I have adobe acrobat X pro.I want to be able to search for a specific string within the pdf, and then save the sequence of numbers that come after that string for my file name. Then I would want to check if the following pages have that same exact sequence of numbers, and if there are then I want to extract all the pages with that certain number sequence into one pdf. However, I want to be able to keep looking for new number sequences after I have finished extracting the pages with the first number sequence. For example, page 1 NO: 0158Kpage 2 NO: 0158Kpage 3 NO: 0158Kpage 4 NO: 9090Vpage 5 NO: 223Mpage 6 NO: 223MUsing this example, pages 1, 2, and 3 would be extracted into one pdf together. Page 4 would be extracted by itself, and pages 5 and 6 would be extracted into one pdf.I kind of have an idea of how to do this, but I'm not quite sur
Hi,I have some Excel 2010 VBA code that’s been working quite well with Acrobat XI Pro.But when I run it on a PC with Acrobat 2017 Pro, the same code crashes, right at the first step, creating the App.Rather then post the entire spreadsheet here, this excerpt illustrates the problem. The code runs in Workbook_Open()'-----Option ExplicitPrivate Sub Workbook_Open() Dim OkCan As Integer Dim AcroApp As Acrobat.CAcroApp OkCan = MsgBox("About to run Set AcroApp = CreateObject(""AcroExch.App"")", vbOKCancel) If OkCan = vbCancel Then Exit Sub Set AcroApp = CreateObject("AcroExch.App") MsgBox ("Done") Set AcroApp = NothingEnd Sub'-----XI Pro, this works.2017 Pro, crashes on Set AcroApp = CreateObject("AcroExch.App")Run-time error '-2147467259 (80004005)'Automation errorUnspecified errorReferences are set correctly, both PC's.Excel 2010 on both PC's
Hello,I want to:1. Count text fields with specific color using JS (text fields are created manually with Adobe).2. Insert into them their respective number or string (like SOMETHINGX, SOMETHINGX+1 and so on).a) clean all fields before step 23. Change color of each text box (without mundane, manual work) of each box.Are these magic tricks possible?Cheers
Please help and would be greatly appreciated. I have a form that I input a value from 1 to 9. value input can be 1, 1-2, 2, 2-3, 3, 3-4, 4, so on up to 8-9, 9.when the value is inputted (from 1 to 9) , can I make a form that automatically puts a check mark on the appropriate check box? I have three check mark box which are mild, moderate and severe.to clarify here is example:in the text box type in 3 and the mild check box will get checked automatically. if value is updated to 8-9 "severe" check mark box will be checked.THANK YOU SO MUCH for your help.
I bought it about six months ago, and I purchased a new mac recently. But I can not find the download page for Adobe Acrobat Pro 12. All I can find is Acrobat DC, and I can not use my serial number to active it. So can anyone give a link to download Acrobat Pro 12? Thanks.
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.