Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Good day!I'm new to writing scripts, and I'm having problems with the code.I have a vba code to open adobe acrobat, AcroRd32 version. Next, I need the opened document to be saved to the specified folder on the computer (the folder can be changed) through the print "Microsoft print to PDF" and the function "Print in grayscale (black and white)".Please help me sit over this code for the second month already.ThankThis code i open prom excel.Sub openPDF1()Имя = ActiveWorkbook.Name ' name excel fileSheets("from path").SelectDim Path As StringPath = "C:\Users\ta.va\Desktop\20\081334000010142018001_44.pdf"ActiveWorkbook.FollowHyperlink PathEnd Sub
I have created a document where certain fields are updated based on triggers in other fields. Part of this update includes changing color formatting from black on white to white on black. The autopopulated fields are updated as the trigger fields are also updated. I have also added the ability for users to manually override the autopopulated data. (4 wins)After an autopopulated field has been manually updated, I need the color formatting to return to black on white. I'm not sure where I'm missing, and I may be double dipping. Here is the scripting I've put together for the calculation, validation and keystroke.CALCULATION:event.rc = !event.target.bDetectvar v = this.getField("Award Value").valueAsString; var z = this.getField("USG").value; if (z=="NO"){event.value = " NOT A USG CONTRACT";event.target.textColor=color.whiteevent.target.fillColor=color.black}else if (v<10000000){event.value = " BELOW THRESHOLD REQUIREMENT 
I have the following code (which probably isn't written the most efficient)....// TURN ON ALL EYE ICONS FOR THIS PAGEif (this.getField("groundState") != null){var getState = this.getField("groundState");var theFieldsPage = getState.page;if (getState != null) {// Look through the fields page numbersfor (var z = 0; z < theFieldsPage.length; z++) {// Find the field on the right pageif (theFieldsPage == this.pageNum) {// Only change the display of the field on this pagegetField("groundState." + z).display = display.hidden;}}}}// TURN ON ALL EYE ICONS FOR THIS PAGEif (this.getField("021state") != null){var getState = this.getField("021state");var theFieldsPage = getState.page;if (getState != null) {// Look through the fields page numbersfor (var z = 0; z < theFieldsPage.length; z++) {// Find the field on the right pageif (theFieldsPage == this.pageNum) {// Only change the display of the field on this pagegetField("021state." + z).display = display.hidden;}}}}// TURN ON ALL EYE ICONS F
Should I sign out the Adobe ID on old computer?It's for business using, my question is when user changed or computer changed.How do I deactivate the license and install on new user or new computer?
Hello,I am trying to create a custom stamp, that once applied, will prompt the user for more information. In this case, once I apply the stamp, I want to pop up a Javascript window asking for PO number and traceability number. Is there anyway to do this?Thank you in advance!
Hi,I am much new to the vba as well as for the Adobe Forum.I need to convert .pdf file to an excel file via excel vba.To get done it,I am required to have Acrobat sdk vba reference.So I downloaded it from Adobe Site using this Downloads this link.When I browse through vba reference library those file are not displayed but only a tlb file is displayed.when I activated it and run my macro it says "UNABLE TO CREATE ACTIVE X COMPONENT".How do I solve this?
I have been asked to create a PDF where a user will select from multiple choices. Each choice should display a text box with different information. I'm new to programming (and to programming in Adobe). I understand from poking around that I will use validation script coding for the drop-down list. I've found an example, but it doesn't work and I've checked and rechecked the code with the same outcome. Here's the example code:this.getField(txtDescription").display = event.value=="Other" ? display.visible : display.hidden;txtDescription is the text box that will display if "Other" is selected from the drop-down list. For my form, I need 3, or more, drop-down choices, each of which will display a corresponding, otherwise hidden, text box.Any pointers will be greatly appreciated. Any links to tutorials would also be greatly appreciated.Thank you
Hi,I'm working on a QR code, I've selected some text fields (NAME, TITLE, PHONE, EMAIL, URL), inserted a QR code and it works but it doesn't create the Vcard format I need (when I scan the QR my cellphone doesn't recognise it as a contact that I could easily save in my phone clicking on "add to contact".So my problem is that I would like the QR code to be a Vcard but when I try to modify the script (with the custom calculation script option) this appears and at this point I get lost:---------------------------------------------------------------------------------------/* Customize: */function bMemberOf(strName, aStrNames){ for (var nMembIdx in aStrNames) { if (strName == aStrNames[nMembIdx]) return true; } return false;}function strTabDelimited(oParam){ var bNeedTab = false;  
I have a field that is the sum of 3 other fields. How do I leave the field blank if the value is zero?
After Installed on new machine, won't move out of trial state after owning and using for 5 years. Registered with adobe since 2011 after upgrading from 6.0. Verified SN#
Hi,I have used Adobe Acrobat PRO DC software. Tagging a PDF document is pretty much easier when compare to other software. If the document is tagged then we can view the tagged objects as (Paragraph/Table/Figure). So, my question is. Whether i can get those tagged objects(Paragraph/Table/Figure) programmatically from a PDF.So, here by using the Accessibility Tool we can view each and every object as Paragraph or Table. Can we extract those objects programmatically as JSON/XML? Guide me..Thanks and regards,AJAY
I am looking to extract pages 7, 16, 17 of an 18 page document...and then combine them into one separate document.At the moment I am using:this.print({ nStart: [7 - 1], nEnd: [ 7 -1] });this.print({ nStart: [ 16 - 1], nEnd: [ 17 - 1] });Printing the pages and then combining them manually which is not great...Any help would be greatly appreciated.
Hi,Using Adobe Pro I created a new form that a user can fill in digitally. But I know a certain part of my customers prefer to print it first and then fill it in. The form has two drop down list fields. If printed the user can’t see the values in this lists. I thought about creating a print form along in the same document. If the user fills in the form I want it to print page 1 and if the fields are empty I want to automatically print page 2 and 3. I tried the “will print” JavaScript but did not succeed yet. Can anyone help me out?
Does the Adobe SDK support conversion of htm / html files to pdf silently? How is the support / performance for HTML5 based files?
I have created a form and has an email option but I am wondering if I can have the JS automatically save the document with the person's name and then ask to whom it would be sent to. The person's name is a field.
Hello I have a PDF form that I have made. It has a dropdown box with 0,1,2,3 I would like a check box to tick if 1,2 or 3 is selected.Could someone please help me
I have a PDF with many layers that are hidden or shown based on javascripts and field values. I'm trying to print to post script and the application freezes and then crashes about 30 seconds later. I'm able to print to post script with another pdf, but this one in particular will not work. It's a pretty large file (13mb), so I thought I would try to flatten it and reduce the file size, but I still have the same problem. Below is the function I'm using to print:function PrintThis(){var pp = this.getPrintParams();pp.fileName = "/filepath/something.ps";pp.printerName = "";pp.interactive = pp.constants.interactionLevel.silent;pp.pageHandling = pp.constants.handling.none; if(typeof(PrintToLoc) == "function"){ PrintToLoc(this, pp); } else{ app.alert("Missing system access priviledges. " + "Please contact administrator."); }}Are there any
I have a field called "MileageRate". I would like that field to toggle between read-only and "read-write" when clicking a button. This way, each year that the mileage rate changes I can just enter the new rate, then make read-only again without having to actually use the "prepare form" functionality of acrobat to make that change. Is there a javascript I can use for that? I don't have any sample to enter here because I don't know how to write javascript... but I've become quite talented at copying and pasting .Any help is appreciated, thanks!Ariel
Hello,We are using Acrobat plug-in to save PDF from our application. For one particular scenario we are trying to save a non-english filename (like Chinese, Japanese, Korean, etc) to PDF. We are using AFExecuteThisScript to call the saveAs method to actually save the PDF file.As per documentation we found here:ASBool AFExecuteThisScript (PDDoc pdd, const char * cScript, char ** pRetValue)AcroForm Methods Executes a JavaScript script.Parameters: pdd The PDDoc in which the script is to be executed. cScript A string containing the text of the script to be executed. If Unicode, the string must begin with 0xFEFF and end with 2 null bytes. If this is not the case, it is assumed to be in the application's language encoding, as returned by AVAppGetLanguageEncoding. pRetValue To get a return value from the execution o
Hi there!Hoping someone might be able to help explain this to me.. I searched for a while and can't find any similar occurrences.I just went to add a footer to a document I'm working on (manually - using the "Header & Footer" tool). As soon as the options window came up, the JS console also popped up and started going haywire with errors. Each time I typed a letter or clicked anything on the Header & Footer options window, the console showed another block of the same errors. In all there were over 600 lines of the same errors repeating.They are all mostly reference errors claiming that several of my document level functions are not defined - when they most definitely are.Does the Header & Footer tool cause some sort of JS event? And if so, why wouldn't it recognize the functions? I'm super confused here. An example of the errors is below.Thank you!ReferenceError: no_zero is not defined1:Field:FormatTypeError: f is null1:Document-Level:addTodayReferenceError: no_zero is not
When viewing pdf on the web using adobe sdk, can I disable the toolbar and hands up display?
J'ai enregistrer un fichier de Texas-Instrument une partie de ce fichier ne peu s'imprimerJ'en suis a me poser la question: Ne faudrait-il pas prendre l'abonnement afin de pouvoir l'imprimer en entier; Car Texas-Instrument me certifie que le fichier et au complet soi 617 pages et il manque de la 212 a la 535 Les pages apparaissent sur l'écran mais ne peuvent s'imprimer Es une manière de @faire prendre l'abonnement pour pouvoir imprimer la totalitée
I'm likely out of my element here... but here goes!I created a file in excel and made a form with it in Adobe Acrobat XI Standard (in Windows).I have 3 dropdown lists that I want to be dependent - or cascade? For example - if the category "BOILER" is chosen, then the Sub-Category only allows a list containing "Alpa, Beta, or Charlie" as it's 3 choices... and if Beta is chosen as the Sub-Category(1), then the Sub-Category(2) only has a list containing 1033, 1003, 10003Is that realistic or too complicated for a beginner like me?
I've searched about as much as I can search while I'm in the office. Problem is this, when I go to measure tools, select the perimeter measurement type and click to start measuring the line that shows while in the process of measuring looks to be around 12pt thickness. After completing the measurement the line can be edited with the properties option, and I've tried make these default etc. The line after completing the measurement is fine, but the line while in the process of measuring is still gigantic no matter what I do. FYI it's my boss's computer that's having this problem so there is no telling what he did and I haven't be able to find an option in preferences that has to do with the "preview" line or whatever we want to call it.Windows 7 64 bitadobe acrobat pro 11.0.17
I cannot highlight text without getting a comment as well, jus want to highlight text. I believe a made changes to the comments tool but I cannot figure out what I need to remove to highlight only in Edit PDF
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.