Split Two-page-view PDF file for Tablet with Adobe Acrobat Javascript - 使用JavaScript 分割PDF文件 HD
You can download and use the code listed below without any restriction in case that you indicate its origin. Sometimes, you get a document like this, from internet downloads or by scanning a hard copy book. It maybe OK to read it on a large screen laptop or desktop computer, however, if you want to read it on your smart phones, or especially, a tablet, you have to zoom in by dragging and positioning. It is so inconvenient. However, if we can split this kind of book from the center, we can read the book on a 7 inch tablet with a real book experience. Ok, if there are only a few pages, we can do it by hand with tools offered by adobe acrobat . But, if the document contains hundreds of pages, it will take you a long time to repeat the same actives over and over again. This video will show you how to complete this task by just a couple of clicks with Adobe Javascripts. First, I will demonstrate this script and then, explain how it works. This is the script, it contains two functions, cut-right-to-left, and cut-right-left, and have saved it in this directory. Please remember this directory, because any personal define javascript saved in this directory will automatically be load on starting Adobe acrobat. Open the document you want to process. This is a Japanese animation, actually, it is a Traditional Chinese version. We can see that there are two pages on one sheet, and different from ordinary books, you will have to read this book from right page to left page, just as the page number indicated. To split this document from the center, open the tool menu on the right hand side, and select JavaScript. Click JavaScript Debugger, input the function name we have just mentioned in the Console Window, press "ctrl+Enter" to run the function. You can see, a temporary file is created. After a few seconds, we get a new document with a random name. The new document only has one page per sheet. You save it and you are done. Download the script here: https://docs.google.com/open?id=0Bw5sWYdq3-GQTERFQkhmUU9jM1k
Похожие видео
Показать еще