Unlock the power of Acrobat SDK through our community.
Askettäinen
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
I'm trying to create a PDF file from an excel file and get error "Adobe PDF printer failed to create the PDF file." I have been using this tool for many years with no problem. I've tried this several times and get same error.
I am trying to find a formula that will extract from page 3 up to the last but two pages of a pdf. I then want to save the eo xtracted file and save it to a specific file on the C drive using the original file name with a prefix of INNER. All I have so far is the formula for extracting the pages -this.extractPages(2, this.numPages-3 );
How do I add the function for my form to self calculate cells? I have several that I want to add together but can't figure it out. When I'm in "prepare form" I right click on the cell and select properties, but there is not "calculate" option like I see in all the tutorials. Should I be in "prepare form" for this, or where should I go?Also, why don't I see all the tabs that I can see in the tutorials? I only have General, Appearance, Position and Options, but in the tutorial I see: General, Appearance, Position, Options, Actions, Format, Validate and Calculate.
We have fillable forms, I want to be able to add a row if the previous one is used. Is this possible with Acrobat or do I need Livecycle. Also, the forms need to be filled in on an Ipad.
I need to set/replace some values into a richText field, and I'm having a problem with the line endings.I am able to set the text, looping through the span objects, but I end up with a single paragraph, all of the line endings are gone.Even just setting the value to itself, without the code to do the text replacements, doesn't work:var spans = event.richValue;event.richValue = spans;orevent.richValue = event.richValue;I end up with the correct content, but all of the line endings are missing. And this is code that I modified from the javascript reference documentation. The code is in the Custom Format Script for the field.Can someone help me with an example of how to replace text (i.e replace '[NAME]' with 'John') in a richtext field and retain the line endings?
Hello,I have a document level javascript that is looking for character strings to determine a result.Why would it throw this error?function webaddress() { var one = this.getField("CompanyName"); var two = this.getField("WebAddress"); var three = this.getField("dealerCSZ"); var n = three.indexOf("MN,"); var n1 = three.indexOf("IN,"); var n2 = three.indexOf("OH,"); // evaluate address for proper name if (n.value>=1) { one.value='
Hi All,Right now, I am creating a quiz form where I have a start button.The user has to complete the form within 30 mins. if it exceeds more than 30 mins all the fields should automatically become readonly and the form should save and close.So, I need the proper timing functions for this form. Can anyone help me with this????.Thanks in advance.
Hi,Trying to create a preflight check, where named Spot colour has to hold certain values for CMYK (C=0 M=53 Y=100 K=0). Other than that should result in fail.So far I have this but it doesn't seem to work:Tried to use "Color values for fill" but it also doesn't work for me... Any ideas?
I'm trying figure out the scripting for a pet project I'm doing. I have five fields 4 are text and 1 is a drop down menu. I want to add 3 text fields together in the fourth field but I also want part of the calculation to be: if I select a certain thing from the drop down menu to add 10 any help would be awesome. I'm very new to this so take it easy lol.
Hello,I have written a plugin to search text from the PDF document using search plugin HFT functions.I can very well search the plain text without any special characters in it.But when search text contains special characters then It could not search the whole search text.Here is my code snippet:ASText searchKey = ASTextFromScriptText(searchText, kASEUnicodeScript);SearchQueryDataRec srcQuery;memset(&srcQuery, 0, sizeof (SearchQueryDataRec));srcQuery.size = sizeof(SearchQueryDataRec);srcQuery.query = searchKey;srcQuery.type = kSearchActiveDoc;srcQuery.match = kMatchAllWords;srcQuery.options = kWordOptionWholeWord | kSearchEveryWhere;srcQuery.scope = kSearchDocumentText;srcQuery.path = NULL;srcQuery.fs = NULL;srcQuery.maxDocs = 1;ASBool ret = SearchExecuteQueryEx(&srcQuery);ASTextDestroy(searchKey);For example:If I want to search the below highlighted text then It does not search.However I can very well search the below text:Please let me know where I am going wrong.Thanks.
I have an application that creates PDF documents with pages containing both a TIFF document and headers and footers rendered with vector text. Normally when you open a PDF and try to edit it, Acrobat DC Pro will automatically scan and OCR the current page so that you can copy from or edit the page. However, it refuses to do this on the PDFs generated by my application because of the vector text that exists on the pages. Is there a way to add the headers and footers in a way that will not prevent DC from auto-OCRing or is there a setting in DC that can change this behavior?
Hi, I am trying to create a Adobe Form which automatically add 36 hours to the previous date and time entered in the dd/mm/yy HH:MM format. I was wondering if there is any advice on how to do that on Adobe acrobat DC?
I am working with a VB .net application which actually saves selected PDF to PS and then using distiller it saves the PS file back to PDF which is "optimized" and smaller in size. Following is the code I am using [running in a loop for all files in a directory]: ''Kill Acrobat Process ''Kill Distiller Process Dim pdfFilePath As String = "E:/TestPDF/abcd.pdf" Dim convSplitedPage As Acrobat.AcroPDDoc = New Acrobat.AcroPDDoc convSplitedPage.Open(pdfFilePath) Dim Converter As New Object Converter = convSplitedPage.GetJSObjec
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.