Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Forum,I'm looking for assistant building a script to determine if a bookmark is an even page.If true, insert a blank letter before it.If False, do nothing.Thank you for any leads, I'm using Acrobat Pro 11 on windows 7.
Im learning Javascript to help me with my pre-press automation. Can someone tell me how to run the Preflight "Convert to CMYK only (SWOP)" with javascript? Thank you.
Good morning,I have a form that I need the following:The user will enter the number of bike crashes per speedI would like the "Results" field to look at the "# Bike Crashes" and list the top three speeds in this format:Speed 20, 55 bikes crashes, Speed 30, 61 bike crashes and Speed 25, 33 bike crashes.What script can be used to perform this task?Thank you in advance for your help.
I can compile the BasicPlugin just fine.Now I'd like to add libraries, namely <vector>. But doing so will result in the error `fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.'. Commenting out line 707 in CorCalls.h seems to fix the problem, but I have no idea what this will break in turn. Is it not possible to include anything in Acrobat plugins or is there a way to fix this?[...]// Acrobat Headers.#ifndef MAC_PLATFORM#include "PIHeaders.h"#endif#include <vector>[...]
Good morning,I have a form that I need the following:The user will enter the number of bike crashes per speedI would like the "Results" field to look at the "# Bike Crashes" and list the top three speeds in this format:Speed 20, 55 bikes crashes, Speed 30 has 61 bike crashes and Speed 25 has 33 bike crashes.Thank you in advance for your help.
Hello,I have a 1 page PDF form which I have set to be a template. I have added in page numbers up in the top right of the header (page 1 of n). I have also added a button that when pressed will execute the following code:var t = this.getTemplate("Template");t.spawn(event.target.page + 1, true, false);The problem is when the button to duplicate the pages is pressed the page numbering remains "Page 1 of 1" on both of the pages.Is there some code I can add to the button that will tell the page numbering to update after I have added the button is pressed and the new page added?Cheers,Seb.
So here's the deal I need to write a javascript that displays a number in a text box based on which checkbox is checked so basically:Text box 1 must display a number from one of the following lines depending on which Checkbox is CheckedThe numbers are for reference only and would be whatever the user entered in that field.(Checkbox 1) 16(Checkbox 2) 21(Checkbox 3) 3(Checkbox 4) 7If there is a video or something that can be referenced I'm super new to this and appreciate the education
Hi,We have a program called BarCodePrinter2 that recently stopped working, in order to fix it we need to know where we originally got it. The program reads a specific folder for one PDF file, cut and pastes it to another folder, renames the PDF by cutting the original name down to 8 characters, and then prints out a barcode based on the newly named PDF. Does anyone know what program this is or have a similar program?Thanks
In acrobat can I make a droplet out of a JS script? Right now I run some js scripts in an action. But dont know how to make it a droplet. I can only make a droplet from preflight profiles.
Within the Acrobat Pro view of a portfolio PDF file, I'm able to right click in the file and select "Create Folder" to create folder hierarchies for organizing portfolio attachments.I'm using Acrobat PRO DC and Excel VBA to automate some interaction with these Portfolio PDF files. Using the Adobe JSO, is there a way to get a list of existing portfolio subfolders? Or to create new folders? I'm able to add an attachment to a folder within a portfolio file using something like:Call jso.importdataobject("<1>subfile.txt", "/F/Development/PermFile/subfile.txt")This will import "subfile.txt" into the first existing folder within the JSO's portfolio file. However, this code does not work if a folder does not already exist in the portfolio file. So I'd like to be able to list existing folders in order to determine the correct folder index on the fly. I'd also like to be able to create new folders/subfolders within the portfolio file.Existing folders don't see
Hello!If this has already been solved, I apologize but was unable to locate (maybe my search terms weren't correct).I have several very large PDF docs (11 thousand pages+) that are for a mailing. However, the customer did not sort the recipients before export (and after further investigation, they cannot figure out HOW to do such). The resulting file(s) have recipients with 3 pages, some with 4 and perhaps even some with 5 pages. These files will need to be printed, and then folded and inserted into envelopes by hand if I am unable to come up with a more automated way of sorting the variable page groups.I believe I have a way to place a bookmark at the "first page" of each recipient -- what I am looking for now is a way to either sort those bookmarks by their page counts (3, 4 or 5) or extract them by page count. The former is preferred as the later would make a metric ton of files.Any thoughts/ideas/help is appreciated!Message was edited by: Chad Wentzel
I'm trying to draw the annotations of a document without actually drawing the page being annotated. I know there are methods like PDPageDrawContentsToMemoryEx() which draw the page to memory, is there any way to ignore the page, and just draw annotations?
How do I assign a price to correspond with each individual choice? For example, if choice A is $1.00 and choice B is $2.00, I want the price to be reflected in a "Unit Price" column, based on which radial button they select. I've read a lot of the posts, but programming is very intimidating to me. Any help for a novice?
I have a 1,400 page pdf. I need to add a 1 page pdf to this document, but with this 1 page added every other page. So the question is, how can I do this with Acrobat Pro DC? I had found a JavaScript, but cannot figure out where to place it (and make it execute). Thank you in advance for your recommendations!
Hi,I am using Microsoft Mac 2011, saving as a pdf and than going to edit the pdf. This is the error message I get when doing this:Acrobat was unable to make this document accessible because of the following error:Knowledge source failed. <Gather Form Data> [3]Please note that some pages of this document may have been changed. Because of this failure, you are advised to not save these changes.
Hi,Trying to make my forms more dynamic. I am working on a summer camp registration form and there are some fields that are required to be completed based on the users selection of either Yes or No.Example, Are there any food allergies? Yes - make the field listing the food allergies required; No - move to the next questionI have other questions based on this condition too. Is there any way I can do this? Using Acrobat Pro DC. Please help - it's greatly appreciated!
Hello,I do not have the JavaScript extension in my Adobe so I have been getting around that by using the 'Custom calculation script' calculation on text fields. I got stuck recently and could use some help.I wrote the script below for a document I am working on. I needed the selection from drop down menu ("A") to auto-populate text into text field ("Text1"). I used this calculation in the ("Text1") field. Each drop down selection has it's own body of text, the script works but I am stuck because now I want the script to highlight and italicize certain words/phrases in each of the auto-populated answers.var choice = this.getField("A").value;{if (choice=="COMPANY COVERED")event.value = ("Company is willing to cover $XXXXXX");else if (choice=="NO CONTRIBUTION")event.value = ("Company is willing to contribute $XXXXXX, to assist with this cost, leaving a balance of $XXXXXX. This balance will need to be paid directly to Company or an approved contractor. You agree that you will be resp
I am quite new to using the acrobat SDK, so I am wondering what might be the solution here. I have a website and a database that tracks the status of individual published documents, and things obviously change over time and they were made legacy. Is it possible that I dynamically add a watermark with some text saying "Legacy" or something along those lines by dynamically manipulating the file on a client side script based on say, a js array query pulled from the db?
Hi thereHoping that someone cleverer than I might be able to help me out!I’m designing a form for a client who has issues with users ‘writing over’ previously completed forms to save them time, but this is causing input errors because they dont check all the fields properly.To help combat this, I’ve suggested using a Submit Button which once clicked, makes all the user input fields Read Only, before it submits the form via email. This way, users can still save the completed form for their records, but will need to refer back to a blank template to produce a new form for submission.I’ve got this working nicely using the following script as a Mouse Up event:this.getField(“il”).readonly = true ;However, the problem is that form has some mandatory fields which the Submit function obviously validates before it attaches to email, which is great, but if a user misses a mandatory field they can’t go back and correct it because the fields have now become read only!Changing the order of scripts
Hi,I see there are some posts from a year ago where you write that it is not possible to automte PDF compare.I think this would be a very appriciated option so I wonder if there are any updates regarding this topic?Is there any way to automate the compare? maybe by starting the Reader from CMD with some input parameters?
Hi all,Need some help from someone who knows their stuff...I've got a Interactive PDF that has a script set to a button where it locks certain fields, unless you know the password to make all fields editable. It's the same script that's on this help forum elsewhere. I need to take it a step further however, but I don't know how. I get the general gist of what I need to do, just don't know how to execute it.My problem is my button has two states; a 'Locked' (red) state and 'Unlocked' (green) state. I need to know how to sync up the code so that if you click the button to unlock, then cancel the password prompt, that the button doesn't continue to switch to the 'unlock' state with it still being locked.For example;the button is currently red (locked)you click the button to unlock, and the password prompt box comes upyou cancel that promptthe button then switches to show the green (unlocked) state, even though it is still locked. Is there a way to edit the script (below) so that it always
i have a pdf file which appears to be text in layers and i am trying to highlight various figures in the spreadsheets with the yellow marker pen - unfortunately the document has a 'duplicate' watermark and whenever i try to highlight the text i need it always selects the watermark which seems to be on the top layer - is there a way to ignore this if not can i convert the contents of the page to an image which i can then highlight easily? TIA
Hi GuysI have created a form with 20 check boxes each check box is named vital signs 1-20 what I have managed to do is add up all the check boxes and display the answer as a percentage using the following:var total = 0;for (var i=1; i<=20; i++) {if (this.getField("vital signs "+i).value!="Off") total++;}event.value = total/20;my problem is that if 2 particular check boxes (Vital signs 3 & Vital signs 6) if either is not ticked then the percentage total needs to be 0% but if they are both ticked then the true percentage for all 20 check boxes needs to be displayedalso if the percentage is less then 80% the total box needs to be redplease can anyone help
var x = this.getField("p2").value;var y = this.getField("p3").value;if (p2 < p3) { event.value = "p1 / p2";}else { event.value = (p1 / p3).toFixed(2);;}
Hey Everyone,I have a pdf form that's secured (with a password) from unwanted editing (or possibly some light protection against people stealing the forms' scripts etc.)However, I'd like to have a script remove certain empty pages when printing the pdf.I got the script working as desired however when the editing password isn't entered the script gets a 'no rights' error when it tries to remove the empty page as instructed.My question is this:Is there a way to certify this on-print script so that it can remove the empty pages?Thank you in advance for any trouble to be taken.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.