Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Liebe Leser,wo bitte finde ich die aktuellen DDE-Kommandos für Adobe Acrobat?
Created pdf from InDesign and imported graphics and text has hyperlinks. These are interactive in the pdf BUT do not show up as links so I can edit.
I am looking for information on how to mirror text in Acrobat XI Pro. I can mirror an image but not text. I can also flip text horizontally and vertically but I cannot get the TEXT to mirror. Is that still an option in Acrobat XI. I need this for our prepress department. We plate the text on the left and then mirror it on the right so our press can print both sides at the same time. I have had to resort to using an old copy of Acrobat 8 on an old machine and then copying that pdf to the machine I am using now in order to accomplish this task. I have been looking for an answer for a while and can only find information on mirroring an object or image. I hope someone can help.
Hi,I'm trying to setup a button to turn off 9 layers on an interactive pdf form.8 out of 9 of the layers turn off no problem but the 1 layer remains turned on. Really not sure why this is happening. Double checked obvious things like layer names but to no avail. The WR1 layer will not turn off when I click the reset button.Could anyone please help me with this 'simple' task as I am not particularly advanced with Javascript.PDF form attached here https://we.tl/t-gS6R4unxWlThanks in advance.var layer = this.getOCGs();for(var i=0; i<layer.length; i++){if(event.target.value=="Yes"){if(layer.name=="WR1"){layer.state=false};}{if(layer.name=="CL1"){layer.state=false};}{if(layer.name=="NC1"){layer.state=false};}{if(layer.name=="WR2"){layer.state=false};}{if(layer.name=="CL2"){layer.state=false};}{if(layer.name=="NC2"){layer.state=false};}{if(layer.name=="WR3"){layer.state=false};}{if(layer.name=="CL3"){layer.state=false};}{if(layer.name=="NC3"){layer.state=false};}}Message was edited by: Ro
Ok so I have a situation where I have Check boxes and text boxes that are related and need to populate together to a single text box BUT I have another set of check boxes and text boxes that are related that ALSO need to populate together to the SAME single text box mentioned previously. So here are the separate java scripts for each set of data that I want to put into the same single text box. How do I join the scripts together? or is it possible?Script 1:var values = []; for (var i=280; i<=281; i++) { var fname = "CheckBox "+i; var f = this.getField(fname); if (f==null) { console.println("Error! Can't find: " + fname); continue; } if (f.valueAsString!="Off") values.push(f.valueAsString); }if (this.getField("SLS EO").valueAsString!="") values.push("SLS EO: " + this.getField("SLS EO").valueAsString)
When populating a "list_box" from an already (case insensitive) sorted json object, the results display in the list box as being sorted with case sensitivity in mind. Does Acrobat apply its own (case sensitive) sorting logic to this/all element types?
I am creating a fillable form for our employees to request vacation time off. I have pieced together calculations scripts from various forums but can not get the result I want. Say an employee wants to take 01/04/19 off. They would enter a start date/time of 01/04/19 8:00 am and end date/time of 01/04/19 5:00 pm. I want the form to calculate the difference in hours. Now the trick is that if they take more than 4 hours (leave after 12 noon) the deduction needs to deduct an hour from the result, to account for the lunch hour so that employee is only charged 8 hours of vacation rather than 9. Here is the script I have pieced together, please advise:function Date2Num(cFormat, cString) {// convert cString with cFormat to number of minutes from Epoch date// convert to date time objectvar oDate = util.scand(cFormat, cString);// convert date time object to minutesreturn Math.floor(oDate.getTime() / (1000 * 60));} // end Date2Num function// format for input date &a
Generate a pdf using acrobat sdk javascript which does the following things: - It should contain a form with two input fields alpha and beta. - The form has a submit button. - I want to **submit** this form (click the submit button) **on document load** (trigger of the button) of the pdf **without** any prompts or user interaction. - This should submit the form data to a remote url.The biggest challenge I am facing is:I am unable to find a way to click a button on load of the document without any user interactionAction: Click a button(Can't find the button in the doc let's say using button id or button name)Trigger: On document loadAny help/ideas are appreciated, thanks!
Can anyone help me?Thanks.
Everytime colleagues (who didn't make the PDF) want to insert a picture, it changes sideways. I made a button using JavaScript:event.target.buttonImportIcon();They need to use pictures received by email. What can I change in the settings (or what do I tell my colleagues) to make the pictures stand up straight?Thank you!
A Java Script Checkbox that makes a field visible or hidden based on the condition is not functioning properly. When first opening the form, the box does nothing. If I click on "Prepare Form" tool and immediately close, the button works as it should. If Adobe is closed and the form is reopened, the checkbox stops working again.var nHide = event.target.isBoxChecked(0)?display.visible:display.hidden; this.getField("Flex Line Type").display = nHide;
I am trying to auto populate pdf forms from excel (like mailmerge in word). I have multiple rows in excel and when I import data from the excel sheet, i would like each row to be created as a separate form in Adobe. I consulted with Adobe support and googled. It sounded like I needed a javascript and a custom action. Could someone help me with the script and guidnace on how to implement this in Adobe?
Hello, We create lots of site layouts in PDF and would like to have the pdf open on other peoples computers/mobiles with the measure tool function ready as standard. Currently we have to go through the motions of explaining how to do it and surprise surprise, most folk still can't seem to do it. Maybe because it involves doing something other than it just being there ready for them.Our PDF's are created through AutoCAD and placed in a sharepoint folder for the individual sites use. Is there an ability to add a script to the generated PDF that will open up the measure tool at the same time as the PDF?Thank you in advance.Chris
I am using Adobe 9.0 and am creating a form. The first field in the form is a Como Box with the following optionsSelect OneNew RequestChange RequestI want to force the user to select either New Request or Change Request, how would I go about doing this?
Good evening, I am trying to create a way to export, and import PDF's data with java script. Here is what I have so far in terms of code:this.extractPages({ nStart: this.numPages-1, cPath: 'C:\Users\dell\Documents\Adobe REC complete' + this.documentFileName});this.closeDoc(false);It will delete the pages but not export the data to the specified folder. The java script runs after deleting all-but-one page, so perhaps my 'this.numpages' is wrong
I am trying to open and edit pdf files using Ms Excel VBA. But unable to 'initialize the Acrobat interface. The Error is: VBA: Acrobat Run time error 429; ActiveX component can't create objectI tried to find VBA reference Acrobat.dll but failed. Some body tell me how to CreateObject("Acroexch.app") without installing adobe acrobat pro?Shall be grateful for any solution.Kimwoo4
Hello all,I would like to write Javascript or VBA code to Make pdf self destructive after specific time (5 mins), when pdf is sent via mail to specific persons.After 5 mins pdf page should become blank , no contents should not be displayed.is this possible if possible could anyone please give suggestions how to proceed.Thanks and Regards,Yogesh
Hello,We are developing check printing software for Quickbooks. Lots of customers are asking can they save the pdf and change the value by their own.Currently, we are using browser-based pdf generation tools. I mean chrome is converting HTML into pdf. But we are struggling to generate pdf from our mobile application.Is there any api available that our convert our html generate code into pdf using Adobe api with MICR font support. We have already bought MICR font.our website is :https://onlinecheckwriter.comYou can log in into our website and check out how we generate check using browser base pdf generation tools.[Moved to the development forum... Mod]
I am running the code below to open every popup note with non-empty content. I would additionally like to reset the popup note location of each note as I open it, so that it does not overlap the content of the PDF but is off to the side in the margin. How can I do this? Thanks in advance.My code:this.syncAnnotScan();annots = this.getAnnots({nSortBy: ANSB_Page});if (annots) {for (var i=1; i < annots.length; i++) {if (annots.contents != "")annots.popupOpen = true}}
how could I use acrobat SDK plug-ins add image,thanks
In Adobe DC...how do I format a time field so the user can enter a 3 or 4 digit number w/o a colon (such as military time) and get a standard time format that has a colon and the am/pm? For example: User enters User gets 0730 7:30 am 1516 3:16 pm 0000 12:00 am
I have 31 text boxes, one for each day of the month. In each text box there are 5 or 6 different entries, such as P, T, AB, AT. I want to create a field to total the P's and T's but not the AB's and AT's. How do I do that?
Ok so I have a situation where I have Checkboxes and textboxes that are related and need to populate together to a single textbox BUT I have another set of checkboxes and textboxes that are related that ALSO need to populate together to the SAME single textbox mentioned previously. So here are the separate java scripts for each set of data that I want to put into the same single text box. How do I join the scripts together? or is it possible?Script 1:var values = []; for (var i=280; i<=281; i++) { var fname = "CheckBox "+i; var f = this.getField(fname); if (f==null) { console.println("Error! Can't find: " + fname); continue; } if (f.valueAsString!="Off") values.push(f.valueAsString); }if (this.getField("SLS EO").valueAsString!="") values.push("SL
I'd like to run a script dynamically at every page, without executing a menu item or running the console at every page change, and not manually as described in this tutorialhttps://acrobatusers.com/tutorials/entering-page-actionsI've tried at the folder-level and document-level scriptif (event.type === 'Page' && event.name === 'Open') { app.alert('test')}Nothing happened when pages changed.
Dear All,I have 4 text fields with number values, where I would like validate the MIN value without zero. Which means that the validation script should ignore zero value(s) and only validate the min value among values, which are (x) > 0. Any idea for a Javascript? Thanks in advance?Best regards,Angela.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.