Unlock the power of Acrobat SDK through our community.
Recently active
I am using the multi-column list view (mclv) in a JavaScript dialog to display some records. Before I display the records in the grid I sort them based on a sequence field in each object of the array that populates the grid. On Mac, Acrobat displays the records in the correct order (the order in which they are in the JavaScript array) but on Windows the most recently added object to the array always displays at the top of the grid. I even tried cloning the array by sorting it, stringifying it, then parsing it back into a new JSON array and the result is the same. I know that the multi-column list view ("grid") is an undocumented feature but I'm hoping there is a way to control the display order on Windows. Any suggestions?
I had a disc with Adobe 8 standard which was registered etc. I now have a new computer but have lost the disc. I have a serial no registered with Adobe. However the only Adobe 8 available for download is Adobe 8 Pro and when I put in my serial code I get a message code provided is invalid. What can I do?
I've tried to do this myself, but I'm missing something as it doesn't work! Could someone correct me please Basically, if the VatValue.3 field says 'Exempt', the aVATRate.3 field should say 0, but if the field shows a percentage value (eg 20%), them it should show the value divided by 100. if (this.getField("VatValue.3").value == "Exempt") {event.value = 0;}else {event.value = .value/ 100.0;}
I want to sort the data in the form fields. Fields are arranged in a simple table with 10 rows and the heading "Name" and "Price". I have the fields "name.0", "name.1", "name.3" ... "name.10". Then the fields "price.0", "price.1" ... "price.10".After filling the fields I want to click on the button "sort" and alphabetically sort the data by the first column.I use Adobe Acrobat Pro.
Hi, Can anyone point me in the direction of how to create PDFs which are non-editable programatically? I want to automatically generate a PDF which cannot be editable using a PDF tool. Everything I can see is based on using the security settings manually within the Acrobat tool, but I wanted to know if there is another option? Thanks.. M
Hi,I am trying to to save my document with JavaScript as PDF/X3 I tried the optional parameters for the saveAscurDoc.saveAs(outputpath, "com.callas.preflight.pdfx"); but it will not save it as X3.It there a way to go through the optimizer by script, change preferences .. Thanks for any help.Stefan
Is it possible to embed Acrobat "AcroExch.App" in an Excel Userform ?I do not want to use AcroPDF as there is no functionality to fill out form fields.
Hi,I would like to highlight a selected text in a certain colour via shortcut (that is to say, execute the command available in the context menu of a text selection programmatically (right click on selection > Highlight text)). I have used IAC with AutoHotkey before, but I am not sure which route to take... could somebody point me to an example for text annotation creation over a selected text?Thank you in advance for your help and suggestions.
Hi everybody, I have the feeling my problem should be simple to solve but I cant figure it out. I am very new to this .. so I might be absolutley on the wrong track. I have two PDF forms: A0.pdf and A1.pdf. The user should fill the template A0.pdf and if required afterwards also the additional template A1.pdf. As there are form fields containing the same information in both forms, I would like to transfer the mutual data from the A0.pdf to the A1.pdf . My idea was to use a button in the A0.pdf that if pressed opens an empty template of the A1.pdf and then fills in the data. Here is what I came up with so far as an example for one Name field: var v = this.getField("A0-Name1"); var myDoc = app.openDoc({cPath: "/C/UserData/user/Documents/A1-template.pdf", bHidden: false}); myDoc.getField("A1-Name1").value = v.value; The script works when I run it from the console. But when I trigger it trough the action of my button the following error is returned: &nb
Good morning everyone - i have a pdf form that has 12 fields - 5 are hidden - its a calculator of sorts. The user puts in their annual earnings, and based off of field3 - field4 is supposed to dive field3 by 12 and generate a number - but it's not working. i've tried this in the in the Simplified Field Notation area: Annual_Bill_Rev/12months the 12months is a hidden field with a default value of 12. If i can figure this out, i can probably figure out the other elements as well. so that i may get those other fields working. i need this by End of Day today so i suuuuuuure hope someone can shed some light on this for me. Pretty please?! Thank you in advance for any help you can provide.
Recently upgraded to new iMac and re-installed Adobe CC. Since then every high resolution pdf i view has a strange "ghosting" effect of trim marks etc which only shows when viewing overprint - they do not appear in the separations preview nor do they appear when printing.This appears on pdfs created by others and it does not affect anyone else in my group so is clearly a display error of some kind - any comments?
I'm trying to figure out a way to get the coordinates or location of when you as a user are using the pointer, you can select an area(represented by a blue box). I would want that blue box location and save it. Then I would like to be able to recreate that. So I could click a button and that select box would appear at that location again. In a way its similar to what the bookmark feature can do except that just uses zoom. The reason I need this is to add a feature to a ERP application I am creating. Customers send emails with pdf attachments. We quote them according to what they say in that pdf file. As a user, I want to be able to select a location in a pdf file, save it, and continue. That way when a product is shipped, for example, with the color purple, and the customer is upset because he didn't want purple, we could easily show the customer where exactly he/she said that in the pdf file. We wouldn't have to waist time looking through all the pdf files the user sent to find it.
Hi, I was hoping to get some help on the following topic: I have a fillable PDF form created in Adobe Acrobat XI Standard (also have a Pro version on another laptop) and I am trying find the most efficient way to insert a page with non-merged fields. I have a document that has one page that is sometimes repeated (depending on how many observations we find). At this time, one page with certain fields is created in a fillable form and when I try to add/insert the same page again, fields are merged and the same already filled text repeats itself. I can go in and change the name and numbering of each field, but I was wondering if there is a more efficient way? Either with coding or through a PDF Portfolio, which I have not used yet. Thank you.
Hello, I'm looking to create an if-if-then calculation in my Adobe Acrobat Pro DC. There are 3 total fields being utilized, A, B, and C, all with qualitative values (no numbers).A and B are both drop down menus, each with 3 options. Out of the 9 total combinations between Fields A and B, there will be a return for Field C. The goal is for me to have an Adobe Acrobat where C will dynamically change based on what's in A and B. Can anyone assist me in what the javascript code would look like based on what I need done?
I need a keystroke script to add a dash after the 3 first number if the user don’t enter one. I can’t use an Arbitrary Mask since I have a validation script to allow number between 7 and 11 digits only. Can we merge the validation with a keystroke? Or in a format script?
I want to change the text color in the text field to red according to the result, but I don't know how.In the following cases, I want to change the result of "! Over!" to Red color.I need your advice. Thank you. ==== var GetNextDAY = this.getField("Next-Birth-DAY").value;var NextDAY = new Date(GetNextDAY);var TODAY = new Date();var HowMany = (NextDAY - TODAY)/24/60/60/1000; if(TODAY > NextDAY){ event.value = ('!Over!');} else{event.value = (HowMany.toFixed()+'Days');}; ====
Is there a way to access/change the default properties for a markup annotation using Javascript? Since it is a dynamic toolbar and dialog based on the type of markup selected I can't find the properties or methods. A second question would be how to find the properties/methods for a dynamic toolbar or dialog. I have searched the documentation and can't seem to find it.Thank you so much for any assistance provided.
I think it's a very simple question,but I'm a beginner who has already spent two days on this issue. ①The date listed in the date field "Day_A"②Read it in the date field "Day_B", list it there, and③Write in a date field "Day_C". There is a little reason and I have to follow the above steps.I have to write these code only in "Day_B".Of course all of these are Date fields. Field "Day_A" and Field "Day_C" can not for use.Field “Day_A” → Field “Day_B” is easy.Field “Day_B” → Field “Day_C” I don’t know how to write the code to write to . ===★The field where the code is written is "Day_B". //Get date field DayA. //Revert to date object.var GetDayA = this.getField("Day_A").value;var DayA = new Date(GetDayA); //No need this code.. //var GetDayB = this.getField("Day_B").v
I’m able to create fields on everypages of a PDF using this: for (var nPage = 0; nPage < this.numPages ; nPage++) { var f = this.addField("myField", "text", nPage, [200, 600, 300, 660]); } or to a specific pages: //Page 2 var f = this.addField("myField", "text", 1, [200, 600, 300, 660]); or all pages except the first or the last.But now I need to add fields to a specific set of page ex: 2-4, 6. It will probably involve an array with a loop. But I’m lost.Any clue on how to create an array of pages numbers, and loop the process of creating fields on them? Or any tutorials (simple and clear) on how to create/use arrays and loops would be welcomed. Thanks!
English:Can you help me?A customer of ours has a problem with Adobe reader.Suppose the customer would use the Adobe reader for a week, so 7 days, it would fail 4 times if not more.What happens is that when he starts adobe and then opens a file and when he wants to send it by mail and when he fills in the correct email address.And when he clicks on send, it gets stuck every time.It looks like the screen is frozen. _____________________________________________________________________________________________________Nederlands:Kunt u mij helpen?Een klant van ons heeft een probleem met Adobe reader.Stel de klant zou een week van 7 dagen Adobe reader gebruiken dan zou het 4x uitvallen, als het niet meer is.Wat er dan gebeurt is dat als hij adobe opstart en dan een bestand opent en als hij dan via de mail wilt versturen en hierna vult hij de desbetreffende email adres in.Als hij dan op verzenden klikt dan loopt hij telkens vast.Het lijkt alsof het scherm bevroren is.
In this automatic culvert size calculator, I would like the correct culvert size to be automatically selected from the heading culvert sizes dropdown list and the checkbox array opposite the culvert discharge area: ie. in the image the checkbox opposite the 800 culvert should be selected and 800 should be selected from the drop-down list. In the image of the form, the Aavg field was calculated using the 'average' calculation function, however, I would prefer if the value was the mean of the values that are greater than 0 or null, so as an error isn't caused by a failure to enter a full six measurements.
I have a bunch of PDF that I need to add a long document javascript in them. I want to use an action to inject it to a bucnh of PDF.I have found this steps on StackOverflow (provided Joel Geraci):- - - - - Create a new Action Select "More Tools" Select "Execute JavaScript" The script your action runs will need to inject the JavaScript that you want the PDF to run as a string. You'll need to give it a name ("init" in this case) so it appears in the "Document JavaScripts" list. So it will look like this... this.addScript("init", "app.alert('Hello World');")- - - - -Works perfectly on a small code to inject. But I can't figure out how to us ethe same steps to includes a long multiline javascript. I have try a few things like defining a variable but it keep failing. How can I write a long multiline code to be injected using the: this.addScript("init", "[code here]")
I have a large PDF (320 pages) and need to extract and save individual pages as separate files. I search on a keyword in the file, locate the page(s) I need, and then extract these pages from the master document (without deleting). EVERY SINGLE time the 'BROWSE for FOLDER' dialog box forces me to scroll and expand my folder tree, for a total of SIX CLICKS (plus a lot of scrolling in a little tiny box) to reach the destination folder. I'm on Windows 10 and this was not my experience extracting pages in the previous versions of Acrobat. I have searched on how to set or change the default output folder and/or how to force Acrobat DC to 'see' that I just used a particular folder, and to present that recently accessed folder as the default destination after the first time I've extracted a page from a PDF. At the very least, I would expect the default output directory to be that of the document from which I'm extracting the pages (which it's not). I had hoped I could change the output f
I need assistance to write a script for my GST calculation based on the selection of radio button: GST Excl (radio button) is selected - 10% must be added over the subtotal GST Free )radio button is selected - no gst is calculated GST Incl (radio button ) is selected - subtotal must be divided by 11 (i am almost giving up my hopes as this may be too ambitious) . I have learned adobe all by myself but just stuck on this form for ages.
I built VBA code to run through a query list of PDF files, open the first file, add some watermark text, save it to a specific path and filename, THEN open each subsequent PDF from the query list sequentially and add watermark text, then insert the watermarked PDF copy into the first saved file. Everything works great when there are only 2-6 pages. I have query lists in the 300+ files (for 400+ pages). The code below fails with Run Time Error 91 at the GETJSObject line. The real head scratcher for me is that this error SEEMS to be speed/processor dependent in that it happens at different times on the same list. Sometimes failing at page 10, sometimes at page 284. Always at the GETJSOBject line (at least that's where the Access VBA shows it failing).Any suggestions??Code:Public Sub PDF_PRINT_HIDDEN(path, parent, TSO, setqty, itemno) Dim PDFApp As AcroApp Dim PDFDoc As AcroAVDoc Dim newPDFDoc As AcroAVDoc Dim PDDoc A
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.