Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
The documentation says to use the config.js file. I can't find a path for this. I tried app.getPath("user","javascript"); and got an error. I'm running Acrobat Pro DC continuous release on a Windows 10 machine.I can find the app js file, but Adobe doesn't allow me to save my scripts there.I need to save to the folder-level to run a Net.HTTP request.Thanks!
I am trying to make a form that uses an input field (Estimated Sales Price of Current Residence) to calculate the Guaranteed Homesale Program value, which is Estimated sales price of current residence x .15. But if the Estimated sales price of Current Residence is more than $750,000, then I want Guaranteed Homesale Program field to equal 0. I tried the following but an getting errors.var n = this.getField("Estimated Sales Price of Current Residence").value;if (n < 750000) {event.value = ("Estimated Sales Price of Current Residence * .15");}else if (n > 750000) {event.value = "0";}
Is it possible to use adobe javascript to print a PDF without a dialog box popping up? I have seen suggestions thatpp.interactive = pp.constants.interactionLevel.silent;can work but it doesn't seem to work for me. I get the errorNotAllowedError: Security settings prevent access to this property or method.App.beginPriv:83:Field 3:Mouse UpThanks
I am creating a form to fill out that will have numerical values corresponding to a measurement value entered into them. I'd like to be able to add a mouse click event to these form fields that would allow the inspector to have a red outlined transparent circle around any values that exceed the tolerance specification for the value being entered. Can anyone help with this?Thanks in advance
Hi,I have been trying to extract certain set of tables that contain the transactions and the portfolio value in my monthly Portfolio statements. I tried to convert the entire PDF document with export feature in acrobat dc, but the problem i faced was that it converted the document in a very terrible formatting which is gonna take more time if i was to use it. Right now i have to manually copy data from this PDF statements and there are hundreds of them.Can someone please tell me if there is a way without using any third party software, i can extract only these tables from these statements.Statement details are as follows:1. It has tables with the names of 'Account Holding','Account Activity Details', 'Account Summary','Product Summary', 'Income Summary','Realized Gain/Loss Summary'. Underneath these tables are the relevant data in accordance with the headings.2. There are text like dates , such as 'April 1, 2015 - April 30, 2015' and on the top left and likewise on the top right the 'A
As part of a FrameMaker based publishing system that takes XML files then outputs PDF and optionally Word files, we have to improve the quality of the Word output. The previous process used FrameMaker's RTF output, but the results were not good enough without significant post processing. In an attempt to give the customer what they need I found that Acrobat's PDF output was good enough, so all we need to do is automate the process.My developer created a folder level JavaScript that converts the PDF file which almost does what we need. However it does give an error dialog which may or may not prevent the export of the Word document. Here is the JavaScript:/** * trustedPrint function: Exercise the print function in the privileged context * * @param doc The Doc object of the target document * @param pparam The PrintParams object containing print settings */trustedSave = app.trustedFunction(function(input) {app.beginPriv();try{var rs = util.readFileIntoStream(input);var path = util.string
Hi thereI have a strange behaviour with word finding.I want the word finder to ignore spaces betwween letters, along with punctuation marks.On some texts it does, and I get a whole 'sentence' like :"list of authorized codes"On some constructs it doesn't work and returns indiidual words.Example: "A/CODE 134 FAILS" returns as separate words. I can try to reconstruct, but it's a lot of work.I have played with the character types table, with some sucess, but incomplete.Any clue? If I use PDFEdit (and how),,will II have a better result?ThanksChristian
I currently use the stamp below. I need the date in the middle to always be editable or it could be Todays Date. This is a hand stamp I cropped and made into a custom stamp.
I've built a custom dialog that's rendering fine. I emulated some code I found here in the forum, but I'm getting the following error:TypeError: this.getElementById is not a functionPresumably I need to replace the "this.getElementById" with some other mechanism to return the value of the radio button selected.Here's the code as it currently stands:var oDlg ={ description: { name: "Save document to which folder?", elements: [ { type: "cluster", name: "Choose a folder", elements: [ //{ &
I have some code in Access 2010 VBA that reads records and creates a single PDF from multiple linked PDF's with bookmarks. This code works fine:<<<< CODE begin >>>>>Private Sub BuildDatabook_Click()On Error GoTo Err_BuildDatabook_Click Dim sqlStr As String Dim rst As DAO.Recordset Dim vFiles() As String Dim iNrOfFiles As Long Dim iNrOfIncorrectFiles As Long Dim sPDFFileName As String Dim sPDFBookMark As String Dim sNewPDFFileName As String sNewPDFFileName = "\\sample\" & Me.Order_Id & "\Data_Book\10000_" & Format(Now(), "YYYYMMDDhhnn") & ".pdf" iNrOfFiles = 0 iNrOfIncorrectFiles = 0 sqlStr = "SELECT * FROM TABLE WHERE Order_ID = '10000'" Set rst = CurrentDb.OpenRecordset(sqlStr, dbOpenDynaset, dbSeeChanges) Do While Not rst.EOF sPDFFileName =
I need a adobe acrobat javascript for text not be start with hyphen.
Hi, I have a document with 120 similar text fields + 20 dropdowns. There is mainly two simple action Javascript + 1 format script per field. I have a button to reset all fields and it takes up to 20 seconds on a regular performing computer. The action scripts weren't absolutely essential so I've tested the document without them, but nothing changed in the time it took to reset. Also, when I open the document, it takes quite a while for all the fields to appear. What are the reasons that can make a document so very slow? Do I have too many fields? Are there other reasons that maybe I could correct? Thank you. I have Adobe Acrobat Pro DC.
I am using JavaScript to Identify whether or not a field is filled or empty. Depending on the results, It will assign variable to fill in the rest of the form. I cant seem to figure out what I am doing wrong. I have tried .isNull , .rawvalue, etc..... Any help would be appreciated.This is what I have so far.// Automatically Populates the Team Technician to the rest of the document once the field is populated on the Mileage Sheet and sets variables to predefined values;var team = this.getField("Team").value;var lead1 = this.getField("Lead1").value;var team1 = this.getField("Team1").value;event.value = "";if ((team.value !== null || team.value !== "")&&(lead1.value==null || lead1.value=="")){ event.value=team;}else if ((team.value == null || team.value == "")&&(lead1.value!==null || lead1.value!=="")){  
I am trying to figure how to print a measurement total to the console. I am currently using the measurement tool to make various measurements. For exmaple I have 3 measurements with markuplabelA and 2 measurements with markuplabelT. I am wondering if there is a way to print combined totals from markuplabelA to console
Hi,How can I make the fill color of the following field blue? I tried "fillcolor: color.blue" but it did not work. { type: "static_text", &nbs
Hi,So I have a field called "striInitDocNum" defaulted to 1 as shown below:global.DocNumAction ={strInitDocNum:"1"}The code then inserts a space before this default value:var dlgInit ={"DNum": " " + this.strInitDocNum}However, the user may remove this space in the form if they want to set to a different value from 1 to 2, for example: toHow can I make it so if the user decides to enter a different value than the default, the space in the field is maintained such they cannot delete it? This matters b/c the preview field (not shown) ends up also having a removed space and then it shows as "Exhibit2" instead of "Exhibit 2"Thanks.S
Hello at work I use the measurement tool quite often and was wondering if there is a way I can create something that will return the a totals of multiple measurements in the PDF. Any info is much appreciated. Thank you
Please advice: we getting garbled prints from plugin if PDFs include CID fonts and sent repeatedly. The plugin runs on Acrobat 11 Standard and is built with Acrobat 11 SDK. The same plugin source code runs on Acrobat 8 Standard built with Acrobat 8 SDK renders correct.
Is there a way to force user to make a selection from a drop down before allowing them to move on to the next field? Like it lights up red if selection not made? I know in TurboTax, it won't let me do anything if I don't make a choice. I want the field box to turn red and then an asterisk to come up telling user to make a selection.I know how to do this by adding an app alert if the field is null but wanted to introduce a visual affect as well.Thx.Sue
I am trying to create a custom javascript calculation that will do the following:Caculate: Subtract AGI_Total - (Deductions +Exemptions) and the result would go into the Taxable_Income fieldI can do this in the Simplified Field notation of the Taxable_Income field on the PDF form I am working on but what I am having trouble doing is if the sum equals a negative number, I want the Taxable_Income field to display 0. Unfortunately, I am very new at Javascript and I don't know how exactly to do this. I am using Adobe Acrobat Pro.Can someone help please?
Since downloading the latest update for windows 10, I am having problems printing PDF files I receive in emails. they partially print but with black lines where the print type should be. I am on a Lenovo Yoga500 using a HP Officejet 7500 E910 printer. All other documents print fine on the printer. I am only having the problem with the PDF`s. I have tried downloading latest drivers, but I have them already. Can anyone help?
HiI'm using the below as an action to export annotations to an fdf file:this.exportAsFDF({cPath:this.path.replace(/\.pdf$/i,".fdf"),bAnnotations:true})It works on a single file, but if I run it on multiple files it only exports the annotations for the first page.Can anyone help?ThanksAaron
HiI am using Adobe Acrobat Pro DC (V2015.006.30097)....I am very new to Adobe Javascript and am trying to work out a formula which will over ride the formula if I type in a 0 . It is a finance form and some amounts do not incur GST (Tax) .I have the NETT AMOUNT + GST = TOTAL I started with a very basic formula of Amount1*.1 in the GST Field and Amount1+GST in the TOTAL field - however if GST is not added to the item and type in "0" to reflect this in the GST box, it does not allow this, it keeps adding the 10% onto the GST field.so I tried this variance in the calculation text field property (after searching the forum for some ideas)var nGST = this.getField("GST").value;if( nGST > 0.0) event.value = nGST * 0.10;but I am now getting an error.I would really appreciate some helpThanks
Four years ago, I purchased Adobe Acrobat, along with Photoshop, Dreamweaver and several other programs, as a bundle package in Adobe Acrobat Creative Suite 6. Does my license allow me to install the programs on more than one computer?
How do create a form field that will add 6 months to a date from another field? The idea is to output an expiration date 6 months after a training date that is entered by the user.
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.