Tag Archives: JavaScript

Extract PDF Pages Based on Content

How would we identify pages in a PDF document that contain a certain word and extract those pages into a new document? This can be done with a few lines of JavaScript – there are different ways to do this: … Continue reading

Posted in Acrobat, JavaScript, PDF, Tutorial | Tagged , , , | 122 Comments

All About PDF Stamps

Putting “All About PDF Stamps” on the cover puts the bar pretty high when you write a book about PDF Stamps… But Thom Parker clears that bar without any problems! His book “All About PDF Stamps in Acrobat & Paperless … Continue reading

Posted in Acrobat, Books, JavaScript, PDF, Programming | Tagged , , , , | Leave a comment

Validating Field Contents

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s … Continue reading

Posted in Acrobat, PDF, Programming | Tagged , , , | 355 Comments

Acrobat JavaScripts – Where do they go?

JavaScripts in Acrobat can either be attached to a document – for example to validate a form field – or they can be loaded directly into the application as a folder level script. It’s pretty straight forward to figure out … Continue reading

Posted in Acrobat, JavaScript, mac, PDF, Programming | Tagged , , , , | 7 Comments

Reading And Modifying PDF Form Fields with VBA

I’ve written about VBA and Acrobat JavaScript before, and I’ve also mentioned that you can combine VBA and JavaScript to access PDF form fields, but I still owe a sample for that. I had to answer another question today about … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming | Tagged , , , , | 74 Comments

Best Way to Learn Acrobat Scripting

Every now and then I come across the question “What is the best way to learn scripting for Adobe Acrobat? Are there any books or other resources averrable?”. After doing some research, I think I finally found the best resource … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming | Tagged , , , , , | 1 Comment

Developing Acrobat JavaScript on a MacBook

Acrobat’s JavaScript is a great tool to extend the application, or to automate reoccurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts, …), … Continue reading

Posted in Acrobat, Apple, JavaScript, mac, PDF, Programming | Tagged , , , , , | 9 Comments

More Interactive Dynamic Stamps in Seven Easy Steps

A while ago I tried to create an interactive dynamic stamp in Acrobat. These are dynamic stamps (like for example a stamp that automatically puts the current date into a field that is part of the stamp), but with a … Continue reading

Posted in Acrobat, PDF | Tagged , , , , | 30 Comments

Splitting PDF Pages

No, this is not about my patent pending idea of a sheet splitter that turns duplex documents into simplex documents… This post is about a problem that comes up every now and then: When you scan a book or a … Continue reading

Posted in Acrobat, PDF, Programming | Tagged , , , | 65 Comments

Acrobat, JavaScript and VB walk into a bar…

OK, let’s just forget about that old joke and concentrate on how to combine all three into something that is quite useful. As I’ve described in one of my previous posting, it is quite easy to automate Acrobat from VB … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming | Tagged , , , , , , | 16 Comments