Unlock the power of Acrobat SDK through our community.
Récent
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.
I have a web application on a server with Windows Server 2008 R2 and I’ll print a file pdf (on server-side).Printers are shared printers, physically connected to another server (Windows Server 2008 R2) The website have an Application Pool Identity and the virtual account (DomainName\NameComputer$) have full permissions on printers. ‘IIS APPPOOL\NameAP’ have full control on Acrobat Reader (AcroRd32.exe) Everyone group can print, manage printer and document on the shared network printer.Everyone group have full control on process AcroRd32.exeI use Process class with this code:ProcessStartInfo infoPrintPdf = new ProcessStartInfo();infoPrintPdf.FileName = pathPdf;string printerName = "\\namePC\namePrinter";infoPrintPdf.FileName = "...\AcroRd32.exe";infoPrintPdf.Arguments = string.Format("/t {0} \"{1}\"", pathPdf, printerName);infoPrintPdf.CreateNoWindow = true;infoPrintPdf.UseShellExecute = false;infoPrintPdf.WindowStyle = ProcessWindowStyle.Hidden;Process printPdf = new Process();p
so i created a checkbox which will hide fields when checked (mouse up)why dont the values come back when the box is unchecked? how do i do this?
Can anyone help with this error as I think it may be down to admin rights? Acrobat.exe - Application Error 0xc0000022
Hello everybody,I have attached a script that I would like to integrate into a PDF. The PDF has a textfield (called: input) to which I want to assign this script. Can anyone help me to embed this script? It works flawlessly via the browser. How can I use this script for websites in Acrobat? I have no experience with javascript in Acrobat, only a little using javascript in websites.Thank you very muchHere is my script I want to include:https://www.w3schools.com/howto/howto_js_autocomplete.asp
Hi -Does anyone know how to use VBA (in Microsoft Access) to create a single PDF file by combining a collection of different file types (.docx, .pdf, .pptx, .jpg, .xlsx, etc)? Basically I want to loop through a windows 7 directory and create a PDF file of everything in it. I can do it manually right now by just selecting them all and right-clicking to use the menu option, but it sure would be nice to automate.Thank you for any help -Dan
I have a license and have Adobe Acrobat DC installed on one computer. How do I install it on a second computer?
Not sure what I am doing wrong but the form is not showing the radio button value default of "No" and even if user clicks on "Yes" or "No," nothing happens (see below):The way it is supposed to work is that if the user clicks "Yes," the DocNumber will be included in the 1) Filename Preview and 2) Saved Filename. Here are excerpts of the code (I tried to paste the relevant code, see red text for specific concern)://Set Filename Preview <---This is #1 above function DoSetFileName(dialog, oDlg) { var oRslt = dialog.store(); var strFileName = ""; // Add Document Num if(oRslt["BegNum"]) <----Not working when user selects radio button with yes and I don't know
// Sets variables for the entire document and Automatically Populates certain variable based in inputs throughout the document.;// Assigns variables for populating the rest of the document;var ord = this.getField("Order").valueAsString;var bol = this.getField("BOL").valueAsString;var trac = this.getField("Tractor").valueAsString;var trail = this.getField("Trailer").valueAsString;var lead = this.getField("Lead").valueAsString;var lpay = this.getField("LPay").valueAsString;var team = this.getField("Team").valueAsString;var tpay = this.getField("TPay").valueAsString;var lead1 = this.getField("Lead1").valueAsString;var lpay1 = this.getField("LPay1").valueAsString;var team1 = this.getField("Team1").valueAsString;var tpay1 = this.getField("TPay1").valueAsString;var olec = this.getField("OLEC").valueAsString;var trail1 = this.getField("Trailer1").valueAsString;var refin = this.getField("Refinery").valueAsString;var unit = this.getField("Unit").valueAsString;var tmt = this.getField("TMT").valu
So I am not sure if this is the proper location for this, but it was the best I could find. I also searched the forums and could not find a good support answer. So I use Creative cloud at work, but I can not seem to download the extend script program. I had it installed and have been having no problem. All of a sudden I get random crashes from the extend script and Now I can no longer open it. I downloaded the only version I could find (3.5) and when I try to install it it tells me I am missing a file and to download a "Adobe Service Advisor" the two longer exists. any idea what I can do? also I am on Mac.
I know virtually nothing about coding, so please be gentle I have a list of items with checkboxes and I want to have a checkbox on one page in a PDF form get checked (turned on) when a user checks a box on the previous page. The checkbox on the first page is named "Redundant" and the checkbox on page 2 is named "Reach". I've tried to use code for what sounds like the same question, for example: if (this.getField("Redundant").value!="On") this.getField("Reach").value = "On";...but that didn't work, nor did others. Acrobat accepted that code (no errors), but when I tried to test it, the second checkbox didn't get checked. As I said, though, I'm not a coder and this is as close to a foreign language as it gets for me! I feel like this should be simple -- check a box on one page so another box gets checked on another. Please help! I'm using Acrobat Pro DC. Thanks thanks thanks!!
I need to combine the 1st page of multiple PDF files into 1 PDF file. Please advise if there is a script that can be run to do this
Possible? Not possible? I followed the tutorial here... https://acrobatusers.com/tutorials/how-to-build-a-button-that-creates-a-new-page I have read all the current discussions I can find on this... From what I understand—using a template and calling it with this simple little script var a = this.getTemplate("Add Page"); a.spawn(); should work in Reader DC. But its not. I get a JS error NotAllowedError: Security settings prevent access to this property or method. Template.spawn:2:Field Button4:Mouse Down
Is there a way to set up save as to make a copy of file before it changes it to read only so the user can still have a editable file. I am using Acrobat Pro XThanks M
Hi,I created a basic text field via Acrobat form to collect location info.Let's say that I guess some users will for sure type Chicago, NewYork, LosAngeles for sure, so I want to harvest -at least these inputs- in a "clear" format.So, I would like to know if it is possible to embed into a text field a property somehow which contains a list of let's say per-assumptions, and to offer the user who fills the form (via reader) some suggestions when entering the letters in the corresponding text field.
Hi,I've searched around, but I've found very little related to what I need, so forgive me if this has been answered before.I have a very old form+macro created in Word that has worked well up until now. Every time the document is opened, it fills a Serial field with a number stored in a separate .txt file, and adds 1 to the value. After it has done this, it prints the form through a printer driver that is set up to print from a specific drawer of our copier (heavy paper), to be filled out by hand.Due to increased patronage, I need to create a form that allows me to bulk print 10 to 20 copies with unique serials at a time.I'm ok with adding extra steps to the printing process, or selecting the printer driver manually each time, but I can't figure out how to have the serial iterate based on prints/copies. We already have Acrobat for other uses, and I love the designs possible through Adobe FormsCental, so I'd like to recreate this in Adobe if possible.I think I could butcher the Word fil
How can I deskew a page using Acrobat X Pro sdk
I have a list of taxable goods each with a price:VehiclePrice 10,000.00Delivery 90.00Prep 195.00 Freight 110.00 DocFees 210.00Total_Taxable_Items 10,605.00 I need Java PDFScript for sales tax at 6%. Is the one below correct? var v1 = Number(this.getField("TotalTaxableItems").valueAsString); event.value = (v1*.06); Next... if I wanted to allow for a variable Tax Rate percentage (different state taxes) would this script be correct? The objective would be to type in the Tax rate and have it calculate the correct amount.var v1 = Number(this.getField("TotalTaxableItems").valueAsString); var v2 = Number(this.getField("Tax_Rate").valueAsString); event.value = (v1*v2);
So I am working on spawing a page template when a button in my PDF is clicked, then destroying it when the page is left. The page template has a video embedded that gets lost each time I spawn the template. All of the other items on the page show up, (text and button) but the video gets stripped. What am I doing wrong here?Any help would be greatly appreciated!because someone is bound to ask. Windows 10, Acrobat Pro DC
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.