Questions
Recently active
dear adobe support,i was wrote some JavaScript with AcrobatSDK used to create one button as an add-on tool, the function is run properly as is.but the problem is when I have to use the button, I should add the "add-on tools" button before we use the JS button.mean while the add-on tools looks like not stable, I've been tried open and close acrobat with more than 10 PC with many different PDF document, and my JavaScript "add-on tools" always unplug from acrobat toolbar after 5-9 attempts to open and close document for views the document.anyone can help to solve this problem or maybe adobe staff can solve this problem or any suggestion on it? (eg. calling JavaScript Object from C++) or something else.I'll keep looking forward on this issue until this problem is solved,thanks.
Hallo liebes Forum,zu dem Acrobat Preflight habe ich eine Frage an Euch: Gibt es eine Möglichkeit die Daten aus der Preflight-Übersicht als Textausgabe, PopUp auszugeben?D.h. ich benötige bei Preflight oder mit einem Javascript eine Prüfausgabe mit dem jeweilig enthaltenen OutputIntents einträgen, wie in der Anlage eingekreist.Ist das irgendwie möglich?Vielen Dank für AntwortenLG
Buenas, soy nuevo con Adobe DC y me ha sorprendido el hecho de que no funcione Ejecutar JavaScript en una casilla de verificación, con ninguno de los desecadenantes (ratón soltado, ratón pulsado, etc). Sí funciona con otras acciones, como ejecutar elemente de menú, etc.Pruebo a ejecutar códigos muy sencillos (como alert ("hola"); pero nada).Qué se me estará escapando? tengo que configurar alguna característica? o simplemente en la versión DC no deja ese tipo de acciones en casillas de verificación (javascritp sí me ha permitido en campos de texto).Muchas gracias, y disculpad mi ignorancia.
Is there a way to use JS to create a custom tool set? I've got all my buttons working and loaded using the user javascripts folder configured for Acrobat DC but I would like to take this a step further and group all those buttons under one tool set. I can easily create and group them in the interface and export the aaui file but was hoping for a single JS approach.I didn't see anything specifically in the SDK that discussed this in terms of JS.TIA
The TAB and SHIFT-TAB keyboard keys will jump to the next or previous highlight. I would like to add two buttons to the toolbar to do this. Opening the comment pane to click on comments takes up too much display space.What function can be used to perform what TAB and SHIFT+TAB are doing? I can't figure out how to jump to the next or previous highlight annotation in javascript, or how to get a button to emulate a TAB keypress.
DearI need your help, I have a large pdf file which contain invoice number, how can i split different invoices and rename it as invoice number?
I want to start off by saying that I am not a JavaScript writer... I know the code for printing page ranges, and even the code for printing this page only. But I can't seem to figure out what code to use so that once the button is selected, it will print current (this page) and next page together...?Any help would be greatly appreciated.
I have five checkmark boxes (1,2,3,4,5) and when any of the boxes are checked, I need that value of the checkbox to be added to a text box. Is there a script that can do this and separate the values with a comma?
Attached is a link to the photos of my invoice form. I have the following columns:Q=QTY.$=$DISC1=DISCT.SUB=SUBTOTALI would like the subtotal to accurately calculate from the corresponding row values. Essentially the calculation of (Q1*$1)-(DISC1/100) so that the discount column presents as 35% instead of .35 when I present it to clients. Then, how do I code SUBTOTAL as empty when the corresponding rows are empty.
Hello, I am making a dynamic form and I want the field "ScoringKey" to return a string based on a score that is calculated in the field next to it, "FinalScore". Is this possible? I cant seem to get the field "ScoringKey" to return a string no matter the parameters. Basically if final score is greater than 1.00 but less than 1.99 return “Unsatisfactory”If final score is greater than 2.00 but less than 2.99 return “Needs Improvement”If final score is greater than 3.00 but less than 3.99 return “Meets Expectations”If final score is greater than 4.00 but less than 4.99 return “Exceeds Expectations”If final score is equal to 5.00 than return “Outstanding”This is what I have for code:if (FinalScore < 2 && FinalScore > 0.99) text = "Unsatisfactory";if (FinalScore < 3 && FinalScore > 1.99) text = "Needs Improvement";if (FinalScore < 4 && FinalScore > 2.99) text = "Meets Expectations";if (FinalScore < 5 && FinalScore > 3.99) text =
I've seen this question asked several different ways and everyone has a different way of doing it which is great but has made it difficult for me to apply it to my form.I have several instances where a start and stop time are entered via a button in the HH:MM:ss tt format. I need to be able to calculate elapsed time in hours, minutes or seconds. The easiest way I figure is to standardize to seconds and have field calculations convert to whichever I need in that section.I found a document level script on the acrobatusers.com page that works great for converting to minutes but doesn't take into account seconds. So a difference of 5 minutes and 10 seconds would only show as 5 minutes.// document level functions for reusefunction Time2MinRE(cTime){// convert time string h:MM tt or HH:MM to minutesvar nMin = 0if ( /(\d{0,2})[:](\d{2})[ ]?([ap])/i.test(cTime) ) {// civilian timeif(RegExp.$1 != 12)nMin = 60 * RegExp.$1; // hour not 12nMin += Number(RegExp.$2); if (RegExp.$3 == "p")nMin += 12
I would like to develop a plugin for Acrobat DC using Acrobat DC SDK (using C++ and JavaScript). One of the requirement is that the plugin need to be able to createa WebBrowser control Window. Reviewing “Acrobat DC SDK Documentation”, I did not found any API ( JavaScript for Acrobat API Reference, Acrobat and PDF Library API Reference ) that I can use to create a WebBrowser control Window. Is there a way to achieve this?Thank you
I am not able to see my Android application in Share menu list while sharing pdf from Adobe 18.3 version application but below versions of Adobe app, I am able to see my app in Share menu.i placed the intentFilter in activity as follows [IntentFilter(new[] { Intent.ActionSend }, Categories = new[] { "android.intent.category.DEFAULT" }, DataMimeType = "application/pdf")]Do I need to change in my Android to make it work? any ideas?Please help me resolve the issueThank you,Babu
I'm not a professional programmer so I test my scripts constantly and I run into infinite loops once in a while...and I'd like to stop the execution.With XI pro I could just hit the Esc key and the action would stop, but with DC I have to kill the acrobat process. I looked at the options, but no luck. Is there a key combo that will work like Esc did with XI pro?
Hello thereI am working on a form and I currently have the following code:Right now, when I click the "Both" circle, it shows the name on one line. Is there any way to have it to where if they choose Debtor 1 or Debtor 2 - it displays as normal; however, when selecting both, it will stack?1) Select Debtor 1 - Sally Jane2) Select Debtor 2 - Bobby Jane3) Select Both - Sally Jane Bobby JaneAt the same time, I feel sure I will need to ensure my text box is bigger but then I'd have to have the alignment set to bottom and that way when stacked, the text will show up properly. Any help would be greatly appreciated.
I'm not sure if this would be the appropriate forum for this question so let me know if it's better to put it in another discussion board! My main concern is that this might be more easily done in Powershell, and I just don't want to go that route, I'd rather keep it contained within Acrobat so that If I'm not the person doing the paperwork then it's a bit less intimidating for less tech savvy folk who don't know what a terminal looks like.I'm wanting to create a script I can run that would allow me to enter in names of several files and have Adobe open them all up either one by one or all at once. Here's the situation:I have 6 folders, all of which have a dozen or more nested folders inside that are numbered, and tons of .PDFs inside those various child folders based on the .PDF name. These .PDFs have a naming convention according to which parent folder and child folder they're in, for example:In folder 1, all .pdf names begin with "ES-" followed by a number 1-99, or 100-199, or...in
I often scan in documents to Acrobat Pro, and then run OCR on them. I want to copy and paste excerpts into other documents. However, the results of the OCR are very poor -- for example it does not recognize the "fi" combination or other combinations that typically appear ligatured. Is there any way to improve the results other than manual correction after the cut and paste?
How do I write a custom calculation for:Text1 + Text2 + Text3 = Text20If sum is 0 then value is 0If sum is any number between 1 - 300 then value is 300If sum is >300 then value is sumHere is what is NOT working:if( Text20 <= 300 ) {event.value = 300; // value is 300 when sum is less than or equal to 300;} else {if ( Text20 == 0 ) {event.value == 0; // value is 0 when sum is equal to 0;} else {event.value = Text20; // else value is the sum;}}
hi,is there is a way to extract pdf content - words/quads, fonts, size and coordinates/character positionthank You
Hi,I am processing a collection of PDF files in which I execute a script for each 3D annotation found. However, some PDFs are secured and addScript method on Doc is throwing an exception : "NotAllowedError: Security settings prevent access to this property or method.".Is it possible to remove the security to be able to call addScript?The PDF file won't be saved at the end. Is there a way to open the PDF as a non-secured one, just the time to do the treatment?Thank you in advance.
Hallo zusammen,ab nächsten Monat setzt unser Unternehmen ELOprofessional ein.Um bearbeitete, ausgecheckte PDF-Dokumente wieder einchecken zu können, muss das Dokument vorher gespeichert werden.Eine Speicherung ist nur möglich, wenn der Geschützte Modus (Einstellungen -> Sicherheit (erweitert) -> Geschützten Modus aktivieren) deaktiviert ist.Ein "Speichern unter" wird von ELO nicht registriert und somit die Dateiherkunft nicht auf den neuen Pfad aktualisiert.Um keine Sicherheitsrisiken einzugehen, stellt sich die Frage, ob zufällig jemand selbiges Problem hatte und eine Lösung gefunden hat.Da die Frage doch relativ speziell ist und kaum einer damit zu tun haben dürfte, hier etwas genereller gefragt.Wie wichtig ist dieser Modus?Um diese Frage vielleicht selbst zu beantworten, unsere Mitarbeiter bekommen des Öfteren PDF Dokumente von Kreditoren und Debitoren. Nicht immer ist die Herkunft auf den ersten Blick für den Mitarbeiter erkennbar. Daher sollte der Modus eingeschaltet bleiben
I would like to add say the Media Box or Trim Box info to the document info metadata, such as title or subject.It is apparently very easy to add a static string to the document metadata, such as:this.info.subject = "My Text String"; // adds text string to the document subject metadataAs a newb to scripting, I am having problems adding a variable based off the required page box rather than a hard coded string of static text.This topic thread is a good example of what I would like to add to the metadata:Checking Trim size Quicklyfunction ThePageSize(){var aRect = this.getPageBox("Trim");var width = aRect[2] - aRect[0];var height = aRect[1] - aRect[3];app.alert("Trim: " + Math.round(width*0.3528) + " mm x " + Math.round(height*0.3528) + " mm");}Line 5 where it pulls in the bounding size and converts it to metric with some static text is what I would like to add to the metadata.I’m sure that I am missing something basic and I have not been able to find any examples to adapt. Can anybody pl
Hello,Is is there a way to insert a button to a PDF that would generate a random number (up to 10 numerical characters) but never repeat the same numbers for every time the button is clicked? Any help is appreciated.Thank you,Ed
Essentially, I want to count with letters, like Microsoft Excel does, instead of numbers. So instead of printing "We are at 0", "We are at 1", "We are at 2", etc., I need to print "We are at A", "We are at B", "We are at C", etc...
e.g. i have 52 text fieldsi write something on text1, text2, text3, text4... text30now i want to add somethings that I forgot on text 2 and move all values on text fields one text field downe.g text1 keeps its valuetext 2 its cleantext3 has the text2 value nowtext4 has the text3 value nowtext4 has the text4 value now....text31 has the text30 value now.this can be accomplished? also he same will happen where I want to add a clean line...
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.