Unlock the power of Acrobat SDK through our community.
Recently active
Here is the code to print the document in mutliple copies sliently./* SilentPrint */var pp = this.getPrintParams();pp.NumCopies = global.numberOfCopies;pp.interactive = pp.constants.interactionLevel.silent;this.print(pp);////////////////////////////////////////////////////////////////////////////////////////////////Here is the code for me to put in the number of copies.app.addMenuItem({ cName: "Set Batch Printing Copies", cParent: "File", cExec: "AskForPrintingCount();", nPos: 0 });if (typeof global.numberOfCopies === 'undefined'){global.numberOfCopies = 1;global.setPersistent("numberOfCopies", true);}function AskForPrintingCount(){var response = parseInt(app.response("Number of copies to be printed", "Printing Count Setting", global.numberOfCopies));if (!isNaN(response)){if (response >= 1) {if (response >= 500){var largeAmountPrintingConfirmation = app.response("You are going to print " + response + " copies, Are you sure? (Y/N)" , "Confirmation", "N");if (largeAmountPrinti
Hello, Please help. I am looking for a script that can associate a checkbox and a text field formated to display the current time (hhmm 2400 hours format). When a check box is clicked the text box should display the current time as read only. This is for QA and making sure certain tasks are completed within a certain time frame. Is there a code I can use for this? I really appreciate any help you can provideThank you !
I would like to import form data on the server, then download filled form to web app. Assumptions:1. The PDF file is stored on the server2. The PDF file has form fillable fields3. The PDK file is filled using data from SQL DB on the server4. The PDF file is accessed on server using RESTful API endpoint Workflow:1. The user taps a button to download PDF file in a web app2. API endpoint receives HTTP request to download file3. API retrieves PDF file from server file system4. API retreives data to import from SQL DB5. API imports data into PDF file6. API responds to HTTP request with PDF file and filled data7. The user receives PDF file and then opens or saves to local file system Thanks for your help, mark-g
In the program for the selected fragment, I create an annotation,I set the color of the annotation using the PDAnnotSetColor method.The fragment is painted in the desired color. Next, I need to look at all the annotations created on the page and determine their color. I wrote this code:int numAnnots = PDPageGetNumAnnots(pdPage); for (int i = 0; i < numAnnots; i++) { PDAnnot pdAnnot = PDPageGetAnnot(pdPage, i); if (PDAnnotGetSubtype(pdAnnot) == ASAtomFromString("Highlight")) { PDColorValue pdColorValue; if (PDAnnotGetColor(pdAnnot, pdColorValue)) { if (pdColorValue->space == PDDeviceRGB) { ASFixed red = pdColorValue->value[0]; ASFixed green = pdColorValue->value[1]; ASFixed blue = pdColorValue->value[2]; double value1 = ASFixedToFloat(red); double value2 = ASFixedToFloat(green); double value3 = ASFixedToFloat(blue); } } } }but an exception is thrown in the statement if (PDAnnotGetColor (pdAnnot, pdColorValue)). Where am I wrong
Hello, I am hoping to get some suggestions for the following: Example: I have a ListBox with multiple selections enabled. Let's say the values are ITEM1, ITEM2, ITEM3, ITEM4. Now say I have 4 CheckBoxes (Labelled: ONE, TWO, THREE, FOUR) that will be checked depending on which ListBox items are selected. So if the user selects ITEM2 and ITEM4 from the ListBox, the respective CheckBoxes TWO and FOUR will be checked. Any idea on how to accomplish this? I am sorry if this is a novice question however I am not the most advanced user. Thank youLouis
When using a link to a PDF in SharePoint I can not check out and it downloads to my local folder. How can we make so when the workflow link is clicked we get the option to check out, edit and save back to SharePoint? Our IT Guys have changed SharePoint config so when we open any PDF in SharePoint it give us the option to check out, but this does not work for links to PDFs. We have both Adobe Acrobat Reader an Adobe Acrobat Pro DC with the same result. I've read many threads about this with little clear solutions. Any help is greatly appreciated! Thanks.
I am developing a C++ Acrobat plugin responsible for opening of secured PDFs from secured on disk location. To provide good user expierience I would like to add / remove the secured PDF file entries from the recent file list. I am unable to find any C++ Acrobat SDK API which will allow to get and update the list of recent file list. Is there any such APIs which I can use? or any other ideas about how I can provide this functionality?Any leads will help. Thanks in advance.
I'd like to have a checkbox field named Multipstep, when selected, to trigger the default notification popup with a message I've configured. I don't see this as an available option in Actions, so I assume it requires JavaScript. Anyone know how I'd code this?
Hi all,based on the selection that the user has to make in a combo box I want a value to be written into another field, I tried the following code but it does not work:----var Land = this.getField("combo1").value; if (Land == "Afghanistan") {event.value = 20;}if (Land == "Ägypten"){event.value = 28;}if (Land == "Äthiopien"){event.value = 26;}----Any hints why? Kind regards Matthias
Hello,I've been surfing the web for this one for a while. I'm using Adobe acrobat standard 2017 and I'm creating a form in which I have multiple different sections. I wish to add a button which would trigger the duplication of a section (with its fields). This button would be named "Add new objective". Note : the action button would be different then "create a new page". I'm guessing its a Javascript command. Anybody have any experience regarding this type of command? Thanks!
Hi Team,I have came across Js method like addSubMenu, addMenuItem, but these all are meant for sublevel menu. I want to create a Top level or custom Parent Menu similar to File,Edit,View,Windows,Help. Please suggest how to accomplish this. Thanks in Advance,Amit
Hi all, I currently have a working script that saves the PDF to a fixed location depending on the user input. Everything seems to work, however, if the user adds some digital stamps to the PDF before running the script, the file size increases (the stamps are less than 1mb, but the file becomes > 10mb) and each time they run the script, it will increase the file size two folds (Double) Is there any way to fix this or is there a way to run the optimize PDF or a regular "save as" that doesn't save the overhead from scripting?
After spending an hour on hold and 1.5 hours with a chat rep, he was of NO help. I have a custom sticker and if I rename the document, I want the sticker to pull in the name of the document with NUMBERS. So if the doc is named 1, the sticker will pull in the 1. it does not work. it is the Only field that doesn't work! Someone Puh.leeeeeeze help me ASAP! Thank you! Here is the javascript that is "supposed" to work but doesn't. Keep in mind this stamp works on WINDOWS and Adobe says on their own website that stamping works on both platforms...Here is the script: event.value = event.source.source.documentFileName;
Dear Adobe I require assistance on a script to calculate a new time of a field. This is a navigation form that requires the user to insert a departure time in minutes, then add more time to that in aseparate field and show the result in the next field. i.e. Departing at 10:00 (field1) Time to next waypoint = 78 miutes Passing next waypoint = 11:18 (field3) I need to calculate field3 and display like that, preferably with AM/PM if possible. Any advice would be appreciated, thanks.
Does anyone have a code example where I can go page by Page, Search for (Or identify a text selection always in same place) and replace with another word. I have 60-200 Page docuemnts with header that say "Product Selection" always in same place I need to replace page by page with different new text strings
Hello all. I am trying to figure out if there is a way to attach all the files in a particular folder using javascript on the Windows platform. My place of work was always paper driven but with the recent events we have transitioned to an almost fully electronic process. I have already utilized some custom dialogs and dynamic stamps in my workflow (Many thanks to @110714_Parker and @try67. I don't know how many times where I was stuck and it was one of your comment threads which got me back on track . You guys are a great resource.) which I have used to automate a lot of our processes before this pandemic and now the rest of the office is following suit. My use case is as follows.The Todays work folder is my virtual desk. I keep all my current project files in here. When I am done I have to attach everything to the main PDF file. The issue is that I do not know what the attached files names will be ahead of time. They change with every project. Right now I just d
My client wants to know if we can write a calculation script in a table of From/To boxes to pre-fill the boxes based on whatever is in the "Date of Injury" field (titled injury_field). I believe the last "TO DATE" is the Monday prior to the Date of Injury. And then all the other dates work backward from there. (So each from/to dates need to be Mon-Sun) Example: The injury_date is 04/15/2020. The Monday prior to that date is 04/13/2020 and I want that to auto-populate in the "to date" box once we fill in the injury_date.
I am creating a set of sequential actions to perform on my PDFs. Things like:1. Adding a Watermark2. Optimizing PDF to reduce the resolution of the images3. Flattening the file4. Securing with a pwd to prohibit editing5. Sanitizingetc... While all other actions work just fine, the optimize PDF doesnt seem to work. Does anybody know how to reduce the resolution to a specific ppi value for all the images in the PDF? If I go to "File/Save as other/Optimized PDF/" it lets me choose the downsample rates etc. Is there a way to add this procedure to an action? I want to be able to click on one button and run all (above mentioned) actions together for any given PDF. While all other actions worked fine, I couldnt figure out a way to downsample the images automatically. Appreciate your help
I'd like a dropdown field's selection to trigger a read-only text field to appear below it. That text field may need to be multi-line content. Can anyone share how do I do this with JavaScript applied to that dropdown field?
Hello Community.I have created the attached form. Here you can spawn additional pages using the three grey buttons at the bottom of the first page. There are three hidden templates.Spawning an new page with one of the three grey buttons, takes too long time until the page is available.Second problem is, that the page number is not displayed correctly. Third problem is, that switching language does not work on the spawned pages.Editing the form in acrobat, with all templates are visible, problem 2 and 3 are working correctly.Can someone help me?Thanks ind advance.
Dear Adobe Team, I was downloading latest version of Acrobat Reader and I am looking for EULA for the latest version. Is there any change in EULA, How can I get the EULA for latest version.I clicked on the License Terms and Aggrement and it's showing Page not found.Please refer this link for your perusal. I am also attaching Screenshot for you perusal as well.https://wwwimages2.adobe.com/www.adobe.com/content/dam/acom/en/legal/licenses-terms/pdf/PlatformClients_PC_WWEULA-pt_BR-20150407_1357.pdf
What is the best external editor for editing JavaScript in Acrobat DC forms?Free is good for me who is poor man. Thank you for your advice.
I'm creating a fillable form for a customer who is trying to track "eligible" days in a given month. This is hospital related information, so the client wants to be able to have a field where they enter a date, example 04/02/2020 (date of admission) and then have a field at the bottom that automatically calculates the number of days left in the month (eligible days), as those admitted to this facility will receive this particular coverage until the end of the month. The date of admission also counts as an eligible date. I've tried a few codes, but everything that I know to do requires you to enter an "end date" so to speak and then calculates the days between. Is there something that will allow the field to pick up the month that's entered into the admission date field and then calculate the number of days left for that particular month...similar to how Excel works? The only other thing I know to do is to create an extra field so the last day of the month can be entered and then
Hi Everyone, I have a field that asks the user for a full address to be typed in. I'd like to add a button that, when clicked, launches the default browser and performs a Google Maps search of that address. Or, at the very least, a Google search of that address. Is there a relatively easy script that can be applied to that button?
Hi,is there any way to lock the stamp by default when it is placed using java script or any other mechanism . Now what we are trying to achieve is that need to lock the stamp.
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.