Questions
Recently active
Hello, I am having issues changing the text color and size of comments when using the comment tools. I used to be able to do this by putting cursor on text and opening the text properties bar, but the text properties bar has stopped popping up even when selecting Crl+E. When using a text box, I can get the properties bar of the text box pop up; then I switch to the text inside the text box and the text properties bar appears, however, I am not able to adjust font type, size and color. Help? Could the text setting have been accidently set to default? If so, can this be changed?
I know this is very basic js but I am attempting to change the color of 3 groups of radio buttons based on the mouse up action on another specific radio button in a different group. After the color change is set i am then resetting the group and setting it to read only but the trouble I am having is setting the fill color. I am sure my syntax is incorrect but I have googled and can not find one that will work. I am attempting to set the fill color to gray. Any assistance would be appreciated. Thank you. this.getField("Group2").event.target.fillColor = "150,150,150";this.resetForm(["Group2"]);this.resetForm(["Group3"]);this.resetForm(["Group4"]);this.getField("Group2").readonly = true;this.getField("Group3").readonly = true;this.getField("Group4").readonly = true;
Hello everyone;I found the following script (linked below) that worked just fine in calculating the age of the user in years, but I'm having problems customizing it so that it will do the same for months. Even with the little changes that I made, it seems to almost work except that it doesn't show months from 1-11. Case in point, see the screenshot below. At the time of this posting (April 2018), if the Date of Birth is in June, shouldn't the script calculate that the user is 32 years and 10 months old?I didn't know how to copy/paste code into this post so I took a screenshot of what I had (see below). It is customized (probably horribly) from another script that I found here on Adobe's forums: https://forums.adobe.com/thread/1667044. It may be horrible but something seems to be working on the form, but just not exactly how I need for it to.So, how can I customize the above script to show the user's age in months (I guess in the current year)? So if the user just celebrated a birthday,
In previous versions of Acrobat, I thought you could set a destination in a pdf and then call it from a webpage to open the document and go directly to the page. I cannot find how to do it using Acrobat DC.
I'm looking for Enterprise tool that converts PDF to text or convert Non-searchable to searchable PDF. Does Adobe have this type of tool?
In Excel it would look like this: =(B31-B30)/B31B31 Field is named: Yesterday's PlanB30 Field is named: Yesterday's ActualSimple percentage variance in excel however, not sure how to get this into My pdf table. I am using the most recent version of Acrobat DC.Thank you in advance and sorry for the elementary question.
Hi,I've found a topic about validation of fields.When a field meet a specific value, the background color changes.var v = Number(event.value);if (v>=1 && v<=6) {event.target.fillColor = color.red;}else event.target.fillColor = color.white;This is exactly what I want, but I'm using number field with decimals.How can I check If the value is between 1 and 6.49 and color it red and with all other values, color it white ?I've tried this, but it didn't work:var v = Number(event.value);if (v>=1 && v<=6.49) {event.target.fillColor = color.red;}else event.target.fillColor = color.white;Can anyone help me out here ?
The combine feature in Adobe Acrobat DC Pro or Standard does not work. Getting 'No PDF file was created because Adobe Acrobat DC encountered an unidentified error'.
Below are this the question from my form. I have a radio button Yes/No set (named HMDA) and I want to force the applicant to answer the question without being able to skip over it. I wrote the below code but it doesn't work properly. If the applicant tries to skip the question an alert will appear letting them know they have to answer the question. When they click ok to dismiss the alert - if they answer yes to the question my script works fine and they can move on to the next question on the form. However, when they click ok to dismiss the alert - if they try to answer No to the question the alert appears again and they click ok to dismiss the alert then the No button will populate and then applicant can move on. Script for my Question:if(getField("HMDA").value=="Off")app.alert("If the applicant is an individual, is the collateral offered a residential dwelling? Please select Yes or No",1,0,"HMDA ERROR")Also, how do I get rid of the Warning: "JavaScript Window"
Hello, I have a pdf with 500 pg, with 100 markers created with the names and surnames that appear ...My question is when I click on "PEREZ JUAN" goes to the page where it is, now it will be possible to "HIGHLIGHT THE PEREZ JUAN PLABRA" so that it is easier to locate where it is in the page?looked like when I go to the "search" tool and highlights the word found
Can anyone take a look at this and tell me what I'm doing wrong? I'll admit, I am an extreme novice when it comes to this, so any help at all would be greatly appreciated!
In DC, when I combine several pdfs into one, I am getting double bookmarks (the file name and the bookmark that was inside each file). Is there a way to delete either the parent or children bookmarks as a bulk batch after combining the PDFs into one? I've found Sean Stewart's javascript but that only deletes the parent bookmark if it has the .pdf extension in the bookmark title, which it does not. I have about 900 bookmarks/files (which created 1800 when combined) and I don't want to manually change each bookmark to have the .pdf extension. So I would be happy with a js that changes the parent bookmark to include the .pdf and then I can run Sean's js. I've tested it on a small pdf where I manually added the .pdf to three bookmarks and it works. But I can't do that to 900 or I would just manually delete the bookmarks. Looking for a somewhat easier solution. Even if it's two separate js (one to rename, one to delete etc.) Thank you so
Hi, I would like to create an alert box that will only come up on the first document in a batch. I have the pop-up as a Javascript that runs as part of a longer action that also includes preset Adobe actions (such as "Remove Hidden Data"). Right now I have something like this: app.alert("Did you create a copy in a pre-cleaned folder?", 1);The action then goes on to do a couple of other things from the pre-set actions in Adobe (removing hidden information, setting the initial view, and saving the document) before going on to the next document in the batch of files to be processed. However, when I include the javascript as part of my larger action, the alert box pops up with every document in the batch that is being processed. Is there a way to make it pop up only on the first document but not on subsequent documents?Thank you!
Need help with "value entered doesn't match the format" in my PDF. This message pops up every time I tab to a new field when entering data.
Is it possible to take a scanned document such as a tax return and export the data in each field to specific cells in excel ?
Hello,i need in my PDF as result of a box the division between two other boxes.Unfortunately, for the division I need the Java script for it.Anyone knows it?Thank you.
Hi All,I am getting below error when compiling DC sdk for java using mvn command:mvn -X samples/pom.xml exec:java -Dexec.mainClass=com.adobe.dcapi.samples.AddPassword -Dexec.args="/config/default.json /SDK/test-files/foobar.pdf 12345"Apache Maven 3.3.9Maven home: /usr/share/mavenJava version: 1.8.0_151, vendor: Oracle CorporationJava home: /usr/lib/jvm/java-8-openjdk-amd64/jreDefault locale: en_IN, platform encoding: UTF-8OS name: "linux", version: "4.4.0-112-generic", arch: "amd64", family: "unix"[DEBUG] Created new class realm maven.api[DEBUG] Importing foreign packages into class realm maven.api[DEBUG] Imported: javax.enterprise.inject.* < plexus.core[DEBUG] Imported: javax.enterprise.util.* < plexus.core[DEBUG] Imported: javax.inject.* < plexus.core[DEBUG] Imported: org.apache.maven.* < plexus.core[DEBUG] Imported: org.apache.maven.artifact < plexus.core[DEBUG] Imported: org.apache.maven.classrea
Morning,I working for a big Company and used Acrobat Professional XI pro from long time. Our IT department gave me another laptop and when I installed the software, it's required the serial number of license that I haven't. I tried to find it, and I have just this number as serial [serial number removed - DON'T POST A SERIAL NUMBER IN A PUBLIC FORUM].I got the authorization to download the software from my department under license, but never asked me the serial number because we use our portal to find and use a programs legally.Could you please tell me how to find this code?RegardsMirko
French dollar amount text field entry, enter Keystroke period or comma, becomes comma in text field.Currently my scripts do this:If I type 12345, it converts to 12345,00 not 123,45If I type 123,45, it remains 123,45, which is fine for French.If I type 123.45, the period is unavailable. I must use the comma otherwise the amount would show as: 12345,00 instead of 123,45, it will automatically add zero cents.I have 2 functions to a document level JavaScripts for the French dollar amounts.FORMAT SCRIPT function fr_format_decimal() { AFNumber_Format(2, 2, 0, 0, "", false);event.value = event.value.replace(/\./g, " "); }KEYSTROKE SCRIPT function fr_keystroke_decimal() { AFNumber_Keystroke(2, 2, 0, 0, "", false);}TEXT FIELD PROPERTIES / FORMAT / CUSTOMCustom Format Script // Custom Format JavaScript fr_format_decimal();Custom Keystroke Script // Custom Keystroke JavaScriptfr_keystroke_decimal();I need to be able to type a "comma" or "period" and have it end up French (Comma).1234.50 or 1234,5
How to get the speical character and output txt in acrobat by JS ?example: ® ™ èI can get them,but why the ™ have lost when I save these character to txt,?function getword2(doc){ var i, j, ckWord, numWords, aWords = []; for (i = 0; i < doc.numPages; i++ ) { var bWords = []; numWords = doc.getPageNumWords(i); for (j = 0; j < numWords; j++) { ckWord = doc.getPageNthWord(i, j, false); if (ckWord) { bWords.push(ckWord); // Add word to array } } aWords.push( bWords ); } return aWords.join('\r\n');}function output_csv2(){ var outputString = getword2(this); this.createDataObject("output.txt", outputString); this.exportDataObject({ cName:"output.txt", nLaunch: "2"});}
working on tax deductions i am attempting to extract the dollar amount (which precedes the common search term atm withdrawal) in my pdf bank statementsI'm essentially trying to filter all of my atm withdrawals from store purchases.able to search the term (ATM withdrawal) and export that to csv/xlsx however it would be great to extract the info before or after my search term.can anyone assist?
I've been struggling with this for hours and am in desperate need of some help. Currently, I am designing a fictional Ai website; the narrative concludes with the AI "breaking free," transcending the limitations of its containment in a website, emailing my course's students, exposing that the AI is now free.So in terms of what I need in javascript:With my code currently, there is a background video that is playing, but as soon as the video ends, I need it to send off an email automatically, to the student's in the course without the user having to press any buttons, external links, etc etc. I'm doing this because it plays on the idea of an autonomous technological being, accesses an unlimited knowledge, expanding beyond the limitations of one medium. Though I've researched plenty of resources on how to do this, I haven't found any clear answer or anything that actually works. I've mentioned that this is for an assignment, based outside of my faculty, and my knowledge of code. So any he
Hi, I need to create menu item when acrobat opens. So i have placed the script in the path of user level path. when i use the code for app level its working and added menu item but in folder level its not working.https://acrobatusers.com/tutorials/folder_level_scripts (Ref)app.addMenuItem({cName:"JS Ref", cParent:"Help", cExec:"app.openDoc('pathToPDF');"});When I check the console its showing the below error.How can I clear it to make script to work for startup script??- Sudha K
How install Multimedia.api to Acrobat pro DC? Need to but video acrobat document but plugin not found missing plugin are Multimedia.api where i can get it?
Is it possible to get the page number that a field exists within using javascript? I have a 5 page form with 205 fields and I have built the code to export the field property values, for each field. I would now like to add code to include the page the field exists within. I have searched and cannot find anything that states anything regarding form pages. Below is my code to write to the console the form properties. Once I get it the way I want, I will have it write to an array instead of to the console and then export the array values to a csv file. for (var i = 0; i < this.numFields; i++) { var f = this. getField(this.getNthFieldName(i)); console.println(i + " | " + (f.type) + " | " + (f.name) + " | " + (f.readonly) + " | " + (f.required));}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.