Questions
Recently active
Can anyone tell the exact procedure to extract the coordinates of each word in a pdf file?
Hello. I've read a number of various blog posts but I'm still having trouble creating a dynamic stamp that will allow the user to just enter in 3 fields. I already created the image, saved it as a Stamp, and located the file. I then added the 3 text fields I need. I am just not sure where to even begin with how to write the code in Acrobat DC. The text fields are titled Text1, Text 2, and Text 3. The outline of the stamp is simpleUser: Text1 (I need to be able to type in various initials)Amount: Text2 (Just need to be free form to type in either a percentage or $ amount)Sent: Text3 (Just need to write a name of whoever I sent it to)Any assistance is greatly appreciated. Thank you!
I have a form with a StartTime and EndTime field formatted like HH:MM , and a TotalHours field formatted like (Number, 2 decimal places, separator style 1234.56). In that field I would like to display result of time calculation.I'm expecting to get such result:StartTimeEndTimeTotal Hours9:1510:301:158:3011:152:4510:0511:301:25Please help with JavaScript code. Thanks.
Hello,Is it any way to convert DWG-files (AutoCAD) to PDF in Black & White? Is it possible in the latest Acrobat version?In Windows Explorer, its possible to right-click and "Convert to Adobe PDF" on one or more DEG-files. But it's in color, and I can't figure out how to make it in Black & White like we need to have it.I'm working with AutoCAD LT 2015, but this issue is for non-AutoCAD users. I have tried to to set the locations for "Plot Configuration" and "Plot Style Table" like my AutoCAD, in Configuration Preferences for DGW-document, without any luck. Actually Adobe crashes when I do so.Thanks in advance.
For the first time my Adobe Acrobat X Pro does not open "Fatal Error" "Acrobat failed to connect to a DDE server" means? what I do?
Hello Adobe users,I have a question regarding automatic naming of fields. The PDF file has for example 100 fields. Is there a JavaScript to name them 1 , 2 , 3 , 4 etc?Kind Regards,Baran
I would like to step through the fields in a form (similar to VB's "For Each Field in Felds").......but I am confined to a C environment. I created an ActiveX controller for Adobe and for AFORMAUT. The code below works.......I just need to figure what to put in the "For" loop to step through the list of fields.....any suggestions? The ActiveX controller does not provide a lot of help......//Open Acrobat, Open File, Show AcrobatAcrobat_NewCAcroApp (NULL, 1, LOCALE_NEUTRAL, 0, &acroHandle);AFORMAUTLib_NewIAFormApp (NULL, 1, LOCALE_NEUTRAL, 0, &formHandle);Acrobat_NewCAcroAVDoc (NULL, 1, LOCALE_NEUTRAL, 0, &avHandle);Acrobat_CAcroAVDocOpen (avHandle, NULL, datasheetPath, "TEMP OPEN", NULL);Acrobat_CAcroAppShow (acroHandle, NULL, NULL);//Get Form Fields, Count, Get Value, IsReq, IsHidden, IsReadOnly, TypeAFORMAUTLib_IAFormAppGetFields (formHandle, NULL, &axHandle);AFORMAUTLib_IFieldsGetCount (axHandle, NULL, &fieldCount);AFORMAUTLib_IFieldsGetItem (axHandle, NULL, "UUTP
Hi,There is an issue with my javascript but having trouble identifying it. The script is supposed to find and highlight words I want to react, but must skip over anything that is already marked with overlaytext.This is what I have done so far ...- Using the "Actions" feature in Adobe I use the "Search & Remove" dialog to search for words I want to redact.- I then run the below JavaScript to highlight the words found in yellowvar colHilite = ["CMYK",0,0, 1, 0]; // yellowvar oDoc = event.target;var aAnnts = oDoc.getAnnots({sortBy:"Author"});for(var i=0;i<aAnnts.length;i++){ if (aAnnts.type == "Redact") { if ((overlayText
Hello, I want to implement plug-in for font embedding. Is there any method to call font embedding from preflight through coding using Acrobat SDK. Please help me.Thanks,Sowbhagya
Hello there,i would like to use the adobe pdf reader com components in my application to show pdf files, which is selled to our customers.So I read a lot about licensing in this forum but my answer is still not clear. So I explain my steps:1. I added a Windows Forms UserControl to my Application, then added Adobe PDF Reader Com-Components to the UserControl. (VS 2017)2. When i perform step 1 , two libraries are automatically added to my project, AcroPDFLib and AxAcroPDFLib.When I Compile my project now, these two dll's are copied to my Debug/Release folder. To Run the Appliaction these Two libraries are needed.I dont't want to deliver Adobe PDF Reader at all, i just want to deliver these two dll's do my customers. If they have Adobe reader installed, fine it will work and pdf files are shown with Adobe Pdf reader, if not installed, a webbrowser control will just offer to download .Pdf files instead of showing them.Is there any need in this case to license it? The two libraries are usel
Hi there I got a fillable pdf created by livecycle designer. Spaces of most textfields are limited to the preset value (i.e., 150 characters). Can I use javascript to set the default font size to 12pt and if the input text exceeds the textfield area, the font size will be automatically set to "auto font size" but not less than 8pt. Is it possible?? I know I can set the font size to auto font size by setting the default font size to "0pt". But in my case, the default font must be 12pt and the minimum is 8pt. Is it possible??Thank in advance
Hi,I am using a template to add pages to a document which works fine. I have some (48) field calculations to check a box if an input value is between a certain range. It works fine on page 1. I know it is not working because the field names in the calculation do not change with the new field names generated with the new page.Here is the script I am using on Page 1:var drop = this.getField.("InputText7");var check = this.getField.("CheckBox1");if(drop.value >= '0' && drop.value <= '0.25'){check.checkThisBox(0,true);}else{check.checkThisBox(0,false);}Is there a way to use this page and a field containing a part of the name in the calculation as going forward the fields on all the pages will contain "InputText7" and "CheckBox1" but with P1 and the name of the template added to it etc.I am using Adobe Acrobat Pro.Thanks in Advance.David.
Can someone correct my script?I have 4 people that I want to use a form, and when they type their names at the top of the form, it writes the same name and current date in a field at the bottom.This is what I have, but it's not working:if (event.value=="John Doe") { this.getField("Prepared by and date").value = "John Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="Jenny Doe") { this.getField("Prepared by and date").value = "Jenny Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="Joy Doe") { this.getField("Prepared by and date").value = "Joy Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="James Doe") { this.getField("Prepared by and date").value = "James Doe util.printd("mm/dd/yyyy", new Date())";}FYI I'm a novice. Thanks in Advance
I have a text field on my form labelled "M1" on my pdf. The value of M1 will always be a number ranging from 1-6. I have three additional text fields on the form labelled T1, T2 and T3.I would like the values of T1 T2 & T3 to change, depending on what number I type in M1 For example,If I type the number "1" in M1, i would like T1 =1, T2 is left empty, and T3 left emptyIf I type in the number "2" T1= "1-2" T2=left empty, and T3 left empty.If I type in the number "3" T1= "1-2" T2=3, and T3 left empty.If I type in the number "4" T1= "1-2" T2=3-4, &n
I've made a pdf of our colleges previous course catalog and for some reason it added links to pages outside of the path for the catalog. I need to search for pages that contain part of the url "/news" and delete them from the pdf. I've tried using a javascript, but nothing in the document is ever removed. This is what I tried:for (var p=this.numPages-1; p>=0; p--) { for (var n=0; n<this.getPageNumWords(p); n++) { if (this.getPageNthWord(p, n) == "/news") { this.deletePages(p); break; } }}
Hello,I have some questions, I would be thankful if someone could help me: 1- when I open the ActiveView sample from SDK (Adobe DC) on windows, the selected pdf is not rendering properly, Do I need to do anything to get it to work without any issue? and when I click on comments the application stops working. Here is the Screenshot. 2- How Can I extend the ActiveView sample to have the commenting toolbar (including the drawing tools like line and etc...)? 3- Can I add line to pdf file through SDK classes? 4- Can I Enable commenting toolbar in Acrobat ActiveX control or is there any other control from Adobe Acrobat pro to use with commenting toolbar enabled?Thanks,
Hi,Hoping you can help.I’m trying to get a specific result shown, with a particular font colour and background colour to the text field after adding up a calculation based on radio buttons.I can do the showing of the specific result (shown below, attached to a text field), but am struggling to go get the colour changes to work…can anyone help?var nResult = this.getField("Result").value;if( nResult > 26 ) event.value = “TEXT BLOCK 1. (27-36)";else if( nResult > 15 ) event.value = “TEXT BLOCK 2. (16-26)";else event.value = “TEXT BLOCK 3. (0-15)";Is it something to do with this? event.target.fillColor = color.#FFFFFF : color.#800000;I can’t work out where to put it so it works…Huge thanks in advance
I need a form field for typing in numbers (prices) to show the number with ".-" in the end if no decimals are entered. Fx. if "200" is typed is should be displayed like "200.-" And if the number is typed with decimals it should not do anything. Fx. if someone types in "199.95" it will be displayed likewhise.Also I need the seperationstyle to be displayed like "." even though someone types in a ",".I hope it makes sense.
I have created a PDF which has form fields and a worksheet on pages 1-3. The overall PDF has over 100 pages with form fields that require the same data (different for each project) repeated on multiple pages. So I don't type the data repeatedly on each page, I enter it once on the worksheet and use an 'Action' to run a JavaScript 'On Blur' to inject the data on all the appropriate pages of the overall PDF.The worksheet form field 'Action' JavaScript looks like this...// Data entered in this field will populate in the fields below.getField("field1").value = event.value;getField("field2").value = event.value;getField("field3").value = event.value;getField("field4").value = event.value;getField("field5").value = event.value;This example is only one of about 50 fields on the worksheet. As mentioned above this only works with 'On Blur'. That's all well and good if one was entering the data on the worksheet field by field, and if the worksheet was always part of the overall PDF. When working
КАК ОТПИСАТЬСЯ ОТ ADOBE ACROBAT?Поддержка не отвечает. В чат не могу написать, он на английском. Деньги снимает с карточки Digital River Ireland Ltd.
Is there a way to write a web application (asp.net) that load pdf file, read its fields, edit the fields and save the documents with a new name? The C# examples that exist in the SDK are not web example and used to open the PDF file. This behavior can cause a bed performance in web applications
I am using Adobe Pro DC. Thanks in advance for your help!
Hi All.In my PDF form I would like to calculate total hours between two date fields StartDate and EndDate which formatted like m/d/yyyy. And two time fields StartTime and EndTime which formatted like HH:MM. If StartDate and EndDate are the same so total hours between = 0. If startDate and EndDate are different (5/10/2017 and 5/11/2017) so Total = 7. For instance:StartDateEndDateStartTimeEndTimeTotal5/10/20175/10/201709:0013:004:005/10/20175/11/201709:0015:3012:30How to solve that problem?Thanks.
Hi,I have 2 questions:1) I do not understand how something which looks like a button (see Image from Action Wizard form) shows up as a type: "ok" as shown below. I need to understand what a type of "ok" even means and why it is not a "button" as it is with the Skip and Cancel buttons. I looked and cannot find an explanation anywhere, only check boxes, buttons, etc.2) Once I understand #1, how can I make it so that the user only has to click this "Apply Label" button once to execute the entire loop. Right now the user has to click on "Apply label" for every document open. I copied what I think are relevant parts from the code (see Excerpts of Code below).Image from Action Wizard Form:Excerpts of Code (with relevant text in red): { &nb
I need a simple to place a numbering sequence on a dynamic stamp. I have searched the entire web for 5 whole days and have found that I must pay $140 to get such a simple java script to simply apply a numbering system to a dynamic stamp that counts every time it is placed! Is there anyway to obtain a script that I can add to a dynamic stamp to simply number itself 001, 002, 003, and so on for each time I place the stamp on a pdf document?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.