『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I have the folowing VBA code that successfully creates two signature fields in PDF and then stops with Object Required error at Set oAttachment = oJS.ImportDataObject(Selected_File). Any ideas how to make it work?===========================================================================================================Sub Prepare_PDF()On Error GoTo Err_HandlerDim pdfPDDoc As New AcroPDDoc, oJS As Object, oFields, oAttachment As ObjectDim strFName As StringDim oParam As Parameter strFName = "C:\Main.pdf"'------- Select XLS file to embed ----------With Application.FileDialog(msoFileDialogFilePicker).AllowMultiSelect = False.Filters.Add "Excel Files", "*.xlsx; *.xlsm; *.xls; *.xlsb", 1.ShowSelected_File = .SelectedItems.Item(1)End With '------- Add signature fields to PDF file----------If pdfPDDoc.Open(strFName) ThenSet oJS = pdfPDDoc.GetJSObjectSet oFields = oJS.AddField("SignatureField1", "signature", 0, Array(200, 620, 450, 670)) Set oFields = oJS.Ad
As per the Acrobat Distiller API Reference, I'm attempting to launch Distiller to enable the distillation of a PostScript file that is user the restricted operators. I am using a Mac with Acrobat Distiller 2020. I have set the plist AllowPSFileOps to True. On every launch of the distiller, the plist entry is changed to False, and the distillation of a PostScript file that uses file operators fails. I need guidance on how to make this work.
Hello I have a simple Yes or No dropdown list, I want the color of the filed to change to red if no selected. Is there a simple code for that Thanks for the help
Good day,I designed a dynamic stamp with 3 fields;- the current date "_Date"- the current time "_Time"- the expiry date "_ExpDate"I need the expiry date to be 6 months from the current date.Can someone provide a javascript to calculate the expiry date? K. Gibbs
Im not sure when or how this happened but whenever I open a pdf a flashing cursor showsup before some of the text. Is this some sort of setting I can turn off? It doesn't seem to have anything to do with "edit pdf" and if you start typing it doesnt type anything where the cursor is. Im sure it's something obvious that I am missing. Any ideas?
Hey guys, I have searched many posts but unfortunately still haven't found a solution. I am very much a beginner when it comes to writing code(s). Hope you guys can help me. So we have a PDF file which is an agreement. What I want is that when a certain checkbox is ticked, certain text appear. So f.e. checkbox 1 is ticked which is 12 months agreement. I want the text on another page to become 12 months. Checkbox 2 is 24 months and checkbox 3 is 36 months. Depending on the checkbox they tick I want the text to become the 12, 24 or 36 months. There are more checkboxes in the PDF file (fyi).A bonus would be if none of the checkboxes are ticked it would say 12 months, since the minimal duration of the contract will always be 12 months. But if that isn't possible then empty is fine too. Thanks in advance!
Hi Community, we have a supplier that is sending multiple pdfs (one page per file) but outlook seems to be combining these into one pdf with multiple pages. We want one pdf per page. They claim the issue is with us and they are generating the files correctly. Is anyone else experiencing this?We're using Microsoft Outlook 2019.
I created a fillable form and set the tab order to by row. This works correctly in Acrobat and in Adobe Reader but when I upload it to my website, all browsers use a different tab order. I set the language as English. It sort of behaves RTL in the browser, but is also somewhat random. I have created many forms in the past and never had this happen before. This form did start as a Word document which I used the Form creator to import. Any ideas on how to force it to use the correct tab order? Thanks.
Tried to download and install Adobe Acrobat DC and getting this error: Third party payload Adobe Acrobat\Setup.exe failed with exit code 1603 and installation errors DW0071 and DW003. Help!
New to creating a script in PDF, so I need some help. I need to the drop down color to be red, yellow, greem or trasparent based on a selection "high" - red, "Medium" - yellow, "Low" - green, and "N/A" to be no color. I read some similar posts and created the script below. I think my problem is how I am loading it under "actions". Can someone please validate the script then walk me through the process to load the script? Thank you! if (event.value == "Low") event.target.fillColor = color.green;else if (event.value == "Medium")event.target.fillColor = color.yellow;else if (event.value = "High")event.target.fillColor = color.red;else if (event.value =="" || event.value == " ") event.target.fillColor = color.transparent
I obviously work with a lot of pdf files. I am trying to combine several into one pdf. Unfortunately I am getting a message saying that one file is password protected. Can I remove that password when I have no idea who would add one?Thanks!
I am creating a document and the last calculation I need is the addition of the higher of two fields. What script do I need to add in. The three fields are below. I need to add Total Income to the higher or either Income From Asset Value or Imputed Value and if both are 0 then 0 or no change. var fld1=this.getField("Income Total").value;var fld2=this.getField("Income From Asset Value").value;var fld3=this.getField("Imputed Value").value;
I am trying to make a subtotal field in which overtime pay can be automatically calulated using current pay. However, the script I wrote in does not seem to calculate anything. With O/T pay being 1.5x of normal pay, below is the Custom calculation I wrote. Disclamer, I am very new to this. var nA = Number(this.getField("Hourly Pay").value);var nB = Number(this.getField("Hourly Weeks").value);var nC = Number(this.gedField("Hourly OT Hour").value);var nResult = (nA * 1.5) * nB * nC;event.value = nResult; Any help would be greatly appreciated.
Hi,I'm a bit stuck with a form I have been given with some Javascript that has both on focus and on blur triggers. The downside to this is that each field needs to have two Javascript tigger set, which gets super time consuming on a large form. What I would like is it to is fill the yellow on focus and then set back to trasparent in the same bit of code (saving me from having to add the on Blur trigger) or set when it printing the document to be transparent but i'm not sure if that is possible?. below is the code that has been used in these old forms i'm updating. function HiLite(){if (app.viewerVersion > 4.05){var MyField = event.target;var rgEmptyTest = /^\s*$/;color.ltYellow = new Array("RGB",1,0.994,0.820);if(event.name == "Focus"){if(MyField.type == "button"){MyField.borderColor = color.red;}else{MyField.fillColor = color.ltYellow;}}else if(event.name == "Blur"){if(rgEmptyTest.test(event.value)){MyField.fillColor = color.transparent;MyField.borderColor = co
I included a snippet of sample code [found here:https://opensource.adobe.com/dc-acrobat-sdk-docs/library/plugin/Plugins_Documents.html ]into my plug-in code. When executed, after the open dialog is displayed and user selects a file, Acrobat crashes. The same code compiled for Acrobat 64-bit runs without issues. This test was performed after my plug-in (that runs similar code) crashed in a similar manner. The crash after AVAppOpenDialog started in the most recent release (2023.006.20320). The code did not crash in any of the previous versions of Acrobat. I know I can replace the AVAppOpenDialog with a Windows file dialog - but would like to know why this is happening only in the latest release. Any help or insight would be greatly appreciated. ASPathName OpenPDFFile(){ //Declare an AVOpenSaveDialogParamsRec objectAVOpenSaveDialogParamsRec dialogParams; //Create local variablesAVFileFilterRec filterRec, *
I have a form I have built and want to submit the entire pdf to a url. I have added a submit button with an action on MouseDown to submit a form. When I open the pdf in Acrobat DC or in Acrobat Reader DC it works perfectly. However, when I open the pdf in the browser (and not in the actual acrobat reader stand-alone software) I get an "Adobe Acrobat" error stating "Error opening URL to submit this form". I am 100% sure I am using the adobe acrobat reader plug-ins in the browser and I have tried opening the file in the browser on both the local server machine and on a remote machine accessing the webpage. Is there some reason why I am getting this error in the browser acrobat reader but not in the stand-alone software? Any ideas would be helpful.On a side note, I am doing this because I need to save a copy of the pdf (filled in by the user) to the server and the only way I know how to is to submit the pdf...and from there I have a php handler that takes it
I need help with a script to change a specific character to lowercase if it was typed in uppercase in a field. Example: 24X12X6 I need just the X's to be changed to lowercase when a button is pressed, only if a number is before and after it. Thanks!
New feature request: revert to prior Acrobat Pro user interface. The UI for Acrobat Pro DC sucks swamp water. I HATE it. Nothing is where I expect it to be. Commonly used functions are now buried under layers of categories I access through buttons (such as create PDF), but commands are not where I expect so hunting for commonly used functions is a HUGE PAIN. Even when moved to the quick bar, often commands take multiple clicks. For example, I can't just OCR a document, I have to click on the OCR button, choose between "this file, in multiple files, or correct", then select the pages, then click on ANOTHER recognize text button before I can execute the command. Seriously? FOUR commands just to issue a single OCR command for a whole document. In the old version I pressed one button, pressed enter and was done: the whole document would be OCR'd, unless I specifically wanted to change the parameters of the OCR in the pop-up screen. 
Hi, I'm a novice at JavaScript so please excuse me if my question is a bit simple. In a PDF form, using Acrobat 9 Pro I'm trying to preform some mathematical calculations in a custom calculation script and I've hit a brick wallI have a number in a variable, lets say 3.7. I want to return the whole number component, the "3" without rounding it up or down. I know I've done this in the past in AccessBasic, but I'm at a loss as to how to achieve it in JavaScriptI tried using toFixed(0) but that still round up. I've searched various JavaScript references but I'm unable to find a function that would help me.The reason I'm trying to do it is rather convoluted, so I'm trying not to confuse you all by entering a long winded description of the problem. Any pointers would be gratefully received.
Hello, I am using Acrobat Pro 2023 version on Windows 10 Enterprise, and in one of the plug-in application that I created, I am saving the PDF file after some changes using PDDocSaveWithParams, it was working fine when Enable Protected Mode at startup option is disabled. But when I enabled the option Protected Mode at startup, it is not saving the file but at code line PDDocSaveWithParams, there is an Exception occuring and file not saved. What I have to do to save the PDF file with this protected Mode. [Question moved to the Acrobat SDK forum]
Hi All,We started seeing the below error on our app today. We are using an adobe dc view sdk for our react app with a valid client id.Please help. DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document. at new ErrorBoundary (https://documentcloud.adobe.com/dc-side-nav-dropin/3.0.2_1.83.0/bootstrap.js:1:179576) at ph (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:297833) at ij (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:318162) at Ha (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:364097) at Vk (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:352245) at Uk (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:352173) at Jk (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:352036) at Fk (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:349181) at jg (https://documentcloud.adobe.com/dc-core/3.10.0/dc-core.js:2:2
Bonjour, J'ai un souci avec l'outil tampon dans la dernière version de Photoshop. À chaque fois que je souhaite sélectionner un contenu de remplacement en utilisant la touche Option (je travaille sur Mac), je ne fais que de créer une sorte d'effet négatif qui affecte toute l'image.Quelqu'un a-t-il rencontré ce problème? Merci pour vos réponses!
Task: C Sharp: Coverting PDF to MS Word Capture return messages Acrobat translation function. I downloaded Acrobat_DC_SDK_Windows_2021_v3 refereced Interop.Acrobal.dll IJSMessageHandler is not found. Please provide link to download the required DLL. MyJSMessageHandler: IJSMessageHandler <***************{ public void OnMessage( string msg ) { MessageBox.Show(msg); }} AcroPDDoc pdfDoc = new AcroPDDoc();pdfDoc.Open("sourcPDF.pdf");Object jsObj = pdfDoc.GetJSObject(); jsObj.MessageHandler = handler; <******************* type = jsObj.GetType();object[] saveAsParam = { "targetWord.docx", "com.adobe.acrobat.docx" };type.InvokeMember( "saveAs", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance,null, jsObj, saveAsParam); Thanks for your help. 
Hello everyone,I'm pretty new to JS/scripting in PDFs, so I would appreciate your help with this: I have a PDF with two dropdown menus: "Package" and "Locations".The package dropdown has 3 options, "S" "M" and "L" which are priced at 1999, 2499 and 2999.The locations dropdown has 5 options, "none" and 1-4 additional locations. My problem is the following: I want the export values of the additional locations to change, depending on what was selected in the package dropdown:When "S" was chosen, 1 additional location is 499.When "M" was chosen, 1 additional location is 699.When "L" was chosen, 1 additional location is 899. Is there a way I can achieve this? I tried to find anything and copying it into the calculation script, but I think that's totally wrong 😄 Any help would be appreciated, thank you!
I added a submit button to my PDF but when I tested I got an error message saying "Need to be running inside a web browser in order to submit the form." Can anyone offer any guidance
すでにアカウントをお持ちですか?ログイン
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。