Thursday, June 29, 2017

Batch Edit URL Links in PDF Files


Version I: Direct purchase using PayPal (Older version: $75 only per license)!



Version II: Direct purchase using PayPal (New version, $125 per license)!


This powerful little tool allows you to edit all the links in a PDF based on a simple search and replace command, and it can be used to process an entire folder (and all of its sub-folders) in a single go.
The tool can edit not just URL links, but also links to files, and convert them to URL links.

UPDATE (29-06-2017): It's now also possible to perform Search & Replace commands using a Regular Expression, including back references. This feature is included in both versions of the tools, as well as in the demo versions.

The application's dialog, with the new Regular Expression option


UPDATE (16-07-2015):  Yet another new feature for this tool, an option to export all the URL links in all of the selected files to a text file, included in v. 2 of the tool.
In addition, there's now a free demo version of the v. 2 tool, available as well.

NEW FEATURE IV (25-12-2014): The tool can now process links with JavaScript-actions that use the launchURL method.


NEW FEATURE IV (14-11-2014): The tool now also processes bookmarks, as well as fields and links.

NEW FEATURE III (19-06-2014): Now this tool will also process links associated with button form fields, not just Link objects.

NEW FEATURE II: A new version of this tool is now available, which allows you to edit the URLs of your links in multiple files, using multiple commands, specified in a list.
So instead of having to make one change at a time, you can now run as many Search & Replace or Append commands as you wish!
The new tool is available for only $125, and can be purchased through here.

 
New interface of the tool:
(click to enlarge)


There's still a free demo version of the tool available (old version). The demo version will process up to 3 links on the first 3 pages of the first 3 files. The full version has no such limitations, of course.

How the older version looks like:

(click to enlarge)

Imagine the following situation:
You have a set of PDF files which point to your website:
"Welcome" links to http://www.mysite.com/welcome.html
"Intro page" links to http://www.mysite.com/intro.html
"Next" links to http://www.mysite.com/page1.html
etc.
But then you decide to change your domain name to http://www.mynewsite.org and now you need to update all of your PDF files!

Well, this tool will do that for you. You just specify the folder to run it on, the Search & Replace action, the text to match ("mysite.com") and the text to replace it with ("mynewsite.org"), and voila! All of your files are updated in a second, and you get a detailed log of all the changes made to them.

This tool can also append text to the beginning or end of your URL links, so if you want to add a new URL parameter to the end of all of your links, you can easily do so.

This tool does not require you to actually have Acrobat. All you need is to have Java installed on your computer.

If you have any questions regarding this tool, you can contact me directly.

Thursday, June 22, 2017

Acrobat -- Print or Extract Pages from CSV Search Results


NEW: Direct purchase using PayPal ($65 per license)!

Update (22/06/2017): A free demo version of this tool is now available here. It can be used to extract/print up to 3 pages from the search results.

One of the nice new features in Acrobat X is the ability to save the results of searching a PDF file to a CSV file. But what to do with this file once you have it?
This script will read such a CSV file (either in Acrobat X or in a later version), and will print only the pages which contain a match, or extract the pages where these results are located as a new file.

For more information about this tool, you can contact me directly.

Tuesday, April 25, 2017

Acrobat -- Populate Fields From Dropdown




Direct purchase using PayPal ($40 only per license)!

Update (25/04/2017): Since many forms are now used on mobile devices I've updated this tool so that it will produce files that work on an iPad, using Readdle's PDF Expert app, which currently offers the best support for scripts on that platform.

This tool allows you to set-up one of the most commonly requested features in PDF forms, a drop-down field that populates other fields with data when a selection is made it in.

It makes the entire process very easy and simple to do. All you have to have are the PDF form with the form fields, and the data organized in a spreadsheet with the field-names in the first row. That's it!

And it's even possible to use it multiple times in the same file, using different data files, without any conflicts between the different fields...

For example, let's say we have all of this data in an Excel spreadsheet that we want to import into our PDF:
The original data file (click to enlarge)
 We just need to save it as a tab-delimited text file (which is one of the built-in options in the Excel Save As dialog).
We then open our PDF file (notice the names of the form fields match those in the header row of the Excel file), and click the button that tool adds to Acrobat:


Now we select the input text file we created before, and then specify the "main" drop-down, the one the will populate the other fields when its value is changed:

That's it! We can now see that the drop-down list is populated with all of the names from the "Name" column in our original data file:


And when we make a selection in the drop-down, the other fields are immediately updated with the relevant data from that row:



For more information about this tool, you can contact me directly.

Wednesday, April 19, 2017

Acrobat -- Insert Blank Page


Direct purchase using PayPal ($30 only)!


Update (19-04-2014): Another new feature! It's now possible to specify the dimensions of the blank page(s) you're adding with a simple dialog that appears when you select where to add them.


The dialog allows you to enter the desired width and height of the page, in either Inches, Millimeters, or PostScript Points.

Update (17-10-2014): I just added a brand new and powerful feature to this tool! You can now insert multiple blank pages after every X amount of pages into your file. So not just a single page as before, now you can insert many pages in seconds.

With this script you can insert a new blank page to you PDF files with a single click! The size of the pages will match the size of the other pages in your files.
You can choose from the following options:
  • Insert a blank page at the beginning of the file
  • Insert a blank page at the end of the file
  • Insert a blank page before the current page
  • Insert a blank page after the current page
  • Insert a blank page after/before every X pages
When installed, the tool adds a menu button to Acrobat with these options:

(click to enlarge)

If you select the last option you're presented with this dialog where you can define how and where to insert the blank page(s) you want to add to the file:


The results can be seen in the Pages panel on the left:

(click to enlarge)

If you have any questions regarding this tool, you can contact me directly.

Tuesday, April 4, 2017

Acrobat -- Apply Image Fields Toolkit



Direct purchase using PayPal ($30 only per license)!


With the introduction of the new Image field into Acrobat Reader DC (Continuous), I thought it was time to introduce some of the more advanced features of these fields and make them more accessible to the users.
Using this script you can apply my Image Field Toolkit to your fields. What this means is that they will be able to easily and quickly apply multiple commands to the fields, such as:
  • Select an image
  • Clear the image
  • Set the image's rotation (in intervals of 90 degrees)
  • Set the image's scaling options (how and when to scale)
And if the field is set to include not just an image, but also a caption text they'll be able to also:
  • Set the caption text
  • Clear the caption text
All you have to do is run the script on your file in Acrobat, and it will automatically apply the code to all Image fields (button field with the Icon option enabled).
Clicking the field will then cause a pop-up menu to appear with all of these options, which can be used in both Acrobat and in the latest version of the free Reader DC (Continuous)!

 Here's how it works. You open your file with the image fields in Acrobat and run the script from the menu item it adds to the Tools panel:

The original file with the image fields


It will identify those fields and prompt you to make sure you want to apply the Toolkit to them (this will overwrite any existing Mouse Up events associated with them!):

The script's confirmation dialog
After running the script on the file in Acrobat we can save it and then open it in Reader, where it looks pretty much the same:

The same file in Acrobat Reader DC
However, when we press one of the fields, the Image Field Toolkit menu appears:

The Toolkit for an image field
We can then select an image for this field:


And then change the way it looks. For example, we can rotate it:


The image rotation options

The rotated image


Or we can change the scaling options for it, so it fits better into the field:

The image scaling options

The scaled image
If we now click on the field that contains both an image and a caption we can do the same there, starting with selecting an image:

The menu for an image field with a caption


And then we can set a new caption text:


The image and the new caption in the same field
We can even clear the selected image, directly through the toolkit's menu:




So all in all, this toolkit adds a lot of options to the standard image fields that come with Acrobat and Reader, and allows you (and your users) to make the most of them!

For more information about this tool, you can contact me directly.

Saturday, March 18, 2017

Batch Watermark PDF Files (Standalone Tool)




Direct purchase using PayPal ($150 only per license)!
 
FREE DEMO version of the tool is available here.


Update (18/03/2017): Yet more new features added to this tool! (and the price is the same...)
It is now possible to specify any rotation angle you wish for the watermark text, not just 0, 45, or -45 degrees.
Also, it's now possible to select the font used for your watermark, either Helvetica, Courier or Times-Roman.

The tool now looks like this:




Update (25/01/2017): Now it's possible to set the font size of the watermark directly in the tool (including the option for automatic font size).
I've also improved the mechanism that calculates the location of the watermark, so it works with landscape pages (or any other dimensions) just as well as with portrait ones.

Update (03/06/2014): Now available is a free demo version of this tool that you can try out before purchasing the full version. The demo version will process only one file at a time, and use only the first 3 items in the list for the watermarks, but it's fully functional beyond that.

This tool is very similar to my script that batch watermarks PDF files, but it is much more powerful. First of all, it is a standalone tool, so you don't need Acrobat to use it, and it can process many more files, and much faster, than a script. In addition, this tool can be used to automatically secure the files with a password to limit the users' ability to edit them. For example, let's say we want to watermark this movie script:
(click to enlarge)

So we run the tool and make our selections: the input file, the names list file (a simple text file), the output folder (where the watermarked copies will be saved), how the watermark text should look like, the file name pattern for the generated files, and whether or not we want to secure those files:

The tool's main window
 If we selected to encrypt the files this window will pop open:


And the results will look like this (this is just one of the files generated, of course):

(click to enlarge)

Notice the "(SECURED)" text in the title, which means the file can't be easily edited by the reader.

For more information about this tool, you can contact me directly.

Thursday, March 9, 2017

Acrobat/Reader -- Ungroup Pencil Comments (FREE)

When creating Pencil comments in Acrobat or Reader while the tool is selected it will only create a single comment, with all of the drawings as a part of it. If you want to "ungroup" those lines into individual comments, this is the tool for you!  It's free and can be downloaded from here.

You can select to either ungroup all of the Pencil markups in the entire file, or just those that are currently selected. Here's an example. I've drawn a bunch of lines on a blank page.
As can be seen in the Comments List panel, there's only one comment, which contains all of the lines:


I run the tool to ungroup them (see the new menu buttons under Tools):



And the results are that each line is now its own comment and can be selected separately:



 For more information about this script, you can contact me directly, and if you find this tool useful and would like to donate, it's always appreciated!

Monday, March 6, 2017

Acrobat -- Word Count (FREE)



Update: This tool is now FREE. You can download it from here.

Just like the Word function, this script will tell you how many words there are in an entire PDF document, or on a specific page.



For more information about this script, you can contact me directly, and if you find this tool useful and would like to donate, it's always appreciated!

Tuesday, January 31, 2017

Acrobat/Reader -- Advanced Add Header/Footer Text



Direct purchase using PayPal ($60 only per license)!
 

Update (31/01/2017): Yet another new feature added! It's now also possible to use the page number in the group of pages being processed. For example, if you select to add your header to just the odd pages then instead of using 1, 3, 5, etc. you can refer to them as 1, 2, 3.

Update (03/12/2016): Two new features added to this too: You can now specify just the total number of pages in the file as a parameter, and also specify the distance of the text from the edge of the page.

(The new script dialog)

Update (26/04/2016): It's now possible to add not just the page number, but also the page label.

Update (04/02/2015): Now available is a free demo version of this tool, which will allow you to test it before buying it. This demo version will only add the header/footer to the first page of the document.

Update (04/06/2014): New feature added to this script that allows you to insert various Metadata properties of the file into the header/footer text. They are:
  • Title
  • Author
  • Subject
  • Keywords
  • Creator
  • Producer

Update (27/02/2014): I've added a new feature that allows you to insert the file's creation date, in the format of your choosing, into the header/footer text as well.

This new tool is an improved version of the built-in Add Header & Footer command that you can find in Acrobat. The reason it's improved is because it can be used in the free Adobe Reader, and also it contains some additional features, not available in the original version.

Some of these features are:
- The ability to insert the file's name, with or without the .pdf extension text to the text
- The ability to insert the full file path to the text
- The ability to lock the added texts after adding them, so they can't be edited (by someone using Reader)
- The ability to set the added texts as printable or as non-printable.

In addition, you have all the usual features like selecting the text's location on the page (right/left/center and header/footer), setting its appearance (font, size, color, background color), selecting to which pages to add the texts, inserting the current date to the text in various formats, inserting the current pages number (on its own, or in addition to the total number of pages), etc.

So for example: We have a file that we want to add a header to. We just open it in Reader XI and click the button added by the script under the Extended panel on the right:

(click to enlarge)

The dialog window that pops open allows you to specify the settings for the Header or Footer that you want to add to the file. Notice that in the one below I've added the file's name, the current date in a specific format, and also a page number:

(click to enlarge)
 
The results of adding the Header can be seen on the top of the first and second pages in this screenshot:


(click to enlarge)


(New feature: inserting the page label into the header or footer)
The page label is located in the top-left corner of the pages


IMPORTANT NOTE: To use this script in Reader requires that you either use Reader XI, or if an earlier version of Reader is used the file must have the right to add comments applied to it.

For more information about this tool, you can contact me directly.