Questions
Recently active
I'm using the "document will print" action to generate a date & time when the document gets printed. What I'm trying to do after wards using the "document did print" action is return the date & time fields back to an empty state so I don't have to save when closing the PDF.I was heading n this direction...I was just trying to get the date to disappear after printing which I did by placing the following in the "document did print" action boxthis.getField("Time").value = ""this.getField("Date").value = ""BUT i still get the prompt to save the file afterwards...I guess there's no way around this without disabling the save prompt?
Greetings,I am working with a client on a fairly long form for manufacturing process validation. It's 115 pages and has nearly 4,000 user editable fields.They want to be able to verify when each field has been entered by users. While we can certainly use signatures to confirm that fields were filled in before the signature, the order in which fields are completed and the time between field completion matters to them from a process management standpoint.My (perhaps simple) question is this: does Acrobat track the time when a field's content was last updated? If it does, does it also track the user name? Since it knows what's been changed since a signature was applied I'm hopeful that it's tracking that information internally and I can access it programmatically.If not, has anyone ever used Javascript on the fields to try and accomplish the same thing?Thanks!
I have some PDF files and would like to split them into different pdfs as per the TOC given in the file. Using JavaScript, would like to create an action which can read TOC from the pages it is available upto and then split the files as per the TOC.I am new to JS on acrobat. Any help would be appreciated!!Thanks,
I have a licence product of adobe acrobat installed in my pc. I want to use the feature 'save pdf as docx' from windows/linux command line. Is there any way to achieve this?
Hi there,I'm looking for an automated solution creating Bookmarks.My PDF is a raw document. I mean, on the first page begins the reporting for the first customer, let's say it finished to the 4th page.Right after, on the 5th page, begins my 2nd customer, let's say it finished right here (one page for this one).It means then, the 3rd reporting (for my 3rd customer) begins to the 6th page etc...I think you got it...To differentiate this reportings, on each page I got on the first lines of the page "Libellé client :" follow by the name of the customer.For example, by using my previous explanations :page 1 : Libellé Client : NameOfTheCustomer1page 2 : Libellé Client : NameOfTheCustomer1page 3 : Libellé Client : NameOfTheCustomer1page 4 : Libellé Client : NameOfTheCustomer1page 5 : Libellé Client : NameOfTheCustomer2page 6 : Libellé Client : NameOfTheCustomer3etc...It also means, all my Bookmarks are the same level (just under the root level I guess).My customers follow each other...and I n
Using Acrobat DC SDK in C#, with following code Type PDFType = Type.GetTypeFromProgID("AcroExch.App"); CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp; AcroAppObj.Show(); CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc; CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;I am able to get an opened document, How can I open PDF document in this existing instance through C#?
Dears,I am using the below script (which I found online) to print the first page of multiple PDF's. It is working great, but the only thing missing is that I need to print in grayscale. Can anyone help? Below is the script:/* Print 1st Page *//* This sequence prints the first page ofeach document selected to the default printer.*/this.print ({bUI: false,nStart: 0,bSilent: true,bShrinkToFit: true});
I have an action script to create a report listing the document file names from multiple pdf files.The script is creating multiple reports for each pdf file, instead of appending each document file name in the single report.If anyone can help to amend the script so that a single report is created will be most appreciated// Begin jobvar docfile = this.documentFileName;if ( typeof global.counter == "undefined" ){global.counter = 0;}// Main code to process each of the selected filestry {global.counter++global.report = new Report()global.report.writeText("Report on File \#"+global.counter + docfile + "\r\n");global.report.open("job report")} catch(e) {console.println("Batch aborted on run #" + global.counter);delete global.counter; // Try again, and avoid End Job codeevent.rc = false; // Abort batch}// End jobif ( global.counter == global.FileCnt ) {console.println("End Job Code"); // Insert endJob code here// Remove any global variables used in case user wants to run// another batch seque
Hello out there!Ok, so I know just enough to get myself in trouble sometimes and don't know how to write scripts 😕😕I'm looking to set up a form for my business to make quick work of estimating and am trying to create what I believe to be a simple calculation as follows:Form field 1 is a drop down named "Box Type" and may contain the following drop-down options: "Frameless; Faceframe; Inset"Form field 2 is a text box called "Base Amount" with the Format set as "Currency", and I want that box to display a dollar amount based on the option displayed in form field 1.Hope I've made sense here! (not meant to be condescending to anyone on this forum, I just dont know that I've stated my request properly)
Hello, I have created a character sheet for a game and I am stuck trying to translate drop down menu choices into numerical values to work with. The point is that a character is supposed to gain different bonuses according to the race chosen (as shown in the human/elf example below). Now I have the dropdown menu "Races" and I would like to have all the "racialmodXXX" added to the corresponding text fields (for example the "Agilitytotal" text field should be computed by adding the entered value in the "Agility" text field + "racialmodagi".)This is what I have entered into the validation box of the "Races" dropdown menu:var racetype = this.getField('Races');var racialmodbody = '0';var racialmodagi = '0';var racialmodreac = '0';var racialmodstr = '0';var racialmodwill = '0';var racialmodlog = '0';var racialmodint = '0';var racialmodcha = '0';var racialmodedge = '0';var racialmodmag = '0';if (racetype.value == 'Human') {racialmodbody.value='0';racialmodagi.value='0';racialmodreac.va
I´m trying to create a java-instruction, that, when I press a button, save the current PDF-form under a nwe name. The name of the PDF will be fetched from a field within the PDF-form.BUT - I can´t get the "saveAs" function to work!I´m using the Adobe Acrobat Pro DC.I want to use the java-command because I need to be able to name the new file from a field in the form.I´ve been trying a couple of different syntax:this.saveAs();this.saveAs("file1.pdf");event.target.saveAs();event.target.saveAs("teat.pdf");...I am lead to belive that it is a problem with security, a saveAs or save function might be able to change data on the computer without the users controll. BUT - the command exists - how do I set it up to work?!The form will later be mail to different recipients, where I need the same function to work. SO - I can´t place a script in the Java-folder since it won follow the document to the new user?!
I need JS codes for the create date of a pdf formular and a code that takes the windows user that oppened the documente.I use "Adobe Acrobat Pro DC"Where can I fill in the JS codes in the pdf document?1) tools, JavaScript, under add the code right?, under Skriptname any name right? and how can I fill it in in the pdf formular after I did this?2) tools, Formular prepare, dobble click a description field, format, user-defined, user-defined key input, edit, give the code in and how can I fill it into the pdf formular now?If non of those two versions work can you tell me howI can fill it into the pdf correctly?If one of those versions work, can you tell me than how to get them into the pdf that I see them?Thanks for helping in advanceYannick
I have multiple forms with document level scrips. I need to find a way to have the document fully open PRIOR to the cripts running. Is there a way to do this or do I need to copy all my scripts in the Page Open area
If anyone can help with a scenario that I'm struggling with I would be eternally grateful. I am learning how to write in Javascript but am very new to this. I'll do my best to describe what is happening and how I'm trying to write the script. Below is the breakdown:Line "J10" is a sum of 5 lines. Line "J13" is the sum of line "J10" and "J12" ONLY if Line "J10" is greater than 0. If Line "J10" is a negative number then Line "J13" should return 0. I've written the script so many different ways I think I've thoroughly confused myself. At one point, I thought I solved it. When I enter the number and it gave the result I was looking for on the positive side and then changed the number to a negative but the result from the previous script didn't change but stayed the same. I want to be able to write the Javascript so if I test it with a positive result it gives the result I'm looking for and if I change the test number to a negative number that
Hello,Can someone pls help me with the below error:AcrobatProDC install fails with Error Not Enough Disk SpaceI actually got only 1.7GB left on my C Drive, But I do have enough space on D drive (18GB). How will I change the Acrobat to install on D drive?Thanks, Siva J
Is there a way to search, highlight, extract, but instead of extracting the entire page, I only want to highlight/extract the sentence or paragraph the term is contained in?I ultimately want to be able to export a "summary" into excel of a predefined set of search terms and pull the surrounding sentence or paragraph so that this exported list contains the context of how the term is being used in the document.Is this possible??Thanks,
HelloI am trying to import multiple (6) rows into a text field from a text file. If i add 2 or more rows it gives me an ouptut of 0. Is there another way to achieve this?I have tried this:var i; var full;for (i = 0; i < 7; i++) { full += importTextData("/C/Users/testfile.txt",i);}event.value = full;This only read the 6th row in the file.I have also tried this: var a = importTextData("/C/Users/testfile.txt",0);var b = importTextData("/C/Users/testfile.txt",1);var c = importTextData("/C/Users/testfile.txt",2);var d = importTextData("/C/Users/testfile.txt",3);var e = importTextData("/C/Users/testfile.txt",4);var f = importTextData("/C/Users/testfile.txt",5);event.value = a+b+c+d+e+f;This only outputted the last row in the file.Please advise.
My alternate email address is sending the email with the newly created pdf. How can i change the sending address to my principal email address?Principal email address is gloving@npgcable.com
This is the area that I want the numbers. Each time I open the pdf document create a different billing number. I think that the code is in Javascript but I don't know.I'm going to use 10 digits. Where I place the code?Thanks for your help.
The code transfers all the values from the PDF file into my Excel sheet .... I thought so .... On page 2 and following, after two-thirds of the page the enumeration ends and it continues on the next page ... On page 1 but everything is transferred .... has anyone ever had the phenomenon? I need all the text from the PDF Set jso = PDDoc.GetJSObjecti = 0For iPage = 0 To PDDoc.GetNumPages - 1 icount = jso.getPageNumWords(0) For iWord = 0 To icount - 1 word = jso.getPageNthWord(iPage, iWord, True) If VarType(word) = vbString Then Tabelle5.Cells(i + 1, 1) = word i = i + 1
Hello,I made a pdf form that has a table that has calculated fields, in them there is a formula that takes the data from the fields of its line and the result serves as the starting value of the lower line.But since at the beginning there are not all the fields with their respective values, the formula lacks arguments and the Javascript warning sale appears informing me of it.Is there any way to disable the Javascript warning window?Thank you so much
Hello,We are using Adobe Reader DC plugin and would like to disable Adobe keyboard shortcuts like F8 to show/hide the Adobe Toolbars, Ctrl+Shift+S to Save, Ctrl+P to Print, etc programmaticallyWe understand that in previous releases of Adobe Acrobat/Reader this was NOT possible or restricted. Can some one confirm if this is possible with Acrobat/Reader DC? Also, a quick example of how this can be achieved could also help.Please let me know your views on this.Thanks,Amish
Can anyone please assist me on how to create an adding machine calculator script for adobeThank you
I have a script that successfully populates data from Excel into a form I have created and saves it. However, I'm having difficulty digitally signing the form. The following is old code I found from previous literature and it seems like it should work but it has not yet. Thanks! strSignFName = "C:\misc\Test.pfx" Set oSign = objJSO.getField("Test")' Set oSign = objJSO.getField("Pool Manager Signature") Set oPpklite = objJSO.Security.getHandler("Adobe.PPKLite", True) oPpklite.login "Test123", "C:\misc\Test.pfx" oSign.sign
Hello Guys i tried my level best to add my code to add in tool bar. I cant succeed. I am beginner so i unable to grasp some complicated technical terms. Anyone please add the folder scripting code to run my existing code. Below code is i am using in Acrobat 11 but now i want to do it in acrobat 9 tool bar. Please help.// pages on which that string is found to a new file.var pageArray = [];var stringToSearchFor = "SHEET";for (var p = 0; p < this.numPages; p++) { // iterate over all words for (var n = 0; n < this.getPageNumWords(p); n++) { if (this.getPageNthWord(p, n) == stringToSearchFor) { pageArray.push(p); break; } }}if (pageArray.length > 0) { // extract all pages that contain the string in
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.