Unlock the power of Acrobat SDK through our community.
Recently active
Sir, I want to put a button (with a weblink) on more than 50 files (Pg1&2 of each file) . can this be done via Batch Script. Thanks
Hello everyone, I have an Access database with some VBA code in it that currently only works on a Windows 7 virtual machine with 32bit Office 2010 and Acrobat 8. I’m trying to get it to work on a Windows 10 machine with 64bit Office 365 and Acrobat DC. It uses cells in an Excel file to look for PDFs in a source folder, copies them to a destination folder, renames them 1.pdf, 2.pdf etcetera, and adds a text box with the correct number to the first page of the PDF.When I press the button to do this, I get the following error:Error number -2147221164Description: Class not registeredwhich points to the following code: When I ignore this error, the program starts copying and renaming PDFs, but does not add the text box to them. Each PDF results in the following error:Error number 91:Description: Object variable or With block variable not setwhich points to this code: Curiously, the whole process works when:At least one of the destination PDFs has been create
Is there an existing script that will auto-calculate "B" and "C" when keying in a number value for "A", based on "D" OR "E"? (see attached) Any help would be greatly appreciated. Thanks in advance.
I have a transcript request form that I need to calculate a total dollar amount in a field at the bottom based on which options are selected. The form is set up like this: Checkbox 1: $5 mail unofficial transcriptCheckbox 2: $5 mail official transcriptCheckbox 3: $5 email transcript Radio 1: BSB transcript Radio 2: degree transcript Radio 3: both BSB and degree transcript ($5 each) Text field total: This amount should be the sum of the checkboxes (one or more can be selected, each valued at $5) and IF Radio 3 is selected, should be multiplied by 2 (so, if I want a transcript by mail and by email, for both BSB and degree, then my total would be $20; 5+5x2). Is this possible?
This seems like it must be a super basic issue, but I wrote some JavaScript code for a pdf using the "Edit All JavaScripts" butoon, but whenever I click "OK" to save/close out the code/script editor, it all clears out and all I am left with is the //------//----Do not edit the XML tags//--------- code. So basically nothing I do is getting saved, whether or not my code is any good. Any idea what I am doing wrong? Thanks!
Hi I want create a PDF page from Clipboard using Javascript. Please help
Hello, I have a pdf with a image i want that a user can mark anywhere on the image.... like a dot or a "x" sign or any other sign..... is it possible via script...... currently i have made checkboxes all over the image with a circle, but by doing that there are many spaces on image which a left out. Thanks
Hi, I don't know how to export a XFDF-file to the fixed map and filename. I does and must work without the file manager. The code is in the Javascript console:this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true}); I tried it with \ and \ and /\ and the bAnnotations:true before the cPath and nothing works. It is on Windows 10. It originally came from Importing Annotations with JavaScript? and it works for me, but I need only the FDF-file (XFDF in fact) to be saved in a fixed map.
I have a PDF form that works with a submit button. The submit button runs on a JavaScript command (this.mailDoc). When I click the submit button, it does as intended. It opens up an Outlook window, however I noticed the window has no minimize button and there's no way to come out of it except closing the window. Is there a way to bring back the minimize button? Should the script be amended in anyway? I read somewhere that it can't be done, would like to hear any other opinions. Many thanks!
Hi i just need to show up dialog window.Because its impossible to set shortcut to replace pages, all i need is show dialog windows. The same dialog window when i click on replace pages, window has name CZ - Vyberte soubor s novými stránkami ENG - Select File With New Pages. Can some one please post JS code? I believe it will be 3 lines code max. The rest i will do with AutoHotkey script.Many ThanksEDIT: in active document of course 🙂Screen here:https://ctrlv.cz/hLzy
Hi there, Okay first off id like to applogise i barly know how to use acrobat so please bare with me. i'm trying to create a dynamic stamp ive got as far as creating the stamp near enough i have just added in a live date change however i am following a youtube video that has been done on mac and i am on windows so everything seems to be in a slightly different place and i cant seem to fuind the page templates tab Sorry if this wasnt too clear ill link the video and time in video to hopefully make myself a bit cleaer https://youtu.be/OjK5NbjOZCI?t=338 I doubt anyones having the same problem aha but if you are the tab is under jarvascript in more tools 🙂Thank you,Dan
Hi everyone, I work for an Apprenticeship provider in the UK and I am trying to move away from printing too many documents to digital ones. We have something called a start pack with repetitive information like start date, learner name, employer…However, each start pack have a few different pages such as standards, learner journey depending on what apprenticeship the learner undertakes. To make it even more complicated, the learner journey is different if the company is a big corporation or an SME and if the learner is from 16-18 years old or older learners. I have managed to create different fillable forms where I only have to fill in the name once and other fields of the same info automatically filled in and the dates as well based on a calculation (for i.e Business Admin end date is 15 months from start date). I name them along the line of Business Admin-young learners-Levy or Business Admin-existing employee-nonlevy. So imagine that I have like 15 files for one appre
I have a pdf form that I am using for a registration page. When you select a training course from the drop-down menu, I would like for the date and location of the course to auto-fill in the appropriate text fields depending on which training course is selected.
For some reason, text added to a pre-populated text field disappears when the fields on the page are set to read only. This happens on every page spawned, except the first page. I have a form setup where users can spawn a new page to enter information for multiple instances. The form has a textarea that prepopulates with several lines of text. I wish for these lines to remain so the users can type next to the text already there. The text are categories like: Name, Email, Phone (etc...)I use a dropdown field to populate the text. It is in a Custom Validation Script in the dropdown field (I've found that if I put the text in a Custom Format script in the text field itself, the entire text disappears when you click in that field). var v = event.value; var f = this.getField("0Work notes"); f.value = "Name: \nEmail: \nPhone: \nWorking Hours: \n"; When the user types into the field, they just add data after the item category. At the bottom of the page, I have a button tha
Hi!I want to do such a thing:- add the active field (click) to a specific place in the PDF file (button - I know how to do it)- create a script in JS that will show me the number of today (e.g. 320 day this year)- move to a specific page (the result of the script No. 1) - e.g. to page 320 Could you help me with these scripts?Thanks!
I REALLY NEED YOUR HELP IT'S URGENT i can't sign a secured pdf document please i need your help!! my prof sent me a secured pdf document that i have to sign and i can't and it's too late to ask herr
I have multiple fields to enter data. I am trying to VALIDATE that with results like ALERT and COLOR CHANGE in the same field where the data was entered. It is working fine up to certain range. But when the goes within the range of other field it is giving conflicting result.Suppose I put the following in one field:event.rc = true;if (event.value >= "5" || event.value <= "10.0"){event.target.textColor = color.blue;}else{app.alert("The entered value is after lunch glucose and should be between '5.0' to '10.0'");event.target.textColor = color.red;} And in another field I put:event.rc = true;if (event.value >= "90" || event.value <= "130.00" ){event.target.textColor = color.blue;}else{app.alert("The value is blood pressure SYS. If it goes higher than '130' you are in high blood pressure and if it goes lower than '90' you are in low blood pressure ");event.target.textColor = color.red;} Thanks
Hello,Is there a way to suppress saving document in case of Ctrl+S pressed? I tried clear flags PDDocNeedsSave on PDDocWillSaveNSEL and PDDocWillSaveExNSEL callbacks but it didn't work, document saves anyway.
Hallo zusammen, ich habe folgende Problem, hab zwar auch Adobe Support kontaktiert aber die konnten mir auch nicht helfen aber vermuten dass es an JavaScript liegt und ich kenne mich da garnicht aus. Es geth um PDF Kontrollkästchen, siehe Bild. ich habe auch einen abschnitt von meinem PDF-Formular beigefügt. Bild 1: ist soweit richtig wenn ich Tarif 3 wähle soll bei IPTV und Satellit kein option aktiv sein.Bild 2: ist auch soweit richtig wenn ich Tarif 2 wähle soll bei IPTV und Satellit alle optionen aktiv sein.Bild 3: hier fängt meinem Problem an und zwar wenn ich Tarif 1 wähle sollen Option 3 und Option 3.1 deaktiviert sein und ich weiß nicht wie und wo man bearbeitet. Vielen Dank!
Help! I've been furiously working on a fillable PDF using Acrobat DC and I have (literally) thousands of dropdown menus that I would like to edit simultaneously. The problem is that the Javascript that I'm trying to edit will not allow me to choose the "Validate" tab if I select more than 1 dropdown to edit.Is there a way to do this without having to individually select each dropdown menu validation tabs to edit? More specifically, I want edit all the dropdowns from this: var f = event.target;var fv = event.value;if (fv == "4") {f.fillColor = color.green;}else if (fv == "2") {f.fillColor = color.yellow;}else if (fv == "1") {f.fillColor = color.red;}else {f.fillColor = color.white;} To this: var f = event.target;var fv = event.value;if (fv == "4") {f.fillColor = color.green;}else if (fv == "2") {f.fillColor = color.yellow;}else if (fv == "1") {f.fillColor = color.red;}else if (fv == "D") {f.fillColor = color.blue;}else {f.fillColor = colo
Hi guys,I am newbie for Java and I have a problem here. I wrote the custom code script in "Bank country" field - if the dropdown selection is "Canada" , another field will be unhide. otherwise, the field will be hide all the time. However, the changes will not appear immediately after I change the dropdown. Only if I click on the dropdown one more time, the changes will appear. How to make the hide and unhide of field works immediately after i change the value of dropdown?is there any way? link to doc: form Hope to hear from you soon. Thanks.
Hi,When I create a drop-down menu in a dialog box (list of the fields for example), the items are classified in the unicode character order.Is it possible to sort them in a customized order or indicate the position of the items?thanks in advance.@+
Hi,I have a problem. I wrote this java - script to autofill diffrent checkboxes from a selection in a Drop - Down - List, but it doesnt work. Can somebody help me pls? Thanks for helping! if (event.value == "Modul Ernährung und Gewichtsreduktion") {this.getField("Check 0").checkThisBox(0,true);this.getField("Check 4").checkThisBox(0,true);this.getField("Check 5").checkThisBox(0,true);this.getField("Check 7").checkThisBox(0,true);this.getField("Check 15").checkThisBox(0,true);}else {this.getField("Check 0").checkThisBox(0,fals);this.getField("Check 4").checkThisBox(0,fals);this.getField("Check 5").checkThisBox(0,fals);this.getField("Check 7").checkThisBox(0,fals);this.getField("Check 15").checkThisBox(0,fals);}if (event.value == "Modul Bewegung") {this.getField("Check 0").checkThisBox(0,true);this.getField("Check 4").checkThisBox(0,true);this.getField("Check 16").checkThisBox(0,true);this.getField("Check 81").checkThisBox(0,true);}else {this.getField("Check 0").checkThis
Hi, I have created a code to find whether a new line has been created in a multiline text field which is working well. Although what i really want to do is to count how many a new line has actually been input. For the life of me i cant quite figure it out. I am pretty good with javascript, but the calculation logic for counting the quantity of a specific thing in a field is a bit above my head. Any help would be appreciated. The example below is script that i have started building, but i cant get it to work. There are no errors in the JS console but the field i put this calculation in only says "undefined"var ENT = this.getField("multiline test").value.toString().search("\r")!=-1; for (var i=0; i < ENT; i++){ event.target.value = ENT.value; }
I am trying to set up a conditional statement that goes like this: If a customer selects 6 or more products from a list of all possible products, then they will be offered 10% off of their subtotal. I have a field set up to calculate the "Total Quantity" of products ordered and a field for the "Subtotal". I then have a field set up for what the discounted price shoud be, once the 10% is taken off - "Discounted Subtotal. I have tried with no success to set this up correctly. Any help/ideas would be greatly appreciated! Thanks!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.