Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
I have the following document level script:function Openn(){ if(this.getField("cobuyer").value.length == 0) { this.getField("xcobuy").display = display.hidden; } else { this.getField("xcobuy").display = display.visible; } }Openn();I am getting the following error:Acrobat EScript Built-in Functions Version 10.0Acrobat SOAP 10.0TypeError: this.getField("xcobuy") is null9:Document-Level:OpennThe form is being produced with the data already in it and that field is not nullThanksJasper
Hello,I am attempting to automate the process of adding a "Back to Index" button on the first page of each section of my PDF. All the pages I want to add the button to are bookmarked. I do know that you can duplicate a button on all pages, but really I only want the button on the FIRST page of each section. I have some coding experience, just not with Adobe javascript. I was thinking of an implementation that loops through all the bookmarks, pulling the page number they reference, and calling an "add button" function. Is this even possible? If so, could someone guide me along they way with some pre-written scripts?Or is there an easier way to do this? I appreciate any help!
How do I extract the PDF version of a PDF file using Visual Basic code?
My Javascript code for calculating a value from a specific date difference the debugger complains with no understandable reasons.E.g. "GetFullYear is not a function" although These are normal Javascript functions.This is the code:var PastDate = this.getField("Datum1").value;var jetzt = new Date();PastDate = PastDate.split(".");var DateDiff = jetzt.GetFullYear()-PastDate[2] + 12*(jetzt.GetMonth() - PastDate[1]);this.getField("€_2").value = DateDiff / 12 * this.getField("Prozent1").value / 100 * this.getField("€").value;Could anybody inform me please what is wrong at the script and where I can find a suiting documentation to easily build such scripts?Cause the Adobe Javasript API Acrobat DC SDK Documentation does not really help.Thank you very much.
dear support I need some help here,can we custom tool group to show in web browser?regards
Hi all,I have a question. I only know a bit of VBA, so Javascript is still a bit of a mistery to me.What I need is a program like this:If papersize = A4 or A3 ThenPrintsize = A4ElsePrintsize = A3This way, all our big drawings (A2-A0) will be printed on A3. The rest on A4. (Our A3 drawings are perfectly readable on A4 and that saves a lot of paper in the end.)I don't mind if this means that for a document of 20 pages, there will be 20 printjobs.thanks
Dear support, I need some help here.I've been tried for find AdobeSDK 8 and 9, anyone have an Adobe SDK 9 and Adobe SDK 8?Regards
Hi, I would like to use javascript to digitally sign a document, in order to be able to sign many files at once using action wizard.Does anyone know the script to add a visible digital sign to a document?Thanks in advance,
I have a bunch of documents named similar to the following:ThisProduct_01-TEXT.pdfThisProduct_02-TEXT.pdfand JPG covers for them:ThisProduct_01-COVER-FRONT.jpgThisProduct_01-COVER-BACK.jpgThisProduct_02-COVER-FRONT.jpgThisProduct_02-COVER-BACK.jpg(etc.)What I currently have:I have a working script that works as follows:[1] Before running script > Open a PDF, then drop the two cover images at the front of the doc.[2] Run script > Script moves cover JPGs to correct place and renumbers pages accordingly.What I want to be able to do:I want to be able to have JS access the filename of the currently open document so that I can then run some string replacements that enable it to automatically find the JPGs and run the rest of the script that I have working. The workflow would look like this[1] Open document[2] Run script... and there is no messing around trying to find the right images as Acrobat JS determines what they are called based on the open filenameMy Question:How can I retrieve
I'm using the Javascript object interface to set properties of multiple annotations on a page. I would like the set the properties of all selected annotations at once but this method only allows setting the properties of one annotation at time, forcing me to iterate through all selected annotations and set them one at a time. The is very slow. In Acrobat DC user interface I can select multiple annotations and set all their properties at once (very quick). Is there any programmatic means to accomplish this?
Hi Everyone,Our form requires about 5 different people to look at it, one after the other. I set up a button for each person to press, once they sign it, to email a copy of the form along to the next person.Rather than sending a copy of the form via email, I'd like to have the button email the PDF file's location to the next person in line. We all have a shared network so no problem regarding that. I'm just not sure what I need to write in order to get this done!Any suggestions would be a appreciated!
following up with another question related to filling data in adobe form from the file name...how do I code to search the file name and if the part of the file name contains a certain name put (or pick) yes in the drop box in the Adobe form?to clarify....file name Doe, John (1234) SOAP 01.01.2018PK-4th wk.pdfas this file name contains 4th wk, put "yes" in the drop box in the Adobe form.drop box name is "4th wk".THANK YOU for your help.I should try to learn javascript and stop bothering people. once again thank you!
Hi,I'm trying to script 3 different drop box in Adobe Acrobat Pro Dc and I'm wondering how I can script this so that when the first selection has been made in the first drop box, only certain selections would show in the second drop box and after selecting the second drop box only certain selections would show in the 3 drop boxthese are the 3 drop box im trying to script.So in the first drop box theres the services that people would choose for the cellphone and in the second drop box they have to select the IOS or Samsung etc. and the 3 drop box they would select the phone type they would like.is there anything or anyone that would be able to help me with this?
Hello world,I have a problem with a form I'm trying to put together; the form will be used to tally the amount of trucks coming into a job site (I.E. it is a grid with checkbox items that are ticked as trucks come in). The problem is, I'd also like to add the option of having a textbox with a value that will automatically tick the right amount of checkbox items, rather than checking them all one by one. I guess in summary the code would need to be like this: inputs > 0, Check Box 1 is checked. inputs > 1, Check Box 2 is checked, etc.I have no real experience with javascript, so any help would be appreciated,Thanks,
We have PDFs with lots of pages. On some pages we have links to external files like XLSX or PDF or folders. Is there a tool or a java script, which scans automatically all existing links in my PDF if the expected target of this link does exist? At the end it would be perfect, if I get a list from all failed links. Thanks a lot in advance for any help.Manuela
After now paste the certificate now (static) works,I should insert now dynamically as possible depending on a text.How can I determine the position of a text or a graphic,or what other way there is the positioning?
Thank you for the support for insert a certificateIt works great when the script is executed in the JavaScript debugger.Unfortunately it does not work if I the script using VBA with fields.ExecuteThisJavascript (jsCode) wants to start.What could that be?Security settings?
I'm unsure where I have to call `AVWindowNewFromPlatformThing' and `AVWindowDestroy'.Everything works fine until I exit Acrobat and get an alert box with `Adobe Acrobat DC has stopped working'.I've tried to put the function calls everywhere without any success.Problem signature: Problem Event Name: BEX Application Name: Acrobat.exe Application Version: 18.11.20055.27899 Application Timestamp: 5b363d8a Fault Module Name: pluginname.api_unloaded Fault Module Version: 0.0.0.0 Fault Module Timestamp: 5b5f717b Exception Offset: 708eda78 Exception Code: c0000005 Exception Data: 00000008 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1031 Additional Information 1: 8508 Additional Information 2: 85082419dd18a94700c1143a806349b7 Additional Information 3: a9e2 Additional Information 4: a9e2f2cd020b33c1d41a5eff016d3fabWhere do I have to call `AVWindowNewFromPlatformThing' and `AVWindowDestroy' from and d
Hi I have a fillable pdf with information. I want to convert the fillable pdf to read only programmatically using vba. Is it possible to do so? If so can someone help me with the code?
Hello,I am putting together a multi-page pdf that has navigable buttons on the top and bottom of every page.On the cover, I would like to explain my readers about the functions of those buttons. Is there any way to have a nice colourful instructions box with round corners that would appear when they click on the instructions button but disappear as the reader clicked anywhere outside that box.Thank you in advance.Jo
I've been fighting an issue with creating a dynamic stamp. I can't seem to get popup menus (list boxes) in dialog boxes working. The popup menu is displayed properly in the dialog box, but there is no content in the dropdown, although it is defined. The javascript is in two locations.The global (document) javascript:var builder = { // These map to Text Fields in the Stamp textBoxes : [ { field:"Name", description:"Name:", default:function() { return ""; } }, { field:"Company Name", description:"Company Name:", default:function() { return ""; } }, ], // This maps to a Popup Group in the PDF named 'Project' popupGroup: "Plan Section", listItems : [ &nbs
I am working on an itemized expense form and need to track mileage. I am trying to enter a formula that will add each of the columns for miles and then multiply that total by the .545 standard mileage rate. Any help would be appreciated. Below is a portion of the document I am working on. I only need assistance with the totals for the Mileage. Thank you!Dates: TOTALS:Breakfast($15.00 max)Lunch($20.00 max)Dinner($30.00 max)Registration Airfare Hotel/Lodging Rental Car Transportation Parking Mileage (# of miles x standard IRS rate)Other(Explain below) Explanation of other charges: _______________________________________________________________________ Funding Acct Number: _____________________________________________________ Total expenses:
The purpose of the form i am making is to have blank fields as NOT readonly and fields that are filled in as readonly. If the filled in fields need to be modifed, i have an edit button that turns all fields that are readonly as false and once ONE field is edited it disables editing unless you click the edit button again. The PDF is working fine if i go to each field and paste the script below into is custom calculation script{var f = this.getField(event.target.name);if (f.value == "")f.readonly = false;elsef.readonly = true;}However since i have many fields and files where i need to apply this to, I need a way that allows me to apply this script to all fields in the PDF.What i tried doing was selecting all my fields BUT when I opened the properties tab it does not give the calculate tab to enter a custom calculation script (see below):It does give the option to add a javascript action so I added the javascript with a mouse up trigger. I used the same code {var f = this.getField(event.t
is there way to automatically bring in file name in the one of the text box in the adobe form?sorry in advance for dump question.example for my question. assume file name is: "john doe (XXXX) 07.26.2018.pdf"take the john doe (name of the file) and automatically input in to one of the text box in the form. text box name is "name"Please let me know and thank you for your help. THANK YOU!
For ages, I have produced my "transparencies" by editing PDF files. I remove parts step by step in order to show those pages in reverse order, presenting my stuff paragraph by paragraph (or even line by line).In the new version of Acrobat Pro, editing (often) influences other parts of the slide, even other paragraphs that should not be effected, ruining my presentation. How can I make sure that nothing but the edited parts are effected, just like the good old touch up tool did? If that is not possible, I have to return to an old version.
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.