Owner's Manual in PDF
#1
AudiWorld Member
Thread Starter
Join Date: Aug 2016
Location: Milton, Ontario, Canada
Posts: 100
Likes: 0
Received 0 Likes
on
0 Posts
Owner's Manual in PDF
I wrote a 35 lines script to automate (Moving the mouse and clicking) going through every page of the online manual and printing the page using Google Chrome's "Save as PDF" functionality. The end result of that script is 400 PDF files numbered 001.pdf to 400.pdf.
I've also used a PDF tool to merge all 400 PDFs into a PDF file (4 files of varying quality). Now 2 problems with this are
For fear of copyright infringement I will not be publicly posting the files, but if anyone wants any of them, just send me a PM and I'll provide a link to the 4 files.
I've also used a PDF tool to merge all 400 PDFs into a PDF file (4 files of varying quality). Now 2 problems with this are
- The single file size is 48MB (Low Quality), 162MB (Medium Quality), 210MB (Good Quality), and 365MB (Best Quality). On my PC Medium Quality is good but Low Quality is still readable
- You can't do a textual search since every page was captured as an image into PDF
For fear of copyright infringement I will not be publicly posting the files, but if anyone wants any of them, just send me a PM and I'll provide a link to the 4 files.
Last edited by s_Fanous; 10-20-2016 at 04:14 PM.
#3
AudiWorld Member
Thread Starter
Join Date: Aug 2016
Location: Milton, Ontario, Canada
Posts: 100
Likes: 0
Received 0 Likes
on
0 Posts
#4
AudiWorld Senior Member
For my B8.5 S5, I PDF'd each page manually as I read through it. Currently, the pages are not combined so they are more manageable. As you mentioned, combining them into one large book means that the resulting file size is massive. If I need to refer to a topic, I open the table of contents first to look for the topic. Then, I find the file that has those pages.
#6
AudiWorld Member
Thread Starter
Join Date: Aug 2016
Location: Milton, Ontario, Canada
Posts: 100
Likes: 0
Received 0 Likes
on
0 Posts
Here you go
Do the following to have it run
P.S. As I stated above, these co-ordinates are accurate on my laptop. They might not be on your machine, so you'll have to figure out the appropriate co-ordinates to make sure it properly runs.
Good luck
Code:
import pyautogui import sys import time page_number = 1 time.sleep(1) pyautogui.moveTo(178, 715) # Zoom Icon pyautogui.click() while (True): pyautogui.moveTo(87, 715) # Print Icon pyautogui.click() time.sleep(1) pyautogui.moveTo(830, 500) # Print Button pyautogui.click() time.sleep(2) pyautogui.moveTo(224, 152) # Blue Save Button pyautogui.click() time.sleep(1) pyautogui.typewrite(str(page_number), interval=0.25) # File Name pyautogui.moveTo(515, 447) # Grey Save Button pyautogui.click() time.sleep(0.5) pyautogui.moveTo(860, 319) # Close Button pyautogui.click() time.sleep(0.5) pyautogui.moveTo(1310, 715) # Next Page pyautogui.click() time.sleep(1) page_number = page_number + 1
- In a Google Chrome tab open the online manual
- Manually print (Save as PDF) the first page (So that Chrome remember where you want to save your files )
- Execute the script (You'll need to install PyAutoGUI)
- Quickly (Within 1 second. You can change the first time.sleep(1) to a different value if you want more time) switch to the Chrome window and make sure you are on the tab with the online manual
- Leave your computer (P.S. The Chrome session will timeout at some point so you'll have to redo the above steps but you'll need to change the page_number variable to the right value and you'll also need to navigate to the correct page in the manual before executing the script
P.S. As I stated above, these co-ordinates are accurate on my laptop. They might not be on your machine, so you'll have to figure out the appropriate co-ordinates to make sure it properly runs.
Good luck
Last edited by s_Fanous; 10-20-2016 at 05:52 PM.
Trending Topics
#9
AudiWorld Member
Thread Starter
Join Date: Aug 2016
Location: Milton, Ontario, Canada
Posts: 100
Likes: 0
Received 0 Likes
on
0 Posts
#10
AudiWorld Member
Thread Starter
Join Date: Aug 2016
Location: Milton, Ontario, Canada
Posts: 100
Likes: 0
Received 0 Likes
on
0 Posts
Ok, so I did find a service that does a pretty good OCR job but can only do 10 pages at a time at a slow rate. I'll get the whole manual OCRed and that will be searchable