Hi @Anonymous, Hi everyone,
First, thank you everyone for your contributions..
Thank you very very much @dbroad, your post led me to a work arround that works without altering the system settings (pdf plugin in chrome should be enabled though), and without having to setup a server...
Here is my chain of thought:
- I know that chrome: Supports command prompt // can open local pdfs but iss not usually the default application for that..
- I dragged and dropped a pdf fie in chrome to see the ink in the address bar, it was like this: "file:///D:/My_File.pdf"
- Itried adding the "#page=...." to the end of the link, it worked..
- I tried to run chrome from the command prompt and make it open the file at that page, it worked (I needed to provide the full path to chrome and to the file)
- I tried putting the same expression in the hyperlink, it didn't recognize the link to the pdf as an argument to be passed to chrome.exe, instead it considered the hole thing one location that it it didn't find..
- I tried the "file:///D:/My_File.pdf" in hopes that it will automatically open in chrome which is my default browser, it didn't work either.. It opened in acrobat reader that doesn't recognize the #page=... suffix
So I tried the following:
1 - I created a cmd file (basicly a text file containing plain doss commands and with the extention .cmd) I put inside it the the full path to chrome then the intended link including the page number
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "file:///D:/My_Pdf.pdf#page=30"
2 - In the hyperlink I pointed to the cmd file..
AND IT WORKED!!
The cmd file is included, substitute Chrome path with your own, and the pdf path & page number (Keep the quotes to not have problems with spaces in paths), and try it 🙂