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

exportDataObject invalid action object

Hey Guys, I hope you can help me. Reader Version: 11.0.08  I use the following function:function test(){     app.beginPriv();     t = app.activeDocs[0];     var d = t.dataObjects;...

View Article


Javascript calculations not resolving properly

Hi, I am currently making a PDF that makes labels for products based on what is entered on the first page. I have been running it ok for a while and just printing off tests, now out of no where after...

View Article


Auto Printing PDF docs in FTP folder

Ok so here is the deal, I have an FTP folder set up in a Windows 2003 server environment. I will be recieving PDF docs into an FTP file a few times a day and I would like to know if there is a way for...

View Article

Disable field highlighting?

Good Morning, Working on a form that will be distributed to a number of users.  The form utilizes a lot of scripts to highlight fields that require attention.  The form works/shows well when the preset...

View Article

Extract page with separator

HelloI'm a begginner on javascript for acrobat 10I want tosplit apdffile into multipleparty.Each partis separated by apage that contains astringknown predefined.Based on this script I have write...

View Article


Prompt user to upgrade to latest version

We have a number of forms that we test on the latest version of Adobe Reader before sending them out. In order to minimize issues for users filling them, we would like to check if the user is on the...

View Article

Redefinition error in form field scriptlets

Any variables declared in a field-level scriptlet can only be declared once ?Wow, that's pretty limiting.Is the best practice to declare them at the document level then ?

View Article

Need to create date/timestamp or watermark when printed.....

I want to be able to have the time/date printed out on a pdf when it is printed. I could be as a header/footer or a watermark. It doesn't really matter. Is this possible? Can it be done in adobe...

View Article


Open Attachment and goto a bookmark

const cDEST = "Bookmark3";var docHelp = this.openDataObject(docConst.HelpFile);docHelp.gotoNamedDest(cDEST); Of course, the above does not work. One thing that has confused me:is there a difference...

View Article


Date Validation

Would like the user to entire mm/dd/yy in the text field. However, I do not want the user to be able to type any letters at all into the date field. I know if I use the "Format-->Date" under the...

View Article

How to Auto-populate TextField in Acrobat x with a value determined by user...

I have a group of 3 Check Boxes for user to select their Work Shift:  The check boxes are set up to be mutually exclusive (same name: "EMP_Shift", different Export Values: Day, Evening, Night). Form...

View Article

Is there a way to call the Sanitize Document function from within a javascript?

Hi, hopefully this should be an easy one, but the search results in the live Adobe SDK aren't returning a link. Is there a way to call the Sanitize Document or Remove Hidden Information functions from...

View Article

Lock form & email as PDF Javascript

Hi Guys, I am using Adobe Acrobat X and creating a Forms natively. We do not use LiveCycle. So I have created a form with several fields, buttons a date picker - some of which I have found online.  The...

View Article


Remove 0 Value in Calculated Field

I copied the below question for another post here as it asks the question perfectly."I set up an invoice form to calculate totals from quantity x unit price. Every line has this formula, however the...

View Article

NotAllowedError: Security settings prevent access to this property or method.

hey guys,     I'm getting this error when I click in the check box in adobe. do I have a settings issue or a syntax issue or what? can anyone help? NotAllowedError: Security settings prevent access to...

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

How do I invoke Word PDFMaker from a macro?

Hi,I need to automate creating PDF's from Word with hyperlink fields converted precisely. The Adobe toolbar "Convert to Adobe PDF" button does exactly what I need. How do I invoke this type of...

View Article


Batch creation of bookmarks?

Moved from the Acrobat Macintosh forum (Batch creation of bookmarks?) I would like to add 107 bookmarks to a 250-page PDF in an automated  fashion. I have a list of the bookmarks titles, pages, and...

View Article

Printing a PDF via Acrobat Javascript

Hi - I have a need to print a PDF programmatically, via Javascript.  The PDF is embedded in a Web page.  I use postMessage to communicate with the PDF. I've created a simple HTML page with an embedded...

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
Browsing all 12130 articles
Browse latest View live


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