『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
As you can see on the left, I want to populate those text fields with pre-defined values when a user selects an option. Those value will change depending on the option selected. Thanks for any help you can offer!
PDF file has version 1.5,1.6,1.7 I had try get in Info object , but it not exist:console.println( this.info.toSource());How can detect PDF version by js or IAC?Thank you.
Good evening, I am creating an array that will allow total automation of our company's work.However, I am running into the problem of not being able to find the Index of values, which are grabbed from the form fields in the PDF.Here is my code: this.importDataObject("MEDDIAGNOSISICD-10.txt", "C:\Users\dell\Documents\tab excel\MEDDIAGNOSISICD-10.txt");var oFile = this.getDataObjectContents("MEDDIAGNOSISICD-10.txt");var cFile = util.stringFromStream(oFile, "utf-8");var fileArray = cFile.split('\n');var Med = this.getField("Medications 1");var Index = fileArray.indexOf("Med.value");var Search = fileArray[Index.value];console.println(Index);The results always come back as "-1."Any help would be greatly appreciated!
Good evening, I am trying to find a way to read lines from a text file within Acrobat Javascript, more specifically, to search for a line among hundreds of lines.I have looked over the Acrobat JS API reference, and I found that import/export text may not be the best idea since we don't use hundreds of text fields in our documents.Any help would be wonderful, thank you!
Hey everyone,Wanted to know if there is a way to batch create portfolios in Acrobat Pro DC (function or script). Here is what I have.500 folders with files inside them.I want to batch create 500 portfolios from these folders and have 500 individual portfolios in the end basically. Right now ACRO only lets my create 1 portfolio at a time.Also, if possible when the portfolio is created, that it take the name of the folder.Thanks alot
I want to develop a plug in for Adobe Reader in which the documents will be signed and the certificates will be stored in the cloud. What are the steps that i must take in order to accomplish this?
Im building a spreadsheet for a gaming character sheet and Im having trouble implementing a javascript to do an "if-then command.I have a pulldown list and I need a text field box to refer to which selection was made and then implement one math problem (adding up separate fields) or another.For example under Race Pulldown there is Human or Halfling. If they pick Human then text field box needs to show the total calculation result of text field A+B. If it shows Halfling then it needs to show the result of text field A+C.I tried using:if (this.getField("Race Pulldown").value == "Halfling"){ event.target.display = display.visible;}else{event.target.display = display.hidden;}and replacing event.targeting.display with the math calculation but I couldnt get it to workThanksChad
Hi,I am attempting to implement AVDoc.FindText in an excel VBA script to find and highlight all instances of a search term in a document. Here is the code I have:Dim AcroApp, AcroAVDoc Dim gPDFPath, bReset, nCount gPDFPath = "PATH TO FILE" ' ** Initialize Acrobat by creating App object Set AcroApp = CreateObject("AcroExch.App") ' ** show Acrobat Call AcroApp.Show ' ** Set AVDoc object Set AcroAVDoc = CreateObject("AcroExch.AVDoc") ' ** open the PDF If AcroAVDoc.Open(gPDFPath, "") Then Call AcroAVDoc.BringToFront bReset = True: nCount = 0 Do While AcroAVDoc.FindText("Text to Find", True, True, bReset) bReset = False: nCount = nCount + 1 Loop...End SubBut the problem is that the Do While
Using an Epson photo flatbed scanner, I can scan and save jobs as JPGs, but when I try to save as a PDF the program shows the scan in progress box for a few seconds, the scanner makes noise, then the progress box closes itself and the scan job fails/is not saved. This only happens when trying to save as a PDF. I contacted Epson and after troubleshooting, they said the issue is not with them, but with the PDF reader (in this case Acrobat) not converting the scan to PDF. Previously, I was able to scan to PDF.I have reinstalled Acrobat but still have the same issue. Is this problem truly with Acrobat? I am on Windows 7/latest version of Acrobat.
Hi.I am creating an application to sign a pdf from c #.I am currently having the following problem:System.Runtime.InteropServices.COMException: 'Nombre desconocido. (Excepción de HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))'This is the code: Type AcrobatCAcroAppType; AcrobatCAcroAppType = Type.GetTypeFromProgID("AcroExch.app"); Acrobat.CAcroApp gapp = (Acrobat.CAcroApp)Activator.CreateInstance(AcrobatCAcroAppType); Type AcrobatPDDocType; AcrobatPDDocType = Type.GetTypeFromProgID("AcroExch.PDDoc"); Acrobat.CAcroPDDoc gpddoc = (Acrobat.CAcroPDDoc)Activator.CreateInstance(AcrobatPDDocType); &
Hi there!The ultimate goal of this script is to set various field values throughout a form depending on what branch is chosen from a radio button group on the first page. I'm testing out the functionality with just two attributes - location name and address.In my tests, I selected "KBAN" as my location and ran this in the console. It did not set the field values of ("LOCATION_NAME") and ("LOCATION_ADDRESS"), but it did return "321 XYZ Road" in the console window.Any ideas why it won't set the field values?Thank you!var Location = this.getField("LOCATION").valueAsString; //radio button groupvar arrLocations = ["KPOR", "KBAN", "KCON", "KBUR", &nbs
I have a file pdf : Attribute [Fast web view ]= Yes,i call js save as filethis.saveAs("D:\\tmp\test.pdf")[Fast web view ] had change to "No" in result fileHow can keep fast web view when save as?Thank you.
Good morning,I need to modify a macro in VBA so that it prints pages 2 to the end of a PDF document. The problem is how to specify the last page of the document, which varies with every document the macro has to process.Can you please explain how to do it? Maybe it requires getting the lenght of the PDF document first, which I don't know exactly how to do it.This is the macro code so far, which would only print from page 2 (first parameter) up to page 3 (second parameter): ad_ac_doc.Open ("DocName.pdf"), "" pri_err = ad_ac_doc.PrintPagesSilent(1, 2, 2, 0, 0) ad_ac_doc.Close 1 ad_pd_doc.Close
Good evening. I am curious as to find a way to edit the values of a form field based on an excel sheet.Our company deals with many different medications, and cancers. We have master excel sheets to reference the cancers and their codes, and medications, etc, for our employees.Is there a way to access an excel sheet through JS?Thank you!
Good evening, I am trying to create a program which will export the PDF document as a FDF file, add pages, then import the FDF file back into itself.Here is my code, as a javascript action in adobe:var Pgx = ("G:\Team Drives\GENETICS\LOGISTICS\REC FORMS\REC FORM SHORTCUT\1-LS PGX REC FORM.pdf");var Cgx = ("G:\Team Drives\GENETICS\LOGISTICS\REC FORMS\REC FORM SHORTCUT\2-MHS CGX REC FORM.pdf");var File = (this.documentFileName.replace(/.pdf/,""));this.exportAsFDF({cPath: File(".fdf")});this.insertPages({cPath: Pgx});this.insertPages({cPath: Cgx});this.importAnFDF({cPath: File(".fdf")});I have tried looking up for what I could find on the forums, and internet, but it seems that my program does not want to add pages, OR export/import FDf files. Any help would be appreciated! I apologize for my lack of coding skill with Java/Javascript.
I have a work order form I've built and at the end of the form is a checkbox to check if the sale is sales tax exempt. The fields used are as follows (in the order they appear in the document/tab sequence):Pre_Tax_Subtotal (the field for getting the subtotal before tax is calculated)SalesTax (the field that calculates the sales tax; custom calculation provided, below )GrandTotal (the field for getting the total; basically the sum of Pre_Tax_Subtotal and SalesTax)SalesTaxExempt (a checkbox field that returns '1' if checked)Pre_Tax_Subtotal just takes the sum of line items, which works as expected (using the simple calculations provided by Acrobat).SalesTax uses the following formula:if(this.getField('SalesTaxExempt').isBoxChecked(0) == '1'){ event.value = 0; } else { var taxRate = .0825; var subTot = this.getField('Pre_Tax_Subtotal').value; var stc = subTot * taxRate; event.value
We utilize a non conventional way of rounding and I would like to format the calculated fields in my form to this rounding method:Example: 0.45 rounds to 0.4 0.35 rounds to 0.4It's called "Odd to Even" rounding. If the place being rounded (tenths place) has a five in the hundredths place and the number in the tenths place is even it rounds down and if the number in the tenths place is odd it rounds up.Any help would be greatly appreciated. Thanks!
Hi, I have used the below code in applescript. Its working in few systems and not working in few system. When I am checking I came to know Adobe Professional 8 is not support. I don't know the root cause of the issue? Is it related adobe version? set pgNum to do script "this.getPageLabel(0);" // But getPageLabel is working in acrobat javascript How can i call the javascript in applescript for Adobe professional? Can anyone suggest me..Thanks,Sudha K
I have documents that i scan from our printer to my email in PDF format on a daily basis and then every two weeks i take all those files and merge to one large document. Each time i scan the files i make sure that they are rotated correctly when i save them. but when i merge them some are rotated and some are not causing me a sever headache. I am looking at approxi 135 pages once merged so this is very frustrating, what am i doing wrong and how can i correct it?
Any help would be greatly appreciated. I need a java script to get the percentage of 2 numbers. I am including a picture below. For example, I need the number for Conventional Conforming divided by the Total to get the percentage used. Can anyone help?
I will extract the note in PDF file.When calling Acrobat API from VB.NET, the file will remain open and locked. Also, if I check the task manager, the Acrobat process may not finish, there may be a considerable time lag by the end.In the code, it seems that PDF has been opened in Acrobat even though processing to close PDF is included.It is OK even if Acrobat is left in the process, but I want to realize the process of closing the file immediately and releasing the lock as soon as the use of the file is over. What kind of code should be assembled to start Acrobat hidden in VB.NET and close the file opened with AcroPDDoc?sample code : Private Function GetNoteOnPDF(ByVal filepath As String) As String GetNoteOnPDF = "" Dim objAcroApp As New Acrobat.AcroApp Dim objAcroPDDoc As New Acrobat.AcroPDDoc Dim objA
How to you troubleshoot the error "the value entered does not match the format of the field"? The message is being generated more than 50 times in the file. You have to click OK on each of the messages before you can do anything else in the file. When you edit the javascript you get the same error message but may reference another field.
Apologies if this has been asked before... I searched and couldn't find an answer.I have several fields that need to be dynamically formatted based on a user's input. Each field should allow a user to enter text (most always will be "N/A") OR be formatted as a number with a currency symbol.I've been playing around with the following code but am not sure if I'm approaching this correctly, and can't figure out where I should place it (Keystroke, Format, Validation, all three)?function formatSwitch() { if (typeof event.value =="number") {AFNumber_Keystroke(2, 0, 3, 0, "$ ", true);}Thank you!
It's really an important problem for me, I've been bothered for two days, and I've read the API reference of Acrobat as well as all the relating discussions in this forum.I'll be very grateful if someone could help me.Here is the problem:I am trying to deal with almost 3000 PDFs, using AcroExch to automatically save them as txt in Python 3.6.The code works, but the memories that Acrobat takes continues to raise while running, and then it will stop when the Acrobat cannot afford such big memories.The Acrobat will tell me that something wrong when opening this document, because too much documents are opened, I need to close some.I've already used PDDoc.close(), AVDoc.close(1), APP.CloseAllDocs(), app.Hide() and app.Exit()But it doesn't works, the first four methods returns "True" while the app.Exit() returns "False" all the time.Here is my code:import osimport win32comimport winerrorfrom win32com.client.dynamic import Dispatch, ERRORS_BAD_CONTEXTdef txt(path): ERRORS_BA
Calculate x - y then if result is < 0, enter 0
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.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。