Design the future of fashion, win Firefly Pro 👗✨
Unlock the power of Acrobat SDK through our community.
Recently active
I have a pdf document created in Adobe Acrobat DC with such functions. 2 checkboxes with a checkbox: you can tick "yes" or "no" or none of the above. Is it possible to write an automatic test which will test it?I still have a checkbox under the "OK" fieldto be marked or not. how to test it automatically?and I have a text field in which to enter text. How can you test it automatically?I am asking for a quick answer. how to create automated tests in adobe acrobat dc?That the form fields have been filled in by the user?text field - whether it is possible to fill in the formcheckbox:That the user selected a certain value, such as "yes"? -is it possible to select 'yes' oraz 'no'and whether it can be inactive - if none of the above is selectedand in checkboxes, whether the name is one in the document or another checkbox does not have the same name - because then selecting one, two are marked
All,I have a Fillable PDF that I created from an Excel file, and that Excel file has drop down menus in it. The descriptions in the drop down menu are long, and when pasted into the PDF drop down menu, it will only show a part of the text. After reading hours of other forums, I know that I have a few choices on how to make this happen. One is to use "\n" script and the other is to use Java script to write a code that will connect the drop down menu to a text box. However, I have no idea how to write either of those codes needed to complete those, nor do I have a good sense of where they need to go. Any help would be great! Thanks!
Hello,I have read several similar posts on various ways to do this, but I am still stuck. I am completely NEW to javascript. This is my first attempt!I've tried to copy similar JS examples, but replace with my labels, but i must be doing it wrong somewhere. I need to hide a text box based on a radio selection in two instances.I am running Adobe DC Pro.I have 2 radio buttons in a group with a text field box for each choice. Radio buttons are named "Group3" with unique names "Choice1" & "Choice2". Text field boxes are named "G3C1" and "G3C2"Goal: If Choice1 is selected, then text box G3C2 becomes hidden. Or if choice 2 is selected, then G3C1 becomes hidden.Can someone provide me with the exact JS for this?Appreciate any help - Thank you
Dear All,I need to add hundred Watermark in one PDF File and save each watermark pdf with each name. I have a text file which includes the watermarks. I already see the java script function but I don´t find much information I need. I found this piece of code and even not able to transform in my requirements - seethis.addWatermarkFromText({cText: "Text",nTextAlign:app.constants.align.center,cFont: "Helvetica-Bold",nFontSize:36,aColor: color.red,nStart: this.pageNum,nOpacity: 0.5});Anyone knows who to find a solution for this ?Thank you very much
As the title states, I need to know how to force a hyperlink to open in a new window within a browser.Our users will be viewing an online PDF training manual that has hyperlinks to YouTube videos. We need one of two things to happen and either solution will be a win for us at this point1) How do you make it so these links open in a new window/tab within a browser?2)How do you get the users to be placed back at the place in the PDF where they clicked the link? As of now, the links open in the same window. When the user goes back, they are left at the very top of the PDF again.All help is very much appreciated!Thanks
Hey my question is a bit of a mouth full.Trying to write a java script ( i believe this is the best way) for a button once clicked:Prints a water mark/ configures the header footer in all pdf pages after the first page. Button is on the first page of the pdf. The text for this water mark/ header footer, being dependent on 2 dropdown and a text boxE.gDropdown box called HSC, options are 1,2,3,41 selectedDropdown box called A/c options are 206,207,208,209,210,211,212,213211 selectedText box called reg, with the text "112/18"When the button is pressed the Watermark/header comes out as"HSC 1 A/c 211 reg 112/18"My understanding watermark is the best way to configure this.Any help will be greatfull.I am using Adobe Acrobat DC with all tools available.
I have a script that will split PDF files based on a set amount, so If I have a 1,000 page pdf, I have it split every 997 pages, I wish to modify it to split based on the actual size of the file.So if the file is 1,000 pages read it and split it too 2 seperate 500 page documents or if it's a 1,200 page document split it into 5, 300 page documents, so my end goal is too split it evenly if the file is larger than 1,000 pages.var re = /\.pdf$/i;var filename = this.documentFileName.replace(re,"");var n = 1;var nParts = Math.ceil(this.numPages/998); try {for (var i = 0; i < this.numPages; i+= 998){ var oNewDoc = this.extractPages({nStart: i,nEnd: (((i+997)>=this.numPages) ? this.numPages-1 : (i+997))});oNewDoc.newPage({nPage: 0});oNewDoc.addWatermarkFromText({cText: filename + "Part "+n + " of " + nParts,nStart: 0,nFontSize:36});oNewDoc.saveAs({cPath: "/K/Penta/Split/"+filename+"_" +"Pages_" + (i+1) + "-" + (((i+998)>=this.numPages) ? this.numPages : (
Hello,I work for a finance company that uses an uses a designated department for larger loan approval. There are multiple documents that are generated already as form pdfs or are hand written and scanned to a network drive. For a example the required documents that are to be sent are a: Coversheet(form pdf), Loan Scoring(hand written), Application (originally pdf, but printed and some hand written then scanned), and a credit report (pdf). All in that order. Right now, we currently print/hand write everything and scan it all back in to the network drive as one file and e-mail it. What I'm interested in doing is minimizing the printing and creating a button on the Coversheet that will allow me to import the have to be scanned items (which generate as pdfs) and the credit report, and output to a new file that has the forms flattened and the separate pdfs combined in order. ALL WITHIN ADOBE READER. Now I'm not fluent in JavaScript at all so I'm sure this is a tall order, and I wouldn't be
I have a regex which should find a string pattern of any of the following formats28.05.2018 SB RS CS 28-05-2018 SB RS CS 28/05/2018 SB RS CSThe regular expressions matches the first example with the full stops in the date, but does not match the second and third example with the dashes and forward slashes in the date.Can any one please advise how to correct the regular expression so that it matches a dash or a forward slash?Any assistance will be most appreciated.This is part of a script which matches the string and reports it back to the console.var ckWords4; // 4 words to testvar re = new RegExp(/\d{1,2}[/.-]\d{1,2}[/.-]\d{2,4}\s([A-Z]{2,5})\s([A-Z]{2,5})\s([A-Z]{2,5})/);var count; // count number of wordsnumWords = this.getPageNumWords(0); // number of words on page // loop through the words on page for (var j = 0; j < numWords-1; j++) { ckWords4 = this.getPageNthWord(0, j) + ' ' + this.getPageNthWord(0, j + 1) + ' ' + this.getPageNthWord(0, j + 2) + ' ' + this.getPag
Hi all, I can't seem to solve this problem. I am writing a C# desktop app that lets a user view a PDF file and then the user will have an option to delete that file.I first call the LoadFile("FileName") Function. My problem occurs when the user has finished deleting the file I can't figure out a way to clear the document from the AxAcroPDF object. It has been really bothering me. I need to figure out how to clear the document from the AxAcroPDF object. Could some one please help me out? Thanks In advance. -Adi
Hello all, I have several PDF documents that are over 1,000 pages in length and need to rearrange them from their default page order. Each page of the document has a name on it and each page must be placed into alphabetical order based on the name. I have already generated a work around script outside of Acrobat that will output the proper page order, what I am trying to do at this point is to get Acrobat to place the pages in order according to my generated list.Example of issue:I have a list of pages the document should be in (4,782, 43, 125, ect...) and need to have the document rearranged into that order. This involves moving every page of the document.Any help in this matter would be greatly appreciated, I'm an Acrobat noob.P.S. If there is also a way to get a script to generate the proper alphabetical order based on the name in Acrobat in addition to also placing the pages in the proper order would be great, that way we can keep it all in one application.
Adobe Reader DC is getting an error message when opening pdf files. "The Application was unable to start correctly (0xc00000a5). Click OK to close the application" Clicking OK allows the file to be opened normally, but I am still unable to save the file. I have uninstalled Adobe Reader DC with the fixit tool rebooted, and reinstalled multiple times, but always get the same error. I am using a Windows 7 64bit machine.
Hey all. I have been scouring forums all morning for an answer to this but keep coming up empty. First of all, I am still VERY novice at javascript in Acrobat, but here is the scenario:I have 5 required fields in my form. When I have a submit button that just uses the mouse up - submit form event, it will reject the submission if a required field is empty. However, I am submitting using javascript so that I can add text from one of the fields to the subject of the email that this is submitted by. The issue is when it is submitted this way, it no longer seems to validate the form to ensure the required fields are filled.Some addition context:The required fields are largely text and are as follows:repname (text)pneumonic (text)customer id (text)client name (text)Verification Method1 (drop down)If all of these are filled out then the form should allow submission. In a perfect world, if they click submit and any of the fields are empty I would love a pop up message that lets them know that
If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.
Hii will searching Text object Containers for all the pages in the PDF Doc.The following code Demonstrates the above functionality.if (AVAppGetActiveDoc()){for (int i = iSPage; i <iEPage; i++){PDPage pdpage = PDDocAcquirePage(pdDoc, i);PDEContent pdeContent;CString rcsTag;pdeContent = PDPageAcquirePDEContent(pdpage, gExtensionID);PDEElement pdeElement;ASInt32 NumEle = PDEContentGetNumElems(pdeContent);for (NumEle = PDEContentGetNumElems(pdeContent) - 1; NumEle >= 0; NumEle--){pdeElement = PDEContentGetElem(pdeContent, NumEle);if (PDEObjectGetType((PDEObject)pdeElement) == kPDEContainer){ASAtom asaActualTag = PDEContainerGetMCTag((PDEContainer)pdeElement);LPCSTR csActualTagvalve = ASAtomGetString(asaActualTag);CString csActualTag = (CString)csActualTagvalve;if (csActualTag.Find(L"ACUTAHeader") != -1 || csActualTag.Find(L"ACUTAFooter") != -1){HeaderPresent = true;}}}PDPageReleasePDEContent(pdpage, gExtensionID);PDPageRelease(pdpage);}}After Searching completes, in Task manager Acro
Hi,I have no javascripting knowledge, is it possible to add an export .fdf javascript to a button in a pdf form?seems simple but i can't seem to find an example? ThanskAdamsski168
I have a text field created and when someone fills it out I want the degree symbol to show up after. For example, if someone enters the number 180 I want the degree symbol to show up so it looks like 180°. When I open up Text Field Properties > Format, which one do I use (Custom format script: or Custom keystroke Script" and what is the javascript code for this to occur?
When I click a button that I have placed on a form, I want the text in a text field already on the form to change to the text in a variable that I have created.Specifically what I am trying to do://creates my variablevar date = new Date();var components = [ date.getYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), //date.getMilliseconds()];var id = components.join("");I then have a text field called "ID_Text"I thought I could just use the following, but it does not work.getField("ID_Text").value = id
What is the link to Acrobat JS reference guide? The one I had is broken.
Is it possible to run an action with a script (NOT execute a javascript inside the action, but run the action itself with a script)?
Hello everyone, I'm currently working for a company as an Intern and they asked me to create a custom form panel (basicaly a window that pops up when you call a javascript script) that should be filled with fields for the user to fill. Once those fields are filled i'm supposed to create and XML file from those fields.The problem is not about the XML file it's about creating the panel. Does anyone knows anything about it or is there any topic talking about it ? (I was not able to find any)Thanks for your time and have a nice day !
I'm going to add a dropdown that populates a text box in my custom dynamic stamp. I would then also like a way to go to the page in a PDF that contains specific stamp text without having to type that text into the search field every time, or scroll thru the document, or look thru the Page Thumbnails.Googled for a way to have a separate dropdown with the same values as the stamp dropdown, that searches the document for that stamp text, so far without success.I also looked for a way to programmatically create individual bookmarks named for the stamp dropdown values that are chosen, so far without success.Any ideas for the best way to do this please?Thank you.
I have a new credit card and need to change the credit card number & expiry date. I get to the right web page, but when I click on 'save', nothing happens. Can anyone help, please?
I've made countless attempts to change parenthesis, quotes, etc. and updated the entire script to match, but continue to get the same error in the same place. I need help from someone smarter than I am! Any thoughts?*Field1 has an export value of 1, 2, or 3.*Field2 is a number1 var v = this.getField("Field1").value;2 var l = this.getField("Field2");3 if ((v==1) && (l<21)) event.value = l;4 else if ((v==1) && (l>20)) event.value = (Math.ceil(l/2))+10;5 else if (v==2) && (l>0) && (l<5) event.value = (l-1);6 else if (v==2) && (l>4) && (l<9) event.value = (l-2);7 else if (v==2) && (l>8) && (l<13) event.value = (l-3);8 else if (v==2) && (l>12) && (l<17) event.value = (l-4);9 else if (v==2) && (l>16) && (l<21) event.value = (l-5);10 else if (v==2) && (l>20) event.value = (Math.ceil(l/2)
I will try with PDEText object to get Font Properties like Font name, font Size, Text and Text Color..Through PDEText I get Font size, Font name and Text color, But i couldn't get all words present in the PDF Page.Please Suggest me..How to get all Text information through PDWordFinder..Thanks...
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.