Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Browsing all 12130 articles
Browse latest View live

Read specific XMP field

My clients rename the PDF files that I send them for review. So when they send one back as "Approved" I need to figure out which InDesign document created the PDF. I have created a JavaScript that...

View Article


Duplicate range of pages several times

Hi! I currently have a script that I repurposed to create a copy of each page of a PDF. I believe it was free from evermap.Now I'm trying to adapt the code to get what I want.I need a new file in which...

View Article


Submit with new file name

Using Acrobat XI, Is there was a way to script an Acrobat PDF form so the filename could be saved using the information from the form. For example, if the form contains fields for First Name, Last...

View Article

RaiseError: File does not begin with '%PDF

I have an application which has below script:var oDoc = event.target.openDataObject("testing123"); This script works fine if I run it on my local machine.  But I am planning to place the pdf...

View Article

Image may be NSFW.
Clik here to view.

Need Help Creating Custom Calculation Script Please

Hello,  I am in desperate need of a custom script here if anyone knows how to do it. I essentially want the percentage field to automatically fill in based on the fraction, rounded to the nearest...

View Article


extract last page

I have a form that could be 20 pages, 30 pages etc based on user inputI want to be able to extract the last 15 pages of the document and email to the member through an action script or button or...

View Article

can't select fields for calculations

someone suggested I try this section.  Hi I am using acrobat 9 pro and i can't slect field for calculations. I can select all of them by clicking on select all and can deselect all. but I cannot choose...

View Article

Pantone color(s) information for web use

How to embed the Pantone color(s) information in a Logo PDF? I have tried to upload a logo pdf, however the Pantone colors information could not be recognized on the web platform. Is it possible to...

View Article


script

Hi, i hope someone can help me. I have this Custom Calculation field:ColorField('AdjustedCO2Reading',ValidateWithSetPoint('CO2SetPoint','AdjustedCO2Reading',0. 2)); I would like it to have: -1 > 0.2...

View Article


Display document data in dialog box

I am using a folder level script to do the following: Get a specific XMP field value from an open PDF file:this.info.InDesignFileName Define a dialog box Create a menu item that calls the dialog box...

View Article

Auto Populate Text Field With Users Windows Logon Username

Can anyone tell me how to acheive the following, I want a text field in my form to be automatically populated with the users windows user name. I have found a reply "Define a new Request.Server...

View Article

how to draw in Acrobat?

I know this is probably not the right place for that but...I am developing a Asp.net app that deals with PDF forms. I have learned how to do the entire javascript on PDF documents, how to submit FDF...

View Article

How to Apply Security or Remove in Batch using Acrobat X

I’m using Acrobat X Pro. I’ve used Acrobat Pro 6-9. I need to remove security in batch and apply security to about 100 PDFs. I’m totally lost in Acrobat X. Where are all of the batch sequence commands...

View Article


javascript that can convert numeric values to words like

Can anyone help me in this matter. I want to make automatic conversion of number to word likeex. 300 = Tree Hundred, in different box. Thanks in Advance

View Article

JavaScript works in Pro but not Reader - NotAllowedError

I have created a web form in Adobe XI Pro. We have some progress bars at the top with number of fields completed type of thing. All of my JavaScript works perfectly in Acrobat. I save it like so Save...

View Article


Is there JavaScript to turn on toolbar buttons in Reader X (in browser)

Is there some JavaScript to turn on tools in Reader X (when Reader is launched in the web browser).  I need something that is the opposite of this script;app.hideToolbarButton("Tool");   i.e. I need an...

View Article

Currency Converter Script

Hello Acrobat Experts,i need in your help.i want to create a Currency converter form.i created a new form dragged, label,2 drop down boxes, text box and a button.i want the java code for converting...

View Article


I am being asked to upgrade my account when I already have a plan to create...

How can I use my account when I already purchased a plan to create PDFs from other documents?  It is not letting me proceed as if I don't have an account.

View Article

How do I update an acrobat file document tree using javascript?

Is it possible for acrobat javascript to update Heading levels?

View Article

Adding a date stamp using Acrobat XI

Hi there I want to add a date stamp to a voucher PDF, so that when it is downloaded and printed out, it displays today's (system) date. I followed the tutorial at:...

View Article
Browsing all 12130 articles
Browse latest View live