『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
HiI am trying to create a form on Acrobat Pro 9. I have a drop down menu for course name and would like 2 fields to be populated with the cost and one to duplicate the course name.I have tried to create a script using the examples online however I keep receiving an error... "missing ; before statement 1: at line 2"So if I pick course name I would like it to populate the cost into field Text15 then into field Course cost and then duplicate the course name into field Copy course nameAny help would be greatly appreciated.ThanksJo
Hi,Can somebody help to export the hyperlinks to txt file from the PDF using Javascript of Acrobat Actionlist.Siva
Hello Everyone,I need to import some data from an excel with at least 250 rows, and 7 columns.the first try was saving the document as tab delimited and then open and import the data manually from Adobe, IT WORKS.now i need a step more, doing it automatically with all the rows.I've found an user which has a solution in his page: Batch-Import Excel Data into PDF Forms - KHKonsulting LLChe used this code to explain how to do it:// specify the filename of the data filevar fileName = "/Users/username/tmp/data.txt"; // the tab delimited text file containing the datavar outputDir = "/Users/username/tmp/"; // make sure this ends with a '/'var err = 0;var idx = 0;while (err == 0) {err = this.importTextData(fileName, idx); // imports the next recordif (err == -1)app.alert("Error: Cannot Open File");else if (err == -2) app.alert("Error: Cannot Load Data"); else if (err == 1) app.alert("Warning: Missing Data"); else if (err == 2) app.alert("Warning: User Cancelled Row Sele
I am attempting to create a form checklist for completing tasks that require documentation at my workplace. I would like to create a button that will allow any existing PDF to be inserted into a new page after the checklist. Is it possible to script a button that will allow this? And I would like to use different buttons for each check so that multiple separate pdf files can be inserted after the checklist. Even one button that would allow multiple insertions at different times. Ideally, these files would all be recognized PDF pages that can be sorted and deleted as needed.
From my plugin I can retrieve the Acrobat version via AVAppGetVersion. For Acrobat 11, the update number is part of MinorVersion:Version 11.0.19 - MajorVersion = 11, MinorVersion / 256 = 0, MinorVersion MOD 256 = 19But for Acrobat DC, I get MajorVersion = 15, MinorVersion / 256 = 6, MinorVersion MOD 256 = 0Is there any way to retrieve also the update number (e.g. for Acrobat DC: 2015.006.30280) ?Thank you!
I have four different PDF forms that I have added to a Portfolio within Adobe. These forms all have several common fields such as Part Number, Serial Number, Stock Number, and such. I want to link these forms so if the user completes the common fields in one form it completes the same ones in the other forms also. Is this possible within the Portfolio or is my only option to combine the four into one form? I'm working with Adobe Pro XI and have added the AGI tool set.Thanks for any help,Chris
I have a C# application that makes use of Interop.Acrobat.dll.static CAcroApp mApp;I instantiate the application as follows:try{ mApp = new AcroApp();}catch (Exception ex){MessageBox.Show("Failed to create Acrobat Application:\n"+ex.Message);return;}I am getting the following results:Windows 7 Service Pack 1 --- successWindows 10 Enterprise v. 1607, OS Build 14393.576 --- successWindows 10 Pro v. 1607, OS Build 14393.693 --- failThe exception message is as follows:Creating an instance of the COM component with CLSID {85DE1C45-2C66-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80004005 Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)).Note that Acrobat Standard DC runs without a problem on all of the machines as a stand-alone application (i.e. non-interop).Anyone else experience a similar issue and/or know of potential resolutions?Thanks for the help. -Mark
. Madcap say this is a known issue with the latest Acrobat DC. The error is "There is a problem with Adobe Acrobat/Reader if it is running please exit and try again (9:9)", anyone know of a fix for this yet? I have uninstalled and reinstalled all Adobe products, but still the same error.
Hi Colleagues!Need to complete the script (test) which count how many times WORD appeared in PDF document.I am using this scriptOption ExplicitDim accapp, acavdocuDim pdf_path, bReset, Wrd_countpdf_path = "C:\Tips.pdf"Set accapp = CreateObject( "AcroExch.App" )accapp.Show()Set acavdocu = CreateObject( "AcroExch.AVDoc" )If acavdocu.Open( pdf_path, "" ) Then acavdocu.BringToFront() bReset = 1 : Wrd_count = 0 'FindText:Finds the specified text, scrolls so that it is visible, and highlights it Do While acavdocu.FindText( "Primary", 1, 1, bReset ) bReset = 0 : Wrd_count = Wrd_count + 1 Wait 0, 200 LoopEnd If.....the problem is that loop didn't finish. It count words on each page till the end (8 pages) and then started again,Please tel me how can I count all word which I need and exit from the loop.Thank you in advance
Good morning, I am trying to set up a JS that allows a button to look for any missing required fields. Text fields and radio buttons are the types of fields that are required throughout this form. I need it to prompt all missing required fields, then once all are complete, prompt that the form is complete and ready to be printed, then followed with the print screen. At this point, I cannot figure out how to get it to point out the radio buttons or prompt when complete. It does pop up the message for the text fields and does pop up the print screen once "complete", however, whether the radio button options are selected or not, it shows all radio buttons in the error as if they were not completed. There is one gender radio button selection and the rest are "yes"/"no" type of options where they have to go through and click either yes or no on all listed. The default is set to where neither is selected.This is what I have so
Is possible to export the data on a form into a spreadsheet (preferably append data to an existing spreadsheet) when the user presses a button on the form? If so how would I go about doing that?
I have several password protected filled forms with a calculation error. Is it possible to change the calculation without open and change all the forms?
I've been using Adobe Acrobat Pro for over a year and ever since I updated to Windows 10 I keep getting a pop-up window everytime I open a pdf -- "Adobe validation testing has found this copy of Acrobat is not genuine."Any suggestions?
I have a list box, Tuition, with three available values, 0 (default), 1649, and 1872. In another field (FICA), I want to create a conditional calculation based on the result of what is selected in Tuition. The purpose is to determine if an amount is taxable based on the result of a calculation. But, I can't even get past square 1, determining which item User has selected! This is not the entire script that will eventually be in FICA. I'm just trying to diagnose my problem.The following code was copied from a tutorial. var nTuition = this.getField("Tuition").value;if( nTuition = 1649) event.value = 1649;else event.value = 1872;When executed, the above will only return 1649, regardless of what is selected in Tuition. I have Tuition execute the calculation immediately. And, the FICA field is top in the calculation order. 1649 appears in FICA, even after resetting all fields (should be 0). It would seem, given the above code, that the default Tuition value of 0 would return 1872, no?What i
I am building a customised Action in Acrobat using JS and I want to be able to import a list and iterate through it, like the built-in "Search & Remove Text" tool does. I can't figure out a way to edit the built-in tools though, or a place I can find the code behind them.If this isn't possible, does anyone know where else I might find JS code that imports a list and iterates through it?Any help would be very much appreciated!
I'm trying to figure out how to sum a column of radio buttons. I've been presented with a form with 5 categories or questions that need to be rated from 1 to 5. The layout is something like:Q1: 1 2 3 4 5Q2: 1 2 3 4 5Q3: 1 2 3 4 5Q4: 1 2 3 4 5Q5: 1 2 3 4 5 T1 T2 T3 T4 T5 Grand TotalThe idea being that as someone rates each question, the value of the checkbox they select is then summed at the bottom of the column so I wind up with a total of the 1s that were
I have scripted "canned" emails that employ rich text formatting, such as line returns and tabs using \r and \t. Using a mouse up action with a button and the app.mailMsg method, the script opens my default email client, Mail.app, and generates the email, ready to send to the addressee. The addressee and contents of the email are determined by values entered in other fields that are referenced within my script as variables.I also want this script to work with Microsoft Outlook, but Outlook seems to only offer HTML and plain text. The rich text formatting is ignored by Outlook.So my question is this: can I amend my script to place line breaks, returns and tabs into either plain text or HTML email message in Outlook?David
Hello, I'm creating a form on Acrobat X Pro and I'm trying to restrict the user from entering future dates in a textfield with the date format. Basically the date has to be today's date or prior. I'm a newbie to Acrobat form scripting, so I was wondering how to go about this.Preferably, I would want to initiate this on field exit if possible, but if not then do it on form submit validation / both. I assume I would have to use a compare operator against the current date such as 'var CurrentDate = new Date();' but I need to know how to associate with the field's value and if any conversion is required, moreover how to initiate this on the exit event.Additionally, I have a 3 part date field which needs to be validated. It's split with one field for Month, one for Day and one for Year. Is it possible to combine the 3 fields and validate the date for future dates ? Appreciate any insight on this. Thanks!
I have been tasked with the process of altering a fillable pdf form at work. The purpose of this form is for an employee here at the office to run this application and to select a proposal and it populate a list of classifications and wage rates, save the pdf form and then they can email that form to users in the field to fill out and return.I am not really that familiar with fillable pdf forms but as a programmer feel I can handle it. The form I am trying to populate contains three columns; a classification field that I populate with selected dropdown items (I found this easy) and then an Hourly Rate Paid column that I am trying to populate dynamically when they select a classification and a number of employees column that they enter manually.What I need the form to do is when a classification is selected from the dropdown (by the user in the field) the form is supposed to look through a dataset of some type and find that classification along with its related wage rate and then automa
Hello there,I am trying to do a simple equation that I can not seem to figure out. I have a subtotal amount and discount that is being given. For the total amount I would like it to give me the price amount with the tax being included for a new total. I would think this formula would be work. I could be wrong. Total = subtotal1-(Subtotal1*discount)or subtotal1-(Subtotal1*discount)when i did the an easy equation it does not change the numbers as well. I also fixed the calculation order.
Hi Acrobat forum readers:Is there any way to utterly force Adobe PDF's printer driver to use only document-specified fonts that are installed at the system level and stop printer font substitution?I am having a thorny and bizarre font substitution problem with Microsoft Word 2016.I designed a corporate identity for a company that deals with education publishing.I specified using "ITC Century Std" as a standard font in the identity.When we view a test document I created on screen in MS Word, there are 3 lines of text at the bottom of the page after a subheading. (see attached JPEG Word screenshot)When you print that document to either Adobe PDF as a printer or to any paper laser printer, there are suddenly 5 lines of text at the bottom of the page after the same subheading! And more bizarre, every single line on the page has the exact same line ending (even hyphenated words are identical).At first, I thought it must be a font substitution problem, or a margin change problem.Then, I did
I created a fillable PDF and inserted in on my website. That works perfectly. Now when I test it, I would like them to send it to a specific email address once it fills out. Any idea how that can be done through Adobe Acrobat DC?Thanks in advance.
Using Adobe Acrobat Pro DC...I have created a PDF Form which includes a field for the current date, "Today". It seems to work. I used the following in the "Custom Calculation Script" section var f = this.getField("Today");if (f.value == "") f.value = util.printd("mm/dd/yyyy", new Date());I have a fillable field for a project beginning date "OnAssignment".Assuming both those fields (Today and OnAssignment) are populated... I want a third field, "Duration" to then calculate and display the current duration - the difference between "Today" and "OnAssignment", and have no idea how to do that. The obvious secondary question would be how best to format the result in the "Duration" field. I am hoping for... (example)... 2.3 Years Any assistance, guidance, reference, resource, and/or education would be greatly appreciated.
I have a 2000+ page document that I am trying to insert another PDF after every second page. I'm a Javascript novice and I've managed to get this far. Can anyone offer any advise as to what I'm doing wrong?for (var i=this.numPages-1; i>=0; i--) { if (i % 2 == 0) { { this.insertPages(i, "FileToInsert.pdf"); }
Hello All,I have read a number of posts on several sites. Additionally have noted a number of knowledgeable folks supporting all the of the newb questions. I have visited some resource sites like adobe. and various forums like this one.However I am still not able to glean the solution for the correct java script that will address correctly auto populating the Month of February if 1.29 thru 1.31 is selected in the initial date field.all other dating works correctly Form has 3 date fields, I am trying to provide script that will allow my users to populate the first field and the 2nd and 3rd field will be dated 1 month later , naturally Feb. is an exceptionthe main script I have used to this point is // get value of field to update - field name is Text5var sDate = this.getField('Text5').value;// convert to date time object// the fields format is mm/dd/yyyyvar oDate = util.scand('mm/dd/yyyy', sDate);// get the parts of the datevar fFullYear = oDate.getFullYear(); // 4 digit yearvar
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.