『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I am developing a 3rd party plugin. Since I need write access to the file system and I do not want to switch off the protected mode I added a policy for my plugin.When starting Acrobat, the log files of Adobe Acrobat Protected Mode Logging says:Custom policy file sanity checks failed: C:\Program Files\Adobe\Acrobat DC\Acrobat\MyPlugIn_policyconfigfile.txt When I add the "standard" policy file ProtectedModeWhitelistConfig.txt everything is fine. The logging says:Found custom policy file: C:\Program Files\Adobe\Acrobat DC\Acrobat\ProtectedModeWhitelistConfig.txtAdding custom policy: FILES_ALLOW_ANY = d:\MyPlugInFiles\* It makes no difference if MyPlugIn_policyconfigfile.txt even exists or is empty. The error message remains the same. It can't be a syntax issue either, since the same policy works fine in ProtectedModeWhitelistConfig.txt. I also checked the read access to MyPlugIn_policyconfigfile.txt which is ok. Did I overlook an additional switch
I have written an Adobe Acrobat plugin using Adobe SDK which helps me to modify PDF. It runs perfectly well when protected mode is turned off. However, as soon as I turn protected mode on, my DLL is not recognised and doesnt even load. Am I missing something here? What should I include in my DLL so that it gets recognised and loads up in protected mode too?
I am new to coding and am struggling with continuing to get errors on this code. I have made a drop down box and if the person selects other I would like a text box to appear. I have been trying to find an answer online and no luck. if (event.value == "Other")(this.getField("Text3").display = display.visible);)else if (event.value == "Get_furniture")this.getField("Text3").display = display.hidden;)else if (event.value == "Get_housing_assistance")(this.getField("Text3").display = display.hidden;))else if (event.value == "Get_internet_access")(this.getField("Text3").display = display.hidden;))else if (event.value == "Get_stable housing")(this.getField("Text3").display = display.hidden;))else if (event.value == "Shelter"))this.getField("Text3").display = display.hidden;)( It is currently giving me Syntax Error 4 for line 5. Any help would be appreciated.
function getFileName() {var sequenceNumber = this.getField("Form1.0").value;var fileName = global.documentNum + "_" + sequenceNumber + ".pdf"; return fileName;} function getFilePath() {var userName = "GAC_Line";var path = "/c/users/" + userName + "/desktop/safe work permits/" + getFileName(); return path;} function validate() {var fieldNames = [];var displayFieldNames = [];var regexEmpty = /^\s*$/;const fieldCount = 24; // increment to add more fields for(var i = 0; i < fieldCount; i++) {var field = this.getField("Form1." + i); if(regexEmpty.test(this.getField(field.name).value) || field.valueAsString == field.defaultValue) {fieldNames.push(field.name);displayFieldNames.push(field.userName);}} if(fieldNames.length > 0) {var field_sp = fieldNames.length == 1 ? "field" : "fields";app.alert("Please complete the following " + field_sp + ":\n\n" + displayFieldNames.join("\n"));getField(displayFieldNames[0]).setFocus();} else {this.saveAs(getFilePath(
Previously, I could go to Edit > Preferences > Security (Enhanced) and Uncheck the box that said Enable security at startup. After restart, one is asked only once whether to open an external file in a little window that is provided with a check box enablng one to turn off that warning in the future. Now, however, on a new laptop that I recently bought, that process does not work. I can Uncheck the box as I just described (and restart of course, including even re-booting), and I get faced with the warning every single time that I want to open an external file. I don't know what would have caused that. I believe it may have defaulted to the new interface when I first opened it, and once I learned how to switch the interfaces back and forth, I did so several times.But no matter the interface, the method I've used previously did not work. My choice was simply ignored by Acrobat. I don't dare experiment on the desktop where I normally work for fear that I will lose the old way f
So basically, this what I want to do:.this.getField('imageField').importImage('path_to_img');I know this code is not correct, but is there a way to do this? I couldn't find the solution in Acrobat's documentation.Most questions I found were referring to the problem when user is selecting an image on click of a button. I don't want that.I need something like what I wrote above becausepath_to_imageis a variable I'm pulling from a database..
Hi all,I have a PDF I'm putting together that is a product list with multiple rows, across multiple pages. It calculates Price x Order Quantity and gives a total in the last box. Example attached. Yes, I'm aware my version of Acrobat is getting very old Is there a way to use the "create multiple copies" function but have the calculation update to match the new field name. As it is, the "cost" field wants to use the calculation from the first row and doesn't auto-update.Hope that makes sense, cheers.
How to add "Value 9" to a Diagram Control.
I have a form with a Goup1 Radion Buttons, Wage and Classified. When Classified is selected I want a calculation in the Field "Semi Monthly" that takes Field "Salary" and divides by 24. This is what I started with:var classified = this.getField("Field Classified").value; var salary = this.getField("Field Salary").value; if (classified === "Yes") { event.value = salary / 24; } else { event.value = ""; // Blank if not classified }
Is there a script to remove characters from a field entry if one is entered, like a comma?Thanks.
I have a form with a Yes check box and a No check box. When the user checks No, I would like the text box beside it to autopopulate to read "Not Applicable".When the user checks Yes, I would like the text box to be free flow text entry.I am stuck on the javascript to accomplish this. Also, does the script go into the properties of the checkbox or into the text box? Using Adobe Acrobat X Standard
Greetings:I am experiencing an interesting issue while creating a form, using Adobe Pro (Ver 2023.006.20380). I accessed "Prepare Form" to create and establish form fields; however, after configuring all the form fields and saving the document, the form fields are all gone upon reopening the document (reverting the document to a previous state before accessing Prepare Form). The document requires accessing "Prepare Form" again to access the form fields and none of the previous configurations are maintained...as if no work for the form fields was ever completed. Couple of things to note:1) When accessing the document (within the folder where it is saved), Adobe crashes. When this happens, the document must be opened within Adobe, using the "Open" function. Attempting to select the document in its saved folder results in Adobe crashing. 2) I had a locked version (with all the form fields present) and created a copy using "Save a Copy" only to be me
Hi, I have an "Add Header & Footer" step in my Action Wizard step which is meant to ONLY shrink the document (this was my creative solution to add an action to merely shrink documents but not really add a header or footer (which I leave blank with the "Prompt User" box unchecked)). However, depending on the document, it sometimes removes the header even though it is only supposed to shrink the document and leave the header untouched. I am running Adobe Actrobat Pro on Windows. See images below. Here are my questions:1. What is it about some documents that makes it such that the action removes their headers but not others? (If I know this info, maybe I can scan for it.) 2. How can I achieve the shrinking of the document without removal of the header? For example, is there:-a java script code I can use instead of this action?-another processing step I can apply to the document first before trying to shrink it (with the header blank)?-a sole action that only shrinks the
I have added alt-texts to the images in a pdf using acrobat pro and have tried using all the extract apis on it, but these report no information about the alt-texts of the images in the pdf. I was wondering is there some api provided by adobe that would allow me to extract the alt-texts from the pdfs programmatically? I have attached the pdf I am testing on below.
Good evening, I am wondering if it is possible to send PDF data to the google spreadsheets? We are trying to find a way to automatically update our spreadsheets after our local program gets finished processing our customers. Thank you!
In the plugin code, I am trying to intercept/replace AVDocDoSave, AVDocDoSaveAs and AVDocDoSaveAsWithParams functions to identify the original file when the user tries to export the file from menu option. This seems to be working fine, when I am clicking SaveAs/Export a PDF. But when I try export a PDF option from Tools, none of the above functions are being called and I am not able to identify the original file that is being exported. Could you please let me know if there is any known issue with the behaviour or any other HFT functions I can try to intercept/replace to get the file information (AVDoc or PDDoc structure) when All Tools -> Export a PDF option is used to export the file. Thanks in advance
Hi, I have 10,000 invoice pdfs I need to convert to excel and then extract the data into a database. I have a licenced copy of Acrobat Pro DC. Is there an API I can use to do this programatically. I have been looking at the cloud based API but at $0.05 per transaction it is going to be very expensive and given the volume of data I would rather not have the overhead of having to move it to the cloud. I had hoped I could just link MS Access to my desktop application API to do the work. I have a nasty suspicion that Adobe will not let me run the export from my desktop PC programatically. Could someone tell me if it is possible and if it is then point me in the direction where I can fnd out how to do it? I would much prefer to use Acrobat to do the conversion, having done it manually on the few files the layout of the generated Excel file is easy to work with and generally I find the programatic interface with VBA easy to use. Any advice very much appreciated
Hello, I work for a hospital clinic where we reimburse patients for mileage. We have a form in a word doc that I convert it into a PDF, and all I need to do is: - If patient drove himself, when they check "drove self" I need to take the amount of miles they wrote down and multiply it by 0.625 and then the total will go under the self-drive column. - If a volunteer drove the patient, when they check "volunteer drove" I need to take the amount of miles they wrote down and multiply it by 0.625 and then the total will go under self-drive column. One check box is named DroveSelf and the other one is named VolunteerDrove. The field box under the miles driven is called "MilesDrove"The field box under the self-drive mileage @ 0.625 is called "SelfDrive"The field box under Volunteer mileage @ 0.625 is called "VolunteerMileage" So if a patient stated they self-drove 100 miles. They will need to check the box under "DroveSelf", then that will need to b
Greetings, I want to create a pdf/a complaint pdf file using acrobat sdk, I am refering to the sample code available in the official documentation and github repository. I didn't find any specific apis to set pdf/a properties to pdf document. Is there any api available to set the conformancelevel of the generating pdf file. The package I am using in pom.xml: <dependency> <groupId>com.adobe.documentservices</groupId> <artifactId>pdfservices-sdk</artifactId> <version>4.0.0</version> </dependency> link to sample code from adobe: click here Thanks in Advance.
Hi, I wasn't able to find recent details on this issue, so apologies if this is asked elsewhere already. I have been using Adobe sign to send various documents for e-signatures for a while, but now when i try to send these same documents, the form data is all deleted and converted to empty text fields with the error: "unsupported fields have been removed from this document"these unsupported fields include: Text fields, a dropdown, and signature blocks.The amount of time spent making/remaking and reformatting these forms is frustrating, but also doesn't actually allow me to have the simple functionality that I was hoping to have/retain. The functionality I'm seeking includes:default values for fieldsmulti-line supportnumber formatting that exists within both adobe sign and acrobat (currency randomly does/doesn't work)entering a value for it to show up in multiple places within the document (effective date, etc)sizing of text to be readable by the recipient rather than random sizing
Hi Everyone. I am making a simple fillable form PDF and I want to put a save button that when pressed it will automatically set the name of the file to what is in the text field "Ebox Work Order Number" and save it to a folder on my network. Is that possible to do at all?
I am trying to export a pdf to both/either a Word format or a Powerpoint presentation. I have been able to do this in the past, but whenever I attempt to now, I get an error message that says: Save As failed to process this document. No file was created.I've googled and tried all suggested options already out there, nothing seems to work.I am running on Mac Yosemite and do have the Acrobat DC PRO version.I have save my pdfs in various ways, I have cleared preferences, I have unistalled and reinstalled and still getting the same error.Any idea what's going on?Thanks in advance for any and all help!
How do i show the table of contents in an aside in acrobat_
Not sure if this is possible.Have a form with text fields:HoursRow1 RateRow1 TotalRow1HoursRow2 RateRow2 TotalRow2...with many more rows (hierarchical)I want to write a script that will apply if else function for each TotalRow with the corresponding row number (use HoursRow1 and RatesRow1 for TotalRow1, etc)It’s easy enough for one Total, add custom calculations:var tot = this.getField("TotalRow1").value; var hour = this.getField("HoursRow1").value; var cost = this.getField("RateRow1").value; if (hour && cost) { event.value = hour * cost; } else { event.value = ""; } But there are a lot of rows, so it would be a lot easier (if I knew how) to put this in a script to not have to enter each TotalRow manually. Put some type of wildcard in place , plus dealing with more than one variable, but move through so the right variables are put in for corresponding total(TotalRow1 with HoursRow1 and RateRow1, TotalRow2 with Hour
Using VBA, I created several years ago an MS Word tool that interacts with PDF forms. Specifically, it launches Adobe Acrobat, fills in a bunch of fields on the PDF, then auto-names and resaves the PDF in a specified folder. I use the GetObject(, "AcroExch.App") method to automate Acrobat from VBA. The saving is accomplished with a pdDoc.Save(...) command. This worked fine on my client's machine when they had a full standalone version of Acrobat installed on the same machine. But recently the client transitioned to Adobe Acrobat online. The filling in of fields still works, but the auto-save no longer works. Does anybody know of a way to accomplish this with Acrobat online?Thanks!
すでにアカウントをお持ちですか?ログイン
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。