Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hi,I'm trying to convert an XFA PDF to a Flat PDF using the interop.acrobat dll API,as of now i'm using the printing process which is working but makes a lot of other problems,Is there a way to just save the PDF in as a Flat PDF format instead of printing?I'm doing this with a C# code which suppose to work quietly in the back ground,and not report on every print as of now.My Code:CAcroPDDoc pdDoc;CAcroAVDoc avDoc;mApp = new AcroAppClass();mApp.Hide();avDoc = new AcroAVDocClass();if (avDoc.Open(pdfFile, "")){ pdDoc = (CAcroPDDoc)avDoc.GetPDDoc(); avDoc.PrintPagesSilent(0, pdDoc.GetNumPages() - 1, 0, 0, 0) avDoc.Close(1);}mApp.CloseAllDocs();mApp.Exit();[Question moved to the Acrobat SDK forum. - Mod]
Hi All,Good Morning...Is it possible to Export Tagged PDF XML structure using PDF Javascript or any other plugins.Thanks & Regards,Senthilvel S
How would I write in javascript for forms tagging that X should be true when Y is not true? Is there a way to do this in tagging without javascript? I have tried all operators of !=, ===, etc.
Field 1 is Acct #Field 2 Sold To (this is the clients name based on the account # selected in field 1)Filed 2 Ship To (this is the clients address based on the account # selected in field 1)It is my understanding that I shoud run a javascript. However, I am VERY new to this and am unsure of how/what code to write.
Essentially, I have an expense codes list, and I want the title of the account to display with the expense code when selecting, but then only display the number once selected. Is this possible with Adobe Acrobat Pro?
SyntaxASBool AVAppOpenHelpFile(const char* fileName, ASBool doSearch)Opens a specified help file from the default installation help directory. If the help file is not found, it optionally opens a dialog box asking if the user wants to search for the help file.as above, so where is the default installation help directory?
From the DC SDK Documentation to find the end of a batch file you have to use the PDF count:if (global.counter == global.FileCnt) { console.println("End of Job..."); delete global.counter; delete global.FileCnt; }This relies on the user to first run the global.FileCnt Action than run the main batch file for doc processing (which cnts the global.counter). How can I find the end of a batch file if all I had was one Batch file? The other method is just not intuitive.
I have Adobe Acrobat DC - and I have a fillable PDF with Columns.I am attempting to divide one field (TOTAL ROW 1) by 2 to answer in the column field beside it COOP AMOUNT x 50Row1.I tried multiplication and that didn't seem to work either. I can easily change the name of the fieldI supplied a small portion of the form below.THank you so much, as I have been trying everything
Can someone please tell me why the result of this script is one day short? (The date fields are formatted mm/dd/yyyy) Ex: the difference between 01/01/2019 and 12/31/2018 == 0 instead of == 1//dateEnd var actual = this.getField("date.Actual.Closing").value; var dateEnd = util.scand("mm/dd/yyyy", actual); //get date object for end date//Start date: construct it from dateEnd as 12/31/ of the yyyy before dateEnd var yr = this.getField("date.YearPrior"); var year = dateEnd.getFullYear(); yr.value = year - 1 var strStart = this.getField("date.LastDec31"); strStart.value = util.printd("mm/dd/yyyy", new Date("12/31/" + yr.value)); var dateStart = util.scand("mm/dd/yyyy", strStart.value);//Calculate and assign the date difference var dDiff = dateEnd.getTime() - dateStart.getTime(); / var oneDay = 24 * 60 * 60 * 1000; var days = this.getField("num.days"); days.valu
When I open a pdf it does not recognize the new document as a variable. The document opens up but in the debugger it shows oDoc as not being assigned. Once this PDF opens up it does not change the two fields because of this. What am I missing here?var oDoc = app.openDoc(orgFilePath);oDoc.getField("GTC_class_year").value = class_year;oDoc.getField("GTC_class_number").value = class_number;I am using the continuous version of DC 2019.008.20081
I have a batch script which combines all files in a folder. I can add an Page processing action to add page numbers but it only pages each document separately. Is there a way I can do page numbers as a sequence of my entire documents. Example:1 Doc = 2 pages2 Doc = 3 pagesFinal doc should be stamped with pages 1-5
In the script at lines 1 thru 7, this.getField("date.Closing.Actual.Date") has a date format of mm/dd/yy and its value determines the yyyy value of this.getField("date.YrOfClosing") which has a yyyy custom date format. this.getField("date.Prior1231") has a date format of mm/dd/yy . I need to use the yyyy value to set the yy value of this.getField("date.Prior1231") to 12/31/yy of the year before yyyy (where mm/dd will always be 12/31). Ex: if the source field value is == 2018 then the value of this.getField("date.Prior1231") should be 12/31/17.1. var actual = this.getField("date.Closing.Actual.Date").value; //mm/dd/yy format2. var d = util.scand("mm/dd/yy", actual);3. var yearOfClosing = this.getField("date.YrOfClosing"); //YYYY format.4. yearOfClosing.value = d.getFullYear( ); //extracts year in YYYY format5. var f = d.getFullYear().toString().substr(-2); //Ex: change 2018 to 18.6. var priorDec31 = this.getField("date.
var openDoc = app.openDoc({cPath: myPath}); var d = app.activeDocs; <--gets all open docs app.alert("this.path: " + this.path); <--this.path is not always the openDoc. app.alert("openDoc.path: " + openDoc.path);How do I make the openDoc the active Doc? Essentially I am needing to add page numbers to it.
HolaTengo varios radio button y me gustaría poder activarles por JavaScript.selecciono cualquier provincia y me gustaría que automáticamente el radio button quedase marcado, activado.un saludo y muchas gracias.
How can i count the number of signatures on a pdf document? and perform some action when the last signature is signed, say save the signed doc to another location in the back ground....
Hi there,I am facing a problem regarding a percentage calculation in my form.As of now my code to receive a proper display of the correct percentage decimal I am using this code:if(event.target.name=="Tax"){event.value=event.value/100;}This works fine so far. However, when I change any other value of other fields this specific field starts to calculate again the value by 100.Example:Tax: 5%-> Changing field of unit priceTax: 0.05% (it calculates the value again by 100).Anybody an idea how to solve this problem?Thank you in advance!Ketch
Basically I'm looking for a master / slave type of behavior.I have four checkboxes, cb0, cb1, cb2, and cb3. I'd like to check cb0 if ANY of the others are checked and uncheck cb0 if ALL of the others are unchecked. I would think there is a simple solution here as it should simply read somthing like:var f0 = getField("cb0");var f1 = getField("cb1");var f2 = getField("cb2");var f3 = getField("cb3");if (f1.value === "On" || f2.value === "On" || f3.value === "On") { f1.value = "On";} else { f1.value = "Off";}Many thanks in advance!
I know how to x-fer the data to Excel, but can't figure out how to get the size from the file.Any assistance will be appreciated.Thanks
I created an Action that creates a text field on the top of the page. How do I get it to repeat it on the top of the remainder of the pages in the document?// Create the "DatePrinted" field on the top of the first pagevar fldTop = this.addField("DatePrinted", "text", 0, [36,774,576,756]);fldTop.value = "DatePrinted";fldTop.textSize = 14;fldTop.textfont = font.Arial;fldTop.textColor = color.red;fldTop.alignment = "center";fldTop.display = display.hidden;fldTop.readonly= true;fldTop.doNotSpellCheck = true;fldTop.doNotScroll = true;Any assistance will be greatly appreciated,Thanks
I have this code to count pdf's in a folder I want to process:/* Count PDF files */ if ( typeof global.FileCnt == "undefined" ){ global.FileCnt = 0; //app.alert("your count: " + global.FileCnt);}I would like to have it finish processing than call another Batch file to process. Currently I have to manually start the other batch file after the count is done for it to work. Can this be done automatically?
My form was working perfectly until I added some script to hide fields based on a button... now I get an errorJavaScript Debugger (window) says: TypeError: f is null1051:byteCodeToolAny ideas?
I'm using Adobe Acrobat Pro DC and would like to set up some validation script for a date field of an application. For example - the start date of the project must be no earlier than May 15 2019. If the user enters a date before May 15 I want an error message that states "start date must be May 15 or later". I also need something similar for the completion date of the project. For example: the completion date should be by May 14 2020. So if the user enters a completion date after May 14 2020 an error message such as "completion date must be before May 14 2020. Is something like this possible with the calendar? Any other ideas on how to achieve this?
I am creating a form that has 2 dependent dropdowns. The first box has 4 choices. The second one will vary depending on the 1st. I am new to java, so I copied a script and edited it. I am receiving an error when trying to apply my script. The error and the script and both below. Please help! Thanks!Acrobat Standard DCWin 10 EnterpriseHere is my script:++++++++++++++++++++++myDropdown4Values = ["","Profitable growth", "Optimal outcomes", "Top talent", "Operational excellence"];this.getField("Dropdown5").setItems(myDropdown4Values);var Strategy = {Profitable growth: ["","Diversification","Differentiation","Sales pipeline","Existing product innovation","New product innovation","Geographical expansion"],Optimal outcomes: ["","Access","Quality","Risk Score Accuracy","Comprehensive Health","Utilization Management","Data Interfaces","Provider Collaboration","Individual Engagement","Stakeholder Satisfaction"],Top talent: ["","Diversity and Inclusion","
Expensive, good morning.I've converted the spreadsheet (attached image) into a fillable form in Adobe Acrobat DC. But it has formulas in some cells, because they need calculations. As I am very lazy in JavaScript. I would like to help you in transforming the formulas of each cell into JavaScript code so that you can perform the calculations. can anybody help me?Hugs,Berg
OK so I hope I can explain this well enough because it won't let me insert a photo in there. I have a group of text boxes that are roughly like this:Header 1Header 2Header 3Header 4PROMISPROMIS1PROMIS2DASSDASS1DASS2DASS3HDIHDI1UEFSUEFS1LEFSLEFS1Each one of those text boxes is where a number score is typed in for the PROMIS, DASS, HDI, UEFS and LEFS tests. As of right now I have those texts box scores populating down to a another text box called "OATS" but when they populate down to the "OATS" text box it is just the numbers and you don't know which test the numbers correspond to. So what I need, if it's possible, is this:if "PROMIS1" text box, if it has a score of "4" typed in it to populate down to the "OATS" text box as this "PROMIS Phys - 4"if "PROMIS2" text box has score of "4" then it populates down to "OATS" text box as "PROMIS Mental - 4"If "DASS1" text box has score of "4" then it populates down to "OATS" text box as "DASS Dep - 4"If "DASS2" text box has score of "4
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.