Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I have a official PDF file that I need to fill in with a serial number and a date.So made the pdf to a form, and put in the 2 fields, and manually save it to "date_serialNumber_fixedtext.pdf".Now the problem is that this take so much time to do it manually because I have about 200 rows to do. Is it possible to fill the data automatic from the excel file and save the pdf individually per excel row? Second question, is it possible to do the automation work also in acrobat DC.
I'm looking to develop a Javascript function relating to this thread https://community.adobe.com/t5/acrobat/acrobat-javascript-extracting-footnotes-technique/m-p/10753722) and I've spent a while trying to figure out how all the tooling works inside Acrobat. When I click on the Javascript tool I'm presented with a toolbar with options such as Debug | Debugger | Document Javascripts etc. When I click on Document Javascripts I'm able to add one e.g. function test() { return 1+1 }and the only way I can figure out how to run it is: Close the "Document Javascripts" Window Click on "Debugger" on the toolbarSelect the script "test"Change the view to "Console" belowIn the console type in "test()" so that it executesHit ctrl+enter This seems like an excessive amount of steps that must be repeated to develop a script. Is there a better way? Further, I can't seem to see anywhere where I can save "global" scripts that I can re-use on multiple PDFs. Is this pos
Hello,I'm trying to put in a custom calculation script to solve the error "the value entered does not match the format of the field." I've followed instructions on prior posts for those who've gotten this error and but am now getting an error in the script "SyntaxError: missing ; before statement 4: at line 5 and i can't figure out what needs to be done to get past this error. Can someone please help me get past this? Here is my script: var numerator = (+getField("UnitPriceRow1").value) - (+getField("CostRow1").value);var denominator = +getField("UnitPriceRow1").value;if (denominator !== 0) {event.value = (numerator / denominator) x 100;} else {event.value = "";}
Want a script to do the following- Search all pages in a PDF document -- Every page should have a certain word or phrase based on user prompt in the Adobe Actions- If a page does not have this word or phrase, then print a list of pages that does not have this word or phrase. - want script to this step.- this code will be used from Adobe Action Wizard - I have got script to search and mark the word or phrase only want help for doing the last thing, i.e to show the list of pages which doesnot contain the word/phrase searched for. //HIGHLIGHTING COLORvar colHilite = color.yellow;var oDoc = event.target;var aAnnts = oDoc.getAnnots({sortBy:"Author"});for(var i=0;i<aAnnts.length;i++){if(aAnnts[i].type == "Redact"){aAnnts[i].type = "Highlight";aAnnts[i].strokeColor = colHilite;}}
When trying to call Acrobat API "ImportAnXFDF" in Acrobat Pro 2017, an exception error "Remote procedure call failed" occurred."ImportAnXFDF" is described at "JavaScript for Acrobat API Reference (May 2015)" included in the "Acrobat DC SDK Documentation", so we can use it. Can Acrobat API "ImportAnXFDF" be used in Acrobat Pro 2017?If so, please tell us how to call it.If we cannot use it, please tell us the alternative.Acrobat Pro 2017 version is 17.0.11.30152. In Acrobat XI Pro, no exception error occurred.
I have a large project I have been working on over the past 6 months which is currently stuck with one major bottleneck: combining a ton of pdf files which are sorted into folders. Currently after testing a wide variety of tools and libraries our best option in terms of performance and output size is via "Combine Files in Acrobat" (all other options either use too many resources, result in an insane many gig file size that cannot be used by our other process, or take so long that it is not feasible to use). The main issue we have using this method is that it must be done manually once per folder. It seems like this task cannot be completed via the Action Wizard for some reason so I was wondering if there is any other means to automate this process ie via scripts, sdk, macros, etc or even if it is possible to somehow rip the windows action from the right click option somehow so I can pull it into something like python and call it per folder. Any help on this is much appre
Let me set the stage:text555 and text666 are sums of other fields.text130.8 is the product percentage of text666/text555 (in simplified field notation). The problem:When all values are '0' i get the message:the value entered does not match the format of the field 130.8I know that this means that i need a string for what to do when the value is '0', but i have been trying for 4 days to write and research one that will work and i CANNOT get it and I'm so frustrated! Can anyone help me? lol
Having an issue when creating a dynamic stamp. I am entering in a custom javascript and select that when creating my form on the dynamic stamp. When I hit okay, it automatically sets it back to "Field not calculated" instead of keeping my javascript. I even made an error at first and it called that out, I corrected it and it seemingly won't let me have that script be entered. here is what I am entering var cAsk = "Enter POI Number" ;var cTitle = "POI Number: ";if(event.source.forReal && (event.source.stampName == "#mH2CRwgU97QYytFkFHMANC")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.exhibit = cMsg;}
How can I write a JavaScript utilizing the setAction method on 30 sets of fields with the same numeric naming convention?I often utilize a for loop to match fieldnames and set Acrobat JS methods, but I'd love to learn how to utilize a find/change regex method in this manner.I don't know if it's possible, but I'd like to match the "hover_\d+" field and run one setAction to show/hide fields, etc.In other words, the digit of whatever field hover is, would be the same as the rest of the fields 1-30.I'd love to be able to write it something like: "hover_(\d+)" ==> edit$1, copy$1, trash$1, etc. where I'm backreferencing whatever digit the boolean logic is finding in the name.match() code.I could write this out 30 times, easy—but am wondering if there's a quicker, cleaner way of doing so.Perhaps an array with just 1-30 and reference the array in the display script?Perhaps instead of focusing on the "hover field", focus on the numbers whereas the regex would be: /.+1/ - /.+30/; or som
Hi, For PDFs that have been converted from Word files, I'm investigating how I can extract footnotes. One approach I'd like to validate the possibility of is writing a search that looks for footnotes in the text (understanding that "text" is not a straightfoward concept in a PDF). I've been looking at:ADOBE PDF LIBRARY SDKAcrobat DC SDKfor scripting options. I'm wondering if I could first do a search for a number - e.g. 1 and then either determine the rectangle shape and relative offset to determine if it's a footnote reference; or if text properties are available, the superscript property (if there is one). If it finds a footnote reference, follow on to find the actual footnote content at the bottom of the page and extract that. Thanks
Hello, I am new to AEM forms and sites.My requirment is that read xml from a folder and copy the same file into CRX at locaiton /content/xml-files.Hence i followed below steps1.created a workflow which can read the file and copy to destionation folder. in this workflow, i have used process task between start and end.2. I gave my java class name under process task. and same attached here named WatchFolderTestWW.java3. I have configured the watched folder from AEM->tools->forms->watched folder configuraiton4. in this confiuration, i used same workflow which i have created for execution.5. but able to execute the java Test Case : 1. copy one Address.xml into WatchFolderTestWW/input folder 2. document will go to failure folder with error. package wkint.core;import com.adobe.aemfd.docmanager.Document;import com.adobe.aemfd.watchfolder.service.api.ContentProcessor;import com.adobe.aemfd.watchfolder.service.api.ProcessorContext;import com.adobe.aemf
Hello Adobe Geniuses! I have a group of radio buttons:Button 1Button 2Button 3The group's name is radioButtons I have a form field:myFormField If a user chooses Button 1, I would like the text in myFormField to change to "Button 1"If a user chooses Button 2, I would like the text in myFormField to change to "Button 2"If a user chooses Button 3, I would like the text in myFormField to change to "Button 3" How would I do that? Scott
I was in Acrobat Pro DC trying to align some objects and it wasn't working as I'd expected. When I hovered over it it stated distribute vertically (see screenshot, right side), but I'd come to know this as distribute horizontally by center point as in Illustrator (see screen shot, left side); what is up with this? Illustrator's model of the graphic icon the essentially the same (side-by-side objects insinuating 'things along a horizontal line' - with lines at their center points) seems accurate to me. Why is Acrobat ProDC calling this Vertical? Thanks for any clarification.
HiI have a weird issue with my acrobat plugin.Acrobat/my plugin is in a server.My plugin is loaded for some users ("Currently in Certified Mode" shows as No in Preference)but not for some users. ("Currently in Certified Mode" shows as No)Changing the option “Use only certified plugin-ins” doesn't work for those users.Acrobat License can limit loading thirty party plugin?Any idea on this issue? Thanks in advance.Jason
Hello, IT guy for a small company here. I'm attempting to use a javascript file to print a number in the bottom corner of each page of a document, then incrementally for each copy of the document. This JS works for 2 page documents but when I try to use the same code for a 3 page document to do the exact same thing it only prints the number on the first two pages //-------------------------------------------------------------//-----------------Do not edit the XML tags--------------------//-------------------------------------------------------------//<AcroForm>//<ACRO_source>Print:Annot1:MouseDown:Action1</ACRO_source>//<ACRO_script>/*********** belongs to: AcroForm:Print:Annot1:MouseDown:Action1 ***********/var snum = app.response("Please Enter Starting Number","");var f = this.getField("Serial Number");f.value = snum;var copies = app.response("Please Enter Number of Copies to Print","1");if (copies == null || copies ==="" || copies === 0) {txt =
I'm sure there is a very simple explanation for this. Our business uses a Bill of Sale in pdf format for all of our dealings, recently its come to my attention there is a single line that is off in the calculation, and all I need to do is add one more field to the total cost calulation, but anytime I make ANY change to the file and save it, it no longer populates the Total amount of sale. I was making a simple javascript addition to the text box, to make sure it adds the sum of 6 different text box's to my total cost. But as soon as I add the +text field130 to the existing script then save, my last text field "total cost" no longer populates.I even tried just changing a random letter in the file and then changing it back to what it was, just so i could save the file. Once I did that, it still no longer populated. Help?
Hi there, on start up I am getting popup boxes saying another instance of distiller is running this one can not continue how do I solve this issue please - I get about 4-6 of these boxes
Hi Guys, I am very new to Java Coding and trying to do as much as I can without help.I have a form with multiple dropdown boxes, each dropdown has 5 options Strongly Agree, Agree, Neither Agree or Disagree, Disagree and Strongly Disagree. Each option is assigned a number between 0-4. All the boxes are then added to give a score which will give a discription. The problem I have is that the form is adding each field as I go and taking time. I want to add a button that you press when the drop down boxes have been completed to perform the calculation.The field the calculation will go in is called "Your_Risk_Score". Can some one help me with the last bit of my script to get the box. This is what I have so far:-var v1 = Number(this.getField("ATR1").valueAsString);var v2 = Number(this.getField("ATR3").valueAsString);var v3 = Number(this.getField("ATR5").valueAsString);var v4 = Number(this.getField("ATR7").valueAsString);var v5 = Number(this.getField("ATR9").valueAsString);var v6 = N
The quality of docx produced is exceptional compared to most.Is there an API available to incorporate this export feature in our application or can I run DC/Export as a command line command ?Appreciate any suggestions RegardsJan Urbanski
I have Acrobat Pro DCI have a problem in my current organisation which uses a very old fashioned HR system for recruitment. Our HR system compiles one massive report of all the job applications for a recent post: the pdf is 1700+ pages long, containing distinct sections (of variable length) for over 200 applicants.I want to split this into one pdf per applicant, with the filename of each document being the applicant's name.For each new application, a consistently formatted divider page exists as follows:Applicant : Smith, JohnVacancy ID : 15535The text 'Vacancy ID' only exists on these divider pages, so it can be used to identify where to split the document.The applicant's name, which occurs on a previous line, starts at character 10 and is variable length. In fact it can be acquired with getPageNthWord(page,3) and getPageNthWord(page,4)How easy would it be to create some javascript to run in an action which would do the following:Identify text "Vacancy ID"Split document at that point,
I have form of 12 rows, each with the following calculation in a field 'CD#Result' (the first two letters of the fields change per row). "A" is a single field and "B" is a total of three other fields, that when compared to A determines what is in 'CD#Result'. It works almost perfectly. However, I realized I have a problem if the user changes their mind. If they make any entry in A or any of the three other fields and then delete those entries, the Result field does not clear. I used the validation script to hide any 0 total in the 'CD#MoTotal' field to get a blank, but can't figure out how to do that in the Results field, or how to add to the calculation below. What I want is that if both 'CD#Expect' and 'CD#MoTotal' are blank, then the 'CDResult' should be blank too.TIA for your help! var A = this.getField("CD#Expect").value; // Expected Activity for period reviewed;var B = this.getField("CD#MoT
Hello, I'm needing help with how to perform an action on a PDF where it will change the action to open a web link to run a JavaScript to use the url bit, put app.launchURL(" infront of it and then ",true); after it.I think the code would be something likefor each link in document read in URL Store URL delete open a web link create run a JavaScript make the JavaScript = app.launchURL("URL",true);display message saying ta dah!!I'm not sure where to start with the scripting as I can't find a page that is helping to give an introduction. I'm okay with VBA but like I say not sure where to start with Adobe, any help would be much appreciatedThank you
I have a file that has serveral pages. At random intervals there are pages that have the words "PageBreak". Looking for a script that will search my file from the begining for the "PageBreak" then extract all pages before and including the pagebbreak, then continue through the rest of the file repeating that same process until all pages have been extracted to new files. I have attached a file. On the file pages 1 and 2 would be extracted to a new file, then pages 3-5 would be extracted to another new file and so on. can anyone help?I have looked through the community board and did not find anything that can help me with this.
I would like to know if there is a JavaScript to do the following - Drop down list = "Fact" or "Opinion"Next to each drop down is a text field called "Dislike1" which is a custom entry by user. (they write what they dislike and then use the dropdown to identify if it's a fact or opinion)If they select Fact for Dropdown1, I would like to replicate "Dislike1" in another text field. If they select Opinion, I would to replicate "Dislike1" into a different text field. The goal is to build a separate list for Facts and a separate list for Opinions, each on separate pages, without user having to retype their Dislikes. Since the lists would build, then the text fields would have to be variable (if they choose Fact 3x in a row, then those text fields go to the Facts page, then if they choose Opinion in the 4th row, that would have to be the first text field on the Opinions page). This may not be possible...but??? The preliminary form is linked below.Fact vs Opinion PDF Fill
Often whwn i try to open pdf files with Acrobat 9 that has been registered in 2013, the files are visualizzed al in grey. Can somone help me PLEASE? i have to open them always with Acrobat 8.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.