Design the future of fashion, win Firefly Pro 👗✨
Unlock the power of Acrobat SDK through our community.
Recently active
Hi All,I would like to seek help if there's anyone here know if there's any SDK/API which can help detect text with blue color RGB(0,0,255) and it's location within the PDF page? We are working on a project which will need this functionality. I'm also working with Pfizer and if there's Acrobat support team colleague who sees this one, please can you reach out to me via following email? Many thanks![E-mail add removed by Mod. Please, Do not write any private info in public]Bruce
Hey,I need a Function which will convert any given number to the german words like 820 = "achthunderundzwanzig"I've found an english version which works for e.g. 820 (I made a few changes to represent the german words for the numbers) except if the number contains ones at the end like 825 or 929 then it shows the word like: "neunhundertzwanzigneun" which should be of course "neunhundertneunundzwanzig"function int_to_words(int) { if (int === 0) return 'zero'; var ONES = ['','eins','zwei','drei','vier','fünf','sechs','sieben','acht','neun','zehn','elf','zwölf','dreizehn','vierzehn','fünfzehn','sechzehn','siebzehn','achtzehn','nunzehn']; var TENS = ['','','zwanzig','dreizig','vierzig','fünfzig','sechzig','siebzig','achtzig','neunzig']; var SCALE = ['','tausend','millionen','billionen','trillionen','quadrillionen','quintillionen','sextillionen','septillionen','octillionen','nonillionen']; // Return string o
Hola antes que nada me pase horas buscando en el foro algo parecido y encontré un post de hace 3 años pero no me funciono la solución hice un Formulario con Acrobat Pro DC y quería guardarlo para rellenarlo con acrobat reader y guardar el formulario rellenado con un nombre a medida.Quisiera saber si puedo crear un nuevo botón en el menú como "Salvar Formulario" que me permita guardar el formulario una vez rellenado con el contenido de 4 campos. Por ejemplo campo1 + Campo 2 + Campo 3 + Campo 4 + pdf y guardarlo en una carpeta como c:/formularios/pedidos/ Encontre este codigo pero me sale una ventana que me dice error interno al ejecutarlo en Acrobat Pro DC. app.addMenuItem({ cName: "Guarda", cParent: "File", cExec: "this.saveAs('/z/' + this.+ this.getField('Fecha').value + this.getField('Valor 1').value + this.getField('Valor 2').value + this.getField('Fabricante III').value + this.getField('Valor IV').value + '.pdf');"});
Hi, I would like a dropdown list be on a certain item based on a number on another field.So basically if I write a number on the field at the bottom that is higher than 10000, I want the upper field to show the option "Más de 10000". And if the user changes the selection on the upper field to any other option (except "Más de 10000"), remove whatever number it is on the bottom field.Many thanks!
Working on a POC to look for pattern e.g 12345-1234 and then create a hyperlink on it using javascript.My question is how to make 'getPageNthWord' function to include '-' while splitting words. As of now, when '-' is found, the word is cut as '12345-' and '1234' as I'm having the 'bStrip' value as false.I want as single word without any splitsAny kind of help is appreciated.Thanks in advance.
Hi,I am developing VBA code where I can use/Call the compare document tool provided by adobe in the DC pro version . How can I do that. Is creating a custom action a better choice. Also, I read in adobe forums that Compare tool is not available as an API. Automate Compare FilesIs it available in the latest version now.?Also, Is there a web service that I can use of Adobe that will let me do the PDF compare.Thanks
Hi, I was wondering if I could get some help with making a textfield required based on a particular radio button selection. I have a form that I'm creating and have several questions with radio buttons. For some of my questions there are yes/no radio buttons and if the user selects "yes", I ask "if yes, what?" with a textfield for their explanation beside it. How do I make the below textfield required, only if, the user selects the "yes" radio button?Thank any of you in advance for any help!Name of radio button "Yes"= coy Name of radio button group = Criminal_OffenseName of textfield for "If yes, what? = whatinput
I can't seem to find exactly what I am looking for. I have document that is two pages long with the second page being a hidden template. When the submit button is pressed on the first visible page a second page is spawned in between the first page and the hidden second (thus making the hidden template page 3). I am trying to figure out how to affix a "1" in a text field on the spawned page and then count up from there as the user completes the form and spawns more pages.So it Starts with: P1, (Hidden P2). But I'd like it to be: P1, Spawned P2 / #1, Spawned P3 w/#2, Spawned P4/#3, etc, Hidden Template page
I have a field that totals a series of fields. If the total plus another value of another field exceeds value of a third field than an alert message should be generated and the value be returned to 0. The filed returns a false value whether the validation criteria is met or not. Any assistance would be greatly appreciated!!!var IDC0=Number(this.getField("IDC0").value);var TA=Number(this.getField("TotalAward").value);if(((Number(event.value)+IDC0.valueAsString)>TA.valueAsString));{ app.alert("Total of Direct and Indirect Costs Cannot Exceed theTotal Award"); event.rc=false;}
Hello! I am very new to JavaScript programming within Adobe and am trying to pull an external list of strings (format can change, however, pulling from an Excel file would be most efficient) into an Adobe Pro DC JavaScript as an array, in order to search for that list of strings through the PDF. I have the code working so that I can hard code the strings into the JavaScript. Please let me know if you have any direction or can help me with this. Thank you very much for your time in advance!Chris
I have an archive of about 100 magazines in individual PDF files that I want to distribute, along with with relevant indexes. Each separate issue has bookmarks for its contents and I also have title, author and volume indexes for the whole collection. I want each magazine to include navigation to all these indexes but I'm really not sure I'm approaching the problem the right way.The approach I've taken is to add bookmarks to each magazine before its table of contents: one entry each for of the volume, author and title indexes with the action for each to Open a file. This works when I add by hand but it will take a *long* time to add to every magazine. I've tried Javascript and can automatically add the extra bookmarks but I can't add an action to open a file: it seems all I can do via the JS API is to run a Javascript and I've seen comments that this doesn't work on tablets or phones, and in any case it presumably needs all the recipients to have enabled JS.An alternative would be to c
I am implemented Select Text functionality in one of my plugin,here, I want to remove previously selected Selection, once i selected another Text.In Acrobat 2011 and 2017 it was working fine, but in 2015 it was not working.Please any one help me, to solve this issue.Thanks..
Hi,I'm trying to add a calculation into a form field to calculate the time worked (based on start and finish time) less break time:09:00 17:00 1:00 (time worked would be 7 hours)22:00 04:00 1:00 (time worked would be 5 hours)I've tried to follow other forums posted for similar things, however my Adobe calculation skills aren't very advanced! If this were excel I'd be fine.If someone could provide a custom validation script, I'd be extremely grateful!Thanks
In previous versions of Windows, I could right click on a file from a directory view and select print. It worked great.In Windows 10, that option doesn't show up when I right click on a file from a file directory view. Is there a way to solve this?
Can anyone please help me? I can't figure out why my javascript isn't working, I am trying to auto populate from a drop down list into two text fields, I am going off the script example in the middle which I got off the internet. It worked like a charm when I entered the bottom script but I was only auto populating to one text field. I have ' in front of the digits starting with 0 on the JobStep but I need those. What am I doing wrong? PS I'm very new at this javascript stuff// Place all prepopulation data into a single data structurevar DeptData = { 1060 Foreman 1:{ JobType: "012DO", JobStep: "’0234" }, 1031 Foreman 2:{ JobType: "034DO",
Hi Everyone!So today I've just learned about using Javascripts (I'm dropping the .js file into the javascripts folder). I'm not a professional in any of this and wanted to explain my current setup just for context. We are a very small company (3 employees) and we have a single server running Microsoft Server 2016. 100% of our customer connect to the server via RDP and run a custom application. We use a program that allows us to create pdf files in their home folder and then we display the pdf file and allow them to print, save or email it and of course page navigation. The PDF viewer is really locked down (which is what we need). We are using an open source PDF viewer which allows us to lock all features down that we don't need. After coming across this javascript stuff today, I want to know if the following is possible using a "starup.js" script file. Open Acrobat Reader, hide the menu bar (no, file, edit, view, etc), On the toolbar show
after scanning docs, when I go to file menu and save as, the dialog box is empty. it was only intermittent, now it is all the time.
I am trying to figure out if it is possible to detect if any other objects within the document have overlapping bounding boxes. not just annotation objects, which i can get the bounding box of, but lines, text etc, from the original document.My goal would be to detect and stamp in a region that was unused that fit the stamps bounding box, and thus not overlapping anything. Is this something the OLE or Javascript tools can accomplish?
I have a form that currently has 4 mapped fields that come over from our core. Each of these fields is independent to an applicant (up to 4 applicants) and carries a unique value of "Y" or "N" or "U" based off of the applicants MLA status. I would like my checkbox named "MLA" to check itself if ANY of those are Y, regardless if one is Y and the others are N, and regardless of the order they are answered, as they come through automatically so I have 0 idea which one gets there first.I wrote the following script (with some help from a pro) and I still cannot get it to work. I am a noob and am trying to teach myself, digging through forums and w3 schools and stackoverflow, so please take it easy on me:) Any help is appreciated!!var prompt = this.getField("APPLICANT_1_MLA_STATUS");var prompt2 = this.getField("APPLICANT_2_MLA_STATUS");var prompt3 = this.getField("APPLICANT_3_MLA_STATUS");var prompt4 = this.getField("APPLICANT_4_MLA_STATUS");var checkBox = this.getFie
I'd like to send a PDF to multiple people through email. I have the JavaScript working to send from a submit button, but can't figure out how to CC some email addresses as well. This email address works, but when I put "CC" into it as well it says there is an error. Is there a way that I can CC and send to people at the same time? I'm currently using Adobe Acrobat DC form creator.
As title. It seems more often than not, when I select a page in the API reference site (linked from the current SDK documentation), the page returns an HTTP 404 error. I'm having an incredibly hard time getting started with the SDK, as I'm just not able to find the documentation I need to get things running.
Hope someone is able to help with my question: How can I make layer visible (a pop up message) with a button click and hide all the other fields on a page at the same time, and revert back (hide layer and make all the fields visible) on another click of the same button. Thanks!
Hello,I have an excel form that I built in Adobe Forms - the excel form calculated savings and cost avoidance in positive and negative numbers based on 3 values, historic, offer and bid. I tried using a beautifier to generate the javascript code and am stuck. Here are the excel formulas and form values related to historic, first and final. Last, it should take the value of the Cost Savings and the Cost Avoidance, add and give total in positive or negative value. The formulas work perfect in excel, I just can't figure out how to convert them to javascript.Excel value to Adobe Form ValueP37 = TotalsHistoricPriceP38 = TotalsFirstorAverageP39 = TotalsFinalPriceD42 = CostSavingsProspectiveSuccessH42 = CostAvoidanceProspectiveSuccessThe three formulas I need to calculate in my adobe pro form1. Cost Savings - Excel Formula=IF(P37=0,0,P37-P39)2. Cost Avoidance - Excel Formula=IF(P37=0,P38-P39,IF(P37<P38,P38-MAX(P37,P39),IF(P37=P38,0)))3. Total Success - excel f
I want to be able to view PDF documents from my Windows application with the help of Acrobat Reader DC.I've read the Acrobat DC SDK Documentation and tried the samples, but I still have a couple of questions.Am I right that AcroPDF library is the only way to view PDF documents with the help of Acrobat Reader DC?Is there any way to display just PDF documents without additional UI elements when using AcroPDF library?As when I try to follow AcrobatActiveXVB sample in my application and open the document from the sample (https://www.adobe.com/epaper/pdfs/elib_swedish_libraries.pdf ), I get the following:And this is already strange since SetPageMode states that "none" is the default mode (Acrobat DC SDK Documentation).With the help of the following code I manage to make the look closer to what I want:axAcroPDF1.setShowScrollbars(false);axAcroPDF1.setShowToolbar(false);axAcroPDF1.setPageMode("none");But in order to get a nearly ideal look I still need to click on the arrows to hide UI elemen
I have a pdf file which can be edited through Adobe Acrobat. When I open straight away open the file from Adobe and edit the file, and when I press the back button it gets saved automatically, but when I open with Cordova application it is opening with Adobe and I can also able to edit that, but when press the back button and come back to app and once again hit the pdf file it is not showing the edited content (it happens only with above android 7, but below android 7 it is working fine from the app).I open the file with this code from cordova,Intent intent = new Intent(Intent.ACTION_VIEW);intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);intent.setDataAndType(path, contentType);cordova.getActivity().startActivity(intent);Does it need any extra permission from the application ?
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.