Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Anyone have a javascript code that will attach an email as normal (via the email button) and add the subject line as the filename? I would like this to be a button on the toolbar. I'm using acrobat 9. Thanks!
I require assistance, I have a powershell script that will batch convert multiple .RTF documents to .PDF documents, using Microsoft Word, however, now I wish to modify this script to batch convert .jpg to .pdf and since Word is not best suited for this. Is their a way I could change my script to do the .jpg to .pdf conversion using Adobe or some other application, please?#Change the path$path = "C:\jpeg\"$word_app = New-Object -ComObject Word.Application#Convert .rtf to .pdfGet-ChildItem -Path $path -Filter *.rtf? -Recurse | ForEach-Object { $document = $word_app.Documents.Open($_.FullName) $pdf_filename = "C:\pdf\$($_.BaseName).pdf" $document.SaveAs([ref] $pdf_filename, [ref] 17) $document.Close()}$word_app.Quit()
Hello,I'm creating a form in which if someone fills out the bill to section of the form and checks our "Same As Bill To" check box, then all the rest of the fields will auto populate. So far I have had no luck executing this.My check box is named "SameAsBillTo", and if it's checked I want all the following field names to equal each other:Customer name2 ("CustomerName2") = Customer Name1 ("CustomerName1")"Street2" = "Street1""City2" = "City1""State2" = "State1""Zip2" = "Zip1""Contact2" = "Contact1""ContactEmail2" = "ContactEmail1""ContactPhone2" = "ContactPhone1"I have minor experience using javascript editor but, previously I have been successful using it for formulas. I researched this question on a bunch of other forums and have tried coping similar codes and have matched it with mine, but nothing has worked yet. Below is an example of my current code:if(SameAsBillTo=="Yes"){this.getField("CustomerName2").value = this.getField("CustomerName1").valueAsString;this.getField(
I just received notice that Java will no longer be available to the consumer after 2020. Will Adobe Acrobat Pro DC still work without it? I don't know what Java does and need to know if I can just delete it.
When I convert a Word to a PDF I would like to have JavaScript added automatically. The functionality like inks etc being kept during the conversation is very limited. Currently I need to add functionality to the PDF by means of JavaScrip manually to allow e.g. jumps to attached documents. Is there any posibitly to automate that?
Hello,I am new to using an editable PDF form and want to use one for my lab class. I am able to create the form and I would like to put a check box in place, so that only I can access with a password to indicate that the student has completed that particular portion of the lab. I understand that you would need a java script, but I have no idea of how to create this script.Any help would be greatly appreciated.
Hi All,A 1st timer here,...I have Acrobat Std 7.0 & recently needed to wipe & re-install my computer, I'd obviously had at some stage run the updates in the previous installation of Acrobat, but when I went to use the program since installing it noticed the Typewriter Tool was missing.I have learned that this was included in the 7.05 patch, but I am having difficulty locating this update.The Adobe ID page only includes the original release 7.0.0, with no links to incremental updates,..I've tried to run the "Check for updates now...", but it says no updates are currently available.Can anyone help.Thanks
I have a form that has 5 different radio button options. The group name is Unauthorized Debit. Each radio button has a unique export value, i.e. button 1 is value 1, button 2 is value 2, button 3 is value 3, button 4 is value 4 and button 5 is value 5.Each of these radio buttons has a text field in the sentence they are attached to that i want to populate ONLY if that sentences radio button is selected. I have written a script to do this, and it populates when i select an option, HOWEVER, if the user decides that they didn't want to click that radio button and they select a different one, the previous selections text field stays populated, even though a new selection has been made.This is the script I added to each radio button. The getField changes in each, button 1 has a field that is just COMPANY NAME, the below example is for button 2, and so on for buttons 3 (COMPANY NAME_3), 4 (COMPANY NAME_4) and 5 (COMPANY NAME_5). I cannot find anything on how to
Below is the script that I used under "Document Will Print". when I tested using Adobe Acrobat Pro DC it worked great. When I tested using Adobe Reader XI, the date did not show up, even though JavaScript was enabled. Any suggestions?this.addWatermarkFromText({cText: util.printd('mmm d, yyyy h:MM tt', new Date()),nHorizAlign: app.constants.align.center,nVertAlign: app.constants.align.bottom});
Hi I am trying to compile the c++ samples from the Acrobat SDK in Xcode on a Mac and I get several warnings from Xcode like: "Possible misuse of comma operator here" and also "Non-portable path to file '".."'; specified path differs in case from file name on disk". Looks like the SDK has not been updated to deal with changes in Xcode for a long time. Anybody else who have experienced this?
I need help converting the following equation (taken from my excel worksheet) to work in my form in Adobe DC: SUM(D13:D15)/15*C13
Just need to find out how to check if a file is open using JavaScript:I have this but it doesn't work if (myFile.open) <----This is where I need to check if a file is opened. { openDoc.insertPages({cPath : p}); } else { var openDoc = app.openDoc(mFile); openDoc.insertPages({cPath : p}); } }THanks.
Hi,I need to execute a folder level javascript in Acrobat Pro DC (Version 2019.008.20071) which was accessible in Acrobat Pro XI through the Add-on tools menu item and worked just fine. Unfortunately I am missing the Add-on tools menu item in Acrobat Pro DC.Does anyone know how to use folder level javascript in Acrobat DC via a custom toolbar button, like it was working before in Acrobat XI Pro?I tried both, installing the script in the user and app javascript folder of Acrobat DC.
I am trying to get a pop-up screen, where you can fill in data.This data needs to get added into dynamic stamp.But i cant get i presented ? can anyone help me ?// JScript source codefunction dialog() {var dialogDescriptor = {description: { name: "NTA Enexis test",back_color: "windowBackground",gradient_type: "darkToLight",elements: [ {type: "static_text",name: "STATUS",},{ width: 200,height: 22,type: "popup",item_id: "pop1",},{type: "static_text",name: "UITVOERDER",},{width: 200,height: 22,type: "edit_text",item_id: "pop2",PopupEdit: true,SpinEdit: true,},{type: "static_text",name: "REVISIE NR.",},{width: 200,height: 22,type: "edit_text",item_id: "pop3",PopupEdit: true,SpinEdit: true,},{type: "static_text",name: "PROJECT NR.",},{width: 200,height: 22,type: "edit_text",item_id: "txt1",},{type: "ok_cancel", &nb
var num=12var num1=33var hm=applevar al=orangeif var's has values:var num=12var num1=33var hm=applevar al=orangethis.getField("Text1").value="check"+num+" "+hm+" "+num1+" "+al+" with :"i want thischeck 12 apple 33 orangebut when i have var num=""var num1=33var hm=""var al=orangecheck 33 orangewhy var with "" system add space? how to add "nothing"e.g.check 33 orange
Hi - i am trying to figure out how to generate PDF's on demand via an API call. I build a template and then populate it based on content I have generated with the users content. I would like to stay in the Adobe stack. Can i do it? What products do i need? I could do it in Webmerge or PDFGenerator (comments please) but would like to leverage DC and the design stack in Adobe. Can't see any info on this anywhere. Any pointers please?
!So, I'm trying to fill in a form I made with information in a txt file and then save it to one of a number of folders according to information in the form. I have a series of folders setup named after number ranges (i.e. 1-49, 50-99, 100-149, etc.) and some of the folders are preceded by the letter "z" because our numbering system for what we're tracking with these forms includes some names formatted with a Z at the end ( the people here before me kinda suck).The logic of the code I'm trying to correct is such (if you just want to see the code it's below):import text data within a while loop -> use indexOf to search the target field value for the letter Z -> use switch to setup 2 blocks of code, 1 for values that contain "z" and 1 for values without "z" -> determine which code block to run based on the "z" -> use substr(0,3) to pull the first three characters from the value and use that in the code blocks to compare to our number ranges to see which range the number
i have a pdf file with javascript, the code works perfectly as long i´m working in the file, but when i use the "save as other/reader extended pdf/enable more tools" and i open the new file, the code no works at all.i use the javascript console and i got this message: ReferenceError: showCharCount is not defined1:Field:Keystrokei´m using this code to get the character count of a field:in the fields from which I need to take the count, in the custom keystroke script:showCharCount();in a second, thirtd and fourt field (this fields are not visible to the end user, it is only for the following function):// Document level function function showCharCount() { // gets whats on the field var num = AFMergeChange(event).length; // show characters getField("count").value = num; }and finally in the "totalcount field":// Set the minimum number of characters
I'm trying to create multiple pdfs from one base pdf using records from a database. I'm looking to do this from forms on a site, so I'm also hoping someone knows of a good service to use where this is possible. My first idea is to use AWS and see if I can get an instance setup with Acrobat in order to do this. I'm not quite sure if this is the route I should be going, so I'm open to any suggestions as well.
hello, i use this on Text field :event.value = event.value.replace(/\,AbAb/g, "1234");program check if AbAb and replace it with 1234how to run only one time this loop? and if i write again AbAb the keep AbAb ??
How would you auto-populate an image with the conditional of a text field if the images are on the same document?If you type A in text field 1 then an apple appears (image 1). Is this possible? How do I do this?Thank you!
it is possible to write something like this and work?var fields = ["Dropdown14.0","Dropdown14.1","Dropdown14.2"];var fields1 = ["Text1","Text2","Text3"];for (var i in fields && i1 in fields1) { var f = this.getField(fields); var f1 = this.getField(fields1[i1]); if (f.valueAsString!=1==false && f1.valueAsString!=2==false) total++;}i now the syntax "for in" check only one table at the time... it is possible to check 2? because now this not work...
So I was completely unaware of javascript and calculations forms within the PDF world, but it would come in handy for a project I'm working on.This is an order form for printed collateral. I've designed it into categories (per type of print), and 4 columns in each row for quantities, and a checkbox for each quantity.I've done the pre-work by defining all of my checkbox values and unique names, now the hard part.I want to have a subtotal calculated from a selection of checkboxes, then each subtotal from each category will be added for a final total value. I've tinkered around in the 'prepare form' calculation property, but it doesn't revert to zero when a checkbox is deselected, and it recalculates all boxes checked every time a new box is checked. Ex: 250 is checked, and it calculates 115, but if an additional box is checked with a value of 145, it calculates it at (115 x 2) + 145 = 375, and it simply adds the value every time a box is checked or unchecked.Is there way to predefine eac
Batch conversion of PDF to Docx and then back to PDF in one go using action Action.A script would be helpful.
I want to have a checkbox if based on the values from a combination of other checkboxes, ex; if 2 or more of 7 checkboxes are filled I want checkbox 8 to autofill. if only 1 of other 7 checkboxes are filled checkbox 8 does not autofill and is left blank
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.