Questions
Recently active
Hello,I need to get the PDF document view center co-ordinates using Acrobat core API.I developed a plugin where I need to place a dialog box in the center of PDF document.How can I achieve this?Thanks.
I'm using this script to generate a random number. It works fine but I would like to modify it to include a No, Cancel, Yes button. As you can see I figured out placing the "3" into the script gives me the three buttons. But, the random number still gets placed into the m12 field, regardless of what button is pressed. Can someone show me how to make the modification so I'll be able to have the choice as to what I want to do? Here's my existing script. case "ID Number": // custom funcitons to generate random integers and random strings;function RandomInt(nMax, nMin) {// generate a random integer between the nMin and nMax valuesif(typeof nMin == "undefined") nMin = 0;nMin = parseInt(nMin);nMax = parseInt(nMax);return Math.floor(Math.random() * (nMax - nMin)) + nMin;} // end RandomInt functionfunction RandomString(cValues, nLength) {// generate a random string of length nLength from string of cValues;nlength = parseI
i have a costume calculation set to a checkbox and if i change one of the fields it pulls the data from i have to uncheck and recheck the box for it to reflect the change.any way to create a refresh script and set it to a button or in the text filed so if it's changed it will refresh the script script is set on the button, as on mouse up run scriptscript does thisif box = yesadd Field A + B + 8print in filed Cif box = noadd Field A + B print in filed C
Example:1. Please Select each applicable option:Option 1Option 2Option 3Option 4Option 5Option 62 By holding the CTL key the user selects:Option 1Option 2Option 3Option 4Option 5Option 6Printed/Saved output appears as:Option 2, Option 4, Option 5.Can anyone give me the Adobe Javascript to make this happen?Thanks in advance!!!![Moved from the non-specific Coding Corner to a product-specific forum - moderator]
I've created a catalog in Adobe Acrobat XI Version 11.0.11 on a Windows 7 operating system that has a couple hundred items broken down in 20 pages. I would like the user to be able to click on the item they want to place it on an order form. In theory they would click on the item, it would bring up a window asking the quantity and the user can click a button that says Add to order. Once complete the user can see their order by clicking on the View Order button. Once confirmed they would be able to send the order to our company via email. Is this possible in Adobe? Is it something I would be able to do on my own or would you recommend I find a programmer who could help me?
Hallo,bei der angebotenen Funktion "Drucken" (in ebay) und drucken auf den Acrobat-Drucker wird die pdf-Datei ohne Fehlermeldung erzeugt.Leider ist das Ergebnis teilweise nicht lesbar:Woran kann es liegen? Verwende Acrobat 9 Standard (reicht für mich)."Lokale Schriften" schon ein- und ausgeschaltet, ohne Erfolg.Bitte um Hilfe Danke + Gruß - Harry
I've created a catalog in Adobe that has a couple hundred items broken down in 20 pages. I would like the user to be able to click on the item they want to place it on an order form. In theory they would click on the item, it would bring up a window asking the quantity and the user can click a button that says Add to order. Once complete the user can see their order by clicking on the View Order button. Once confirmed they would be able to send the order to our company via email. Is this possible in Adobe? Is it something I would be able to do on my own or would you recommend I find a programmer who could help me?
Hello - I am seeing some assistance with formatting an email message my code creates. Code works great btw. I am looking to format the phone number correctly and possibly change the font?Here is the code in question:// To email addressvar cToAddr = "user@email.org";// CC email addressvar cCCAddr = "";// Set the subject and body text for the email messagevar cSubLine = "New I Am HOPE Award Nomination";var cBody = "Attached is a new I am HOPE Award Nomination for " + this.getField("Nominee").value + ". " + "Should you have any questions please contact me at " + this.getField("YourPhone").value + " or " + this.getField("YourEmail").value + ".\n\n" + "Thank you" + ",\n\n" + this.getField("YourName").value// Send the entire PDF as a file attachment on an emailthis.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody});Here is the result of the code:Anyone know how I could get the phone number to reflect normal like (999) 555-3333? And is there a way for format the
I am looking for a training that can help me to interact with PDF fillable forms. These forms are created by Acrobat DC Professional, and we want to put these forms online, and let users fill the form and submit the form online, and we will then extract the fields data after the forms submitted, and do some kind of workflow behind scene.I have some basic experience in JavaScript, C#, etc.Would someone give some suggestions, and where can I find the training? Many thanks!
Hi,a simple API call to prefill a textfield is working perfectly in Acrobat Desktop and iOS, but not in Android. When the same API call is use inside a button event, it's also working in Android.How to reproduce:- Create a PDF with two textfields "Text1" and "Text2".- Insert document JavaScript:this.getField("Text1").value="Text1";this.getField("Text2").value="Text2";- Save document and open it in Acrobat Reader App for Android.=> The textfields are not filled with text as expected.Used version: 17.0 / Build 164574You also can download a testfile here: AndroidTest.pdf - Google Drive Thanks!Christian
I downloaded a form with fillable data fields and it took more than an hour to complete. After saving the file, when I reopen it, the data flashes in the form fields and then disappears. Where does it go? And, how do I get it back? What setting can I change to keep this from happening? I really don't want to have to re-type all that data again...I'm using Acrobat Pro 9 on a Win 7 pc...EDIT... I changed my reader to Acrobat DC and got the same result. The data flashes across the fields then disappears. I also e-mailed the form (completed) to another computer with the same result on opening.Thanks,Bob
How to display 3d pdf in my own@ application?Is there an ActiveX Control or other componments?
I am new to Javascript programming in adobe. I have a purchase req that needs to multiply the qty and the unit cost to get an extended cost. I know I can do this in a simple calculation, but I also want fields that are zero to return blank. the code I have so far is:event.value=(this.getField("QtyRow1").value * this.getfield("UnitCostRow1").value);If(event.value==0) event.value = "";neither stablemen is working. The first does not seem to calculate and the second give me the missing; before statement 2 error...any help you can give would be great.
Please help with (the script). Necessary to multiply the two cells. The first is the QTY (set by hand). The second cell is given a choice between four ranges (1 - 1 to 50; 2 - 51 999 3 - 1000 to 2499 4 - 2500 & up). The table looks like this: QTY Choice1 Choice2 Choice3 Choice4 Total Price!
In Acrobat X, is there a way to create a java script that would open up the print dialog and select black and white printing, and print the document? We have a color printer, and it is cheaper to print in B&W, and there is no color in the form being printed. We are currently changing it for this document every time we print it, we don't want to change the default because we do a lot of color as well. I'd like to assign the script to a button and add it to the form.If there is a different way to accomplish this, I am open to suggestions.Thanks in advance for any assistance.
Hi,I am trying to create an autofill date field on an Acrobat form that does not change once calculated, ie. the user opens the form and the date populates automatically, the user saves the form but on subsequent opening, the original date remains.So far I have successfully created a Javascript in Page Properties Actions to print the date on opening the form but I cannot find a way of prevent further changes. I have tried various scripts to do this but none worked for me.I also tried creating a field level calculation which worked fine in so much that it populated the field with the date as required but I couldn't clear the form before saving it for use. I found a debugging script to enable me to clear the field - great - but after saving and trying to use the form, the field remained blank. So I'm back to square one. I don't really mind if the field completes on opening the form or on a mouse click, as long as the date does not change if the form is reopened on
When I load copies in my HP Officejet Pro 8620 AiO ADF in an attempt to scan multiple pages, it only scans from the flatbed and makes no attempt to scan from the ADF. What is needed to correct this problem?? Please help
When I save a Powerpoint pptx to PDF using the Adobe DC plug in the content created with the Pen tool is missing.
I have two cells that need to be subtracted from each other.The first cell is Receipt Total ARow1.The second cell is the one that needs to be subtracted from the first cell, it is called LESS GST A BRow1.The third cell is where the total of this subtraction needs to show, it is called Net Expense A BRow1.Please tell me how to write this as a javascript and do I put it in Simplified field notation or in Custom calculation script.Thank you
Hi, I'm trying to convert this excel formula to javascript: =ROUND((0.007184*(E6)^0.725*(G6)^0.425),3-LEN(INT(0.007184*(E6)^0.725*(G6)^0.425)))where E6 is a pdf field named Ht G6 is a pdf field named Wtany help would be very much appreciated.
Hello,I am writing a C++ Acrobat plug-in and I am new to the Acrobat SDK.What my plug-in currently does: Recursively iterates through all bookmarks, starting at the root, and gets the title for each bookmark.My goal: Determine the page number associated with each bookmark (if there is one) and then re-order all the pages in the document according to the order of the bookmarks.My problem: After reading through the Acrobat SDK, I cannot find a way to determine the page number for a given bookmark. So far I have tried:// get the action for the current bookmarkPDAction bookmarkAction = PDBookmarkGetAction(aBookmark);// get the view destination for the current bookmark's actionPDViewDestination bookmarkViewDestination = PDActionGetDest(bookmarkAction);Am I headed down the right path? Does the PDViewDestination contain some other object that will give me the page number for this bookmark? Or at least let me determine if there is a page number for the bookmark?Or maybe I need to actually "go
I'm experiencing and issue in the sample project "ExternalWIndow".http://download.macromedia.com/pub/developer/acrobat/sdk/dc/sdkDC_v1_win.zip I've slightly modified the code in a way that I could have two documents open at once. But when i close one of the documents acrobat dc crashes.I added the following code to IACWndProc()if(openInExt){ASFileSys fileSystem = ASGetDefaultUnicodeFileSys();ASPathName pathName = ASFileSysCreatePathFromCString(ASGetDefaultUnicodeFileSys(), path);AVDocOpenFromFile(path, fileSystem, ASTextFromPDText("sometext"));openInExt = false;return DefWindowProc (hwnd, msg, wParam, lParam);}openInExt = true;I also commented out the WM_Close code so that the previously opened document would stay open but after closing the document opened via AVDocOpenFromFile all other documents close and DC crashes. This only happens with Acrobat DC and not Reader.What am i doing wrong?
Hi allI've created an interactive pdf that activates/shows different layers when you press the different buttons. The content works fine on the computer but doesn't work on either Apple or Android devices. When touching the screen it simply brings out the normal phone menu, or zooms in when double-tapping.Can somebody please let me know if it's possible to change this as everyone here uses Apple office phones (except me, I prefer Android) and sometimes they want to read this thing on their mobile device and I'd like to make it possible.Cheers all.
We have a webdav server.I can start Acrobat DC (or Acrobat Reader), go to File -> Open, and where it says "File Name:" I can enter the URL of a file on my webdav server, e.g. http://webdav.mycompany.com/docs/myfile.pdfIt opens perfectly, I can edit the file, and I CAN SAVE IT BACK TO THE SERVER - because this is webdav (something that apparently a lot of people don't know exists... see for example the final reply here: https://acrobatusers.com/forum/collaboration-commenting/open-pdf-file-http-url-through-command-line-option/ ) All well and good.The problem is that if I try to do the same thing by opening acrobat from the command line, with the URL as a parameter, like so:> acrord32 http://webdav.mycompany.com/docs/myfile.pdf or> acrord32 "http://webdav.mycompany.com/docs/myfile.pdf"I get:There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.Am I missing a command line argument or something?If not, doesn't that seem li
when OCR pdf page, only ocr partial images, not all. How do you OCR completely? I have a pdf page as example. Using Windows 7 pro, Acrobat 10 Pro
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.