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

Script to Split PDF files on Bookmarks

I'm totally new to Java scripting.  What I'm looking for is a script I can run from batch processing with professional that will look at a collection files in s directory and split ech one of them on...

View Article


open file using Javascript

I am trying to open a file using a javascript dropdown menu. I know acrobat allows users to open a single file using the standard features, but I have about 30 different files that need to be...

View Article


Delete all pages except currently viewed?? Acrobat Javascript

Hello All,I need to delete all pages in a PDF except the one that is currently being viewed. I thought I had it with this:var keepPage=this.pageNumthis.deletePages({nStart: keepPage+1, nEnd:...

View Article

How do i use Select file dialog box in acrobat 7.0 using js?

hi,I need to use file selecting dialog box in acrobat 7.0.i already used in indesign scripting likevar f=File.selectDialog("Select a indesign file");this will return that selected file path.how can i...

View Article

app.launchUrl not working

app.launchUrl not working

View Article


How to create bookmarks with javascript?

Hello! I have a question regarding the creation of boomarks with javascript.I'm using the following line to create bookmarks:     this.bookmarkRoot.createChild(words[i], "pageNum=a");The problem is...

View Article

Search PDF

Hi,I've seen on this page how to implement the search functionality for a single word.. But what can I do if I want to search for entire senteces (or at least 2,3 words separated by space)?

View Article

Scaling SWF in PDF (FlashVar)

I'm currently strucling with an exported SWF file from Indesign, which I want to import in an interactive pdf. The importing isn't the problem, but it appears the SWF file does not scale with the pdf,...

View Article


Add Curent Date & Time to PDF when Printed

This is my first post so please excuse any ignorance. Basically we are in the process of creating electronic copies of SOP’s and putting them on our file server for all staff to access. Due to...

View Article


PDF Javascript Trusted DialogBox

Hi there, I am currently learning to develop in Javascript within Acrobat and I am playing around with Trusted Dialog Boxes.  I have read and search everywhere and I can NOT seem to get my code to...

View Article

PDF form drop down box, hides / shows fields

Hi I need a bit of help  I need to be able to have a drop down box with 5 options. Depending on what is selected I want to show several boxes relating to that selection. i.e If 'option three' is...

View Article

convert

How to convert this excel formula into calculation script in pdf?=DATE(YEAR(M9)+L9,MONTH(M9),DAY(M9))

View Article

vbs string variable to pdf

What I need sounds so simple yet, here I am. Currently I have a library function that many scripts use to output a text file. The function receives the string (can include vbnewline and tabs) and a...

View Article


Is it possible to run an action from an acrobat javascript

I'd like to run an action created in the "Action Wizard", from a javascript.Is it possible? Otherwise I need a way to save a pdf from javascript, with the same settings as set up in the action...

View Article

pdf form: Linking several fields so that one only shows when a certain...

I have created a drop down field named STATUS with three options, R, Y or G. I have created a traffic light of 3 radio buttons with background and fill colours red, yellow and green. I would like to...

View Article


Converting excel formula into calculation script

How to convert this excel formula into calculation script in pdf?=IF(K10="PRF1120",13,IF(K10="PRF1020",10,IF(K10="PRO1020",8,IF(K10="PRF1140",5,IF(K10="ACC 1020",3,IF(K10="PRO1080",4,""))))))

View Article

How can I add form field value to the file name in save as dialog box

I do not want the form to be saved automatically, just want the form to auto populate the "file name" only. A little background on the forms I want to use:  My company has 70 retail outlets, I'll use...

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

Insert page argument problem

Hello! I am having a problem with the method insertPages. this.insertPages ({            nPage: pageArray[1],            cPath: getField("filename").value        }); This code is in a for loop and...

View Article

If Else Statement for PDF Form

I am unfamilar with JavaScript and need to create a calculation for a PDF form. The form is used to determine profit. There is a radio button called payroll with two values, "internal" and "external"....

View Article
Browsing all 12130 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>