Questions
Recently active
I have a variable that is in decimal seconds.Example: 92.5How do I convert it to 1:32:50?
I have an Acrobat form with monthly and annual expense columns. I would like it if the user could fill in either with both autofilling the other while still leaving them fillable. So if the user puts $10 in the monthly column the annual would auto calculate to $120. But, if they change the annual column to $144 the monthly would change to $12. Is there a way to script this?[Title shortened for clarity, and because the example got cut off... -Mod.]
I have a list of pdf documents, all of them have "ABC" field which is a sum of fields Field1 and Field2. I need to change the rule and add one more filed to the sum.I use Tools>Action Wizard and JavaScript like this:var f = this.getField("ABC");f.setAction('Calculate', "AFSimple_Calculate(\"SUM\", \"Field1, Field2, Field3\");" );But after applying the action to the docs nothing was changed. What am I doing wrong?Thanks!
I am creating a dynamic stamp that I need to populate with information from the file path of the document that is being stamped. The file path contains a date that I need to parse out and input into the stamp. Unfortunately, I have only been able to get the document name or the file path of the stamp itself. Using event.source.source.documentFullName only gives me the document name without the path. Of course, this.path gives me the path of the stamp only. Is there a way, using javascript in the stamp, to get the full path? If this is not an option, I would need a way to prompt user to enter a date one time and be able to save that date to be used on subsequent stamping, so they don't have to enter it every time the stamp is used while Acrobat pro is open. It can reset once it is closed. The users need to stamp this specific date (and it is not the current date) on over 200 of the 500+ documents they review each time, and they don't want to have to e
Hi, i wrote a little app in excel (VBA) to fill a pdf and it is working perfectly on my laptop, i have Adobe Acrobat pro DC, but when i use it on another laptop i get an error:"Project or Library not found", the other laptop has an Acrobat Pro XI, and i have already included all the Acrobat libraries in references.please advise.
I found an entry in regedit.exe under HKEY_CLASSES_ROOT/AcroExch.PDDoc as: {FF76CB60-2E68-101B-B02E-04021C009402}Can someone confirm whether this is the correct CLSID?
I am using a validation code to in a text field, which I is to be typed into, to define a dropdown based on said typed in value. When I first started, the pdf would lag and show the options in the dropdown for the case I had just deleted from the typed field. For example, if you look at the code below, if I typed in "VS06", it would show nothing. And then, if I typed in "VS08", it would show the options for "VS06". But, I tried to make some changes, found out they didn't solve my issue, reverted back, and now, nothing is updating at all. Please help.var A = this.getField("Model #").value; //gets model numbervar B = A.substr(0,4); //isolating size switch (B){ //selecting size default: thisField("DHT CV Line").setItems(["nothing
I am trying to create a form in Adobe Acrobat XI Pro with three drop downs, two of which are dependent upon the selection made in the drop down before it.Given that I've never done anything of this nature previously, I have followed the advice given in this thread but am having an issue that didn't seem to come up there, and I couldn't find anything similar in other threads.The population of the dynamic drop down menus works fine, but I'm having trouble getting the values selected in the second and third drop downs to "stick". Initially, I did not set the field to "Commit selected value immediately", which allowed my selection to be made and held until I clicked out of the second drop down, then it reverted to the initial/top value in the list but the options in the third drop down were still related to the selection made but as soon as any selection is made, it also reverts based on the second drop down's reverted value. If I select "Commit selected value immediately in the opti
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.