Unlock the power of Acrobat SDK through our community.
Actividad reciente
I have experimented a lot using viewState function this.viewState.toSource();var refView = eval(viewState.toSource());refView.pageViewZoom= 5;refView.pageViewY = 1500;refView.pageViewX = 800;this.viewState = refView;this.viewState.toSource(); but it is going haywire and is not able to focus on the page at the X and Y coordinates. I have tried page scroll also and there is no description in the manual. Your help is very much appreciated.
The lineFileRef source = FileRef.CreateFromStream(stream, "application/vnd.openxmlformats-officedocument.wordprocessingml.document");seems to run indefinitely. Witihin stream is a docx file. This seems to only be an issue while using docx files so wondering its an on going issue, I'm using the wrong media type or something else. Thanks
Hello, I tried to set up some conditional formating on a PDF form and am hot sure where it went wrong. Here's what I hoped to achieve: I configured three check-box field "Check Box5.0.0.0", "Check Box5.1.0", and "Check Box5.2.0.0", and I want the three box to be filled with green, red, and purple if they're checked individually. I confugured them to run a Javascript, with Mouth Up as the trigger, and the code is below: if(event.target.value != "Off") this.getField("Check Box5.0.0.0").fillColor = color.yellow;else this.getField("Check Box5.0.0.0").fillColor = color.transparent; I edited the form on MacOS and it seems to be working, but when I later open it up on a PC, it behaves really strange. Same thing happened when I opened it on a differnet Mac. Once I checked another box, it'll clear up the color for the previous check-box. Not sure where I got it wrong. Thanks!
Hi. I'm trying to write a script for incorporation into a custom Action that can run on a batch of files. The goal is to add a watermark in the upper right-hand corner of all pages with:Line 1: File ID = [file name without extension]Line 2: Page # of 30 For example, for a pdf named 'MyFile.pdf' that contains 30 pages, the script would add the following text in the upper left corner of each page: File ID = MyFilePage # of 30 where # starts at 1 and increments by 1 on each subsequent page See draft script below. As written, it only adds the watermark to the first page of the pdf. I've successfully created scripts to do each line of the watermark independently, but can't seem to figure out how to accomplish both into a single script. Any suggestions are very appreciated! for (var p = 0; p < this.pageNum; p++); var cMyText = "File ID = " + event.target.documentFileName.replace(/\.pdf$/i,"") + "\nPage " + (p+1) + " of " + numPages; event.target.addWatermarkFromTe
Why setTimeOut not working?This is my script: var p=0;var link_info="";function processPage(){if (p < 10){link_info += "page:"+p;p++;app.setTimeOut(processPage, 1000);console.println(link_info);}else{event.value = link_info;}} processPage(); Result output: page:0undefined
Hello all,I've just finished refreshing my iMac to clean up the macOS and have run into a problem with an existing XCode project. The code is based on one of the Samples that comes with the Acrobat SDK and I did have it working previous to the wipe and reinstall, but now I'm getting an error at the end of the compilation. There appears to be an Adobe shell script that runs at the end of the process to copy the compiled Adobe Acrobat plugin over to the /Users/<username>/Library/Application Support/Adobe/Acrobat/DC/Plug-ins directory. But I'm getting an error "Sandbox: ditto(50711) deny(1) file-read-data /<path to Desktop>/XCode-PDF-Plugins/PluginSupport/Samples/tech360AODAtool/mac/BuildResults/bin/debug/<pluginName.acroplugin" : Operation not permitted What I'm surmising is that somewhere in the past I updated a setting to allow XCode permission to read from the Desktop and write to the ~/Library directories. Any thoughts on what I need to do here to allow
I am creating a form that adds amounts for a total. I want to create a check box (BOX1), that when checked, puts a specific dollar amount in another text box (#4) which is then added to other amounts to create a total for purchase.
I have an 'assessment' document that also includes a 'report' template that is generated once the assessment is completed. The report has number fields duplicated from the assessment. I want to round up the numbers on the report up to closest 5, but have the fields on the assessment remain as the number input by the user. Is there any way of doing this? My thought at the moment is that the duplicating fields will need to be removed and number fields with calculation script added. Hope this explanation makes sense and thanks for help.
Can i create an Add-in for Acrobat Reader? (something like Office Add-ins in visual studio) for example, i open a pdf file with Acrobat Reader, i want to add my custom button in the Reader in order to perform a specific action. using C# and .Net Core 6Is it doable?
Hi, I have created a privileged function "executeSave" to save a document by the saveAs() method. I can't access folders at the folder level (but that's not important right now), so I put the function definition in the privileged Action context.// privileged function declaration var executeSave = function( cPath, cConvID, bPromptToOverwrite, bCopy ){ app.beginPriv(); saveAs({ cPath: cPath, cConvID: cConvID, bPromptToOverwrite: bPromptToOverwrite, bCopy: bCopy }); app.endPriv(); } // inserting a privileged function into app.trustedFunction() app.trustedFunction(executeSave);I put all this code into the privileged Action context and named the action executeSave. I restarted the Acrobat application and inserted code into the button in the form to call the "executeSave" function// call "executeSave" from button MouseUp event executeSave( "/C/Users/Uzivatel/OneDrive/INPUT/myExportFile.ps", "com.adobe.acrobat.ps", false, true )Here is a screen shot of how I inserte
I'm trying to show the Export Value of a dropdown instead of the selected option i.e. the user selects BLACK but the export value of BLK is actually displayed. I can find lots of discussions on how to pull the export value and display it or use it to trigger another response in another field and I can usually tweak my existing JavaScripts when I need something new but I cannot seem to wrap my head around this!This is my latest (failed) attemptvar f = this.getField("eyes");if (event.value == "Black - BLK")f.value = "BLK"I'm using Acrobat PRO DC.Any help is appreciated,ThanksMeabh
I sent an eSign document to three different signers. It says it has been completed, but I can't find it! I see the document, but none of the signatures show. Can anyone help me find it?
Hi, Do you have PDF to DOCX converter using command prompt?We saw the API option but we want to do it localy.
I what to sign with different customers with Adobe e-Sign from my web application.I have unique Name, Address ... etc.The document has to signed for both of sides : Customer and mine.What the best way: 1. Create widget from Adobe eSign interface and pass parameters to the document through API from my Application? (Didn`t find how to pass attributes in my document) 2. Create template from Adobe eSing API and pass parameters to the document through API from my Application? (Didn`t find how to pass attributes in my document) 3. Create document with all necessary fields, convert in PDF, upload with eSing API, and send through the authentication process with eSing API? (Didn`t find how to create e-sing secificaton fields, wich will be recognized by the process)My be other process I the best?
I am talking about New Acrobat as described here:https://helpx.adobe.com/ca/acrobat/using/new-acrobat-experience.htmlIn a prior version of that page, there was a note about it not supporting 3rd party plug-ins. It wasn't very polite about that either; it just crashed with the plug-in installed but didn't if it was removed. It also runs fine with the plug-in in the regular mode. The current version of the above linked page describing the new look doesn't mention the lack of 3rd part plug-ins. It was very prominently mentioned before and has now been removed, so my assumption was/is that they think it is fixed. What makes this especially bad is that when you get an update including it, it is enabled by default, so all users get the crash. I am now wondering if this was addressed and there is something I need to change in my plug-in the support the new look.
Hi,I just received this spam email below. I clicked on the PDF, and then another screen appeared asking to "Restart Adobe". I did NOT restart Adobe. I am submitting this to Adobe so you are aware of this scenario. Thank you kindly. Best Regards,Steve ==================== Here is the email I received. I removed my email address. ====================== -----Original Message-----From: Jeanine Llorca <h4872744@gmail.com>Sent: Monday, November 20, 2023 12:33 PMTo: skargas@gmail.comSubject: Payment Received - [Product/Service] Purchase Dear ___________ We are writing to confirm the successful receipt of your payment for your recent [Product/Service] purchase. Here are the payment details: ==============================
Hi Developers, I have just seen the possible reason for the crash or non startup of Adobe Acrobat Pro, scroll down to an excerpt from the crash report in Blue Writing, where it speaks of CPU% average use going above 50. I really need your help and I hope you can help me rectify this problem as I am paying for Adobe Acrobat every month. I have an older imac mid 2010 with some hardware upgrades.CPU core i7 870, but only 1st generation.Graphics Card a new GCN4 AMD Radeon Pro WX4150 4GB.SSD DriveOpenCore Legacy Patcher to enable Sonoma 14.1.1 to run.So Adobe Acrobat can run on MacOS Monterey perfectly with OpenCore Legacy Patcher. So that does not seem to be the issue.But Adobe often will not even start up on Sonoma or Ventura MacOS. I can watch Activity Monitor the CPU Usage climbs to 100 and then Adobe Acrobat Pro crashes and says Adobe not responding and the CPU usage will stay at 100 and not go down or up (it will fluctuate by about 5 CPU point up or down but mostly stay
Hi,I am using Acrobat Pro DC on Windows 10.The JavaScript for Acrobat API Reference Manual (2015) page 1 (36) states: "The most recent version of Acrobat now uses JavaScript 1.7."With a paragraph and table showing the following information that Acrobat 10 support JavaScript version 1.8.However, when using JavaScript, the functions and features above JavaScript 1.5 are not available and will throw errors.For example:Math.trunc(42.7) will give "TypeError: Math.trunc is not a function"Same applies to default parameter values, binary number annotation, etc.ThanksMohsen
Hello Good People! 🙂Forwarning you that I have no experience with scripts....I'm trying to figure out how to calculate the total rate per person based on the radio button (i.e. Method of Compensation) selected.Scenario: Based on what type of premium work performed (overtime, holiday, comp time) will determine the percentage of their hourly rate in which they will be paid. Not sure if it would be easier to deal with decimals.- Overtime 1.5 or 150%- Holiday 2.0 or 200%- Comp Time 0 or 0% Sample portion of form is below:Thanks in advance!
So, I have for teachers (teaching standards). It is 44 pages and every page only has text on HALF the page. The bottom half of every page is EMPTY. Is there a simple/easy way to cut every page in half, discard the EMPTY part, and combine the two top half pages together into one page? (which would make the pdf a total of 22 pages instead of 44 and no empty/waste of space?).
Hi all, unfortunately my knowledge of Java Script is bareley zero. I would help how to implement a Custom Calculation Script. The situation looks like this: Field A is a Value in currencyFiel B is the output field B= If Fied A <2500€; A*0,015; If Field A<5000€; A*0,0,25; IF Field A>10.000€ B="Text" Could you please help me? Best case woule be if i would be able to copy it here
Hi iam cloud admin and i have purchased Acrobat Pro app for user. When user installs the app it terminates after 75% with a dialogue saying "serious failure during installation" do you have central problem with the app or what can you suggest us to try
I have 4 fields that are named prc10, prc20, prc30, and prc40, along with a couple of ther fields. I have a button that when pressed is supposed to loop through all the fields in the form, and if the field's name starts with "prc" it assigns the number after the "prc" as the value to the field. Here's the code I have assigned to the button: for(i=0;i<numFields;i++){ var strname = getField(getNthFieldName(i)).name; var prcField = this.getField(strname); if (strname.startsWith("prc")) { prcField.value = strname.substring(3); } }When I press the button, it assigns the value of the first prc field to 10, but leaves the other 3 empty. If I press the button again it assigns the value of 20 to the second field and leaves the next two empty. So I need to press the button 4 times to get it to assign values to the 4 fields. I commented out the line where the value is getting assigned to the field and outputting strname.substring(3) to the console
I use textboxes a lot for entering part numbers and the default size in Acrobat 7 was perfect - about 7 characters wide. I'm now using Acrobat DC and the width of the textbox is larger, perhaps 15-20 characters wide. Is there a way to change this?I've formatted the textbox the way I want and saved it as the default, but it only saves the colors and font, not the width or height.Additionally, the text box appears below and to the right of where I click the mouse to insert it. Is this normal? I can get used to it but it is a bit annoying.
I am trying to write a script that adds the values of 11 different fields on a PDF form where 11 checkboxes representing the 11 fields are checked and adds 200 to the final amount. When the checkbox is not checked, I do not add the value representing that checkbox. I have written the script below but it only displays $200. // Define an array with the names of the 11 checkboxes and the corresponding fieldsvar checkboxFieldNames = [{ checkbox: "AGT", field: "150.00" },{ checkbox: "OneYA", field: "75.00" },{ checkbox: "2YA", field: "112.00" },{ checkbox: "CGT", field: "75.00" },{ checkbox: "GTLateFee", field: "10.00" },{ checkbox: "ChapterLateFee", field: "20.00" },{ checkbox: "NHBF", field: "100.00" },{ checkbox: "EFCB500", field: "500.00" },{ checkbox: "EFCB250", field: "250.00" },{ checkbox: "EFCB100", field: "100.00" },{ checkbox: "EFCB50", field: "50.00" }];var total = 0;// Loop through the checkboxes and add their corresponding field valuesfor (var i = 0; i < che
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.