Direct link to a pdf page
Hi,
I'm trying to create link/hyperlinks to a pdf document I've added in a topic. 1/ the only auto link created by RW points to the topic containing the pdf, not the pdf itself 2/ I tried to create in a snippet an hyperlink with an url pointing to my local drive pdf. But it's not supported. Before opening a feature request, I'd like to know if anyone has achieved such feature ? For instance: snippet: "The player uses a new discipline called The Ultimate discipline of death (core rule book#page=290)" Edit : any way to bypass the 30 Mb file size ? |
You can add a new snippet in your topic and then choose
Documents and Media / PDF Document That will enable you to have a link to a PDF. I believe the PDF will be imbedded, not sure though. I am planning to play around with that one of these days, for a need a link that will open an external file with the windows default program for that type of file. Ie. a link to a non-imbedded file. |
1 Attachment(s)
Quote:
Attachment 3866 The book name is one of the Tags and the page(s) go into the text field. If the Topic/Article uses more than one book, then I add another Source snippet. Quote:
Quote:
However, while I don't recommend doing so, you can use batch files and Foreign Object snippets to do some local automation in Realm Works. They'll only work on one machine, unless you can ensure that all paths are identical on multiple machines. To open an external PDF to a specified page, you need to create a batch file. It only needs one line: Code:
"E:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe" /A "page=N" "c:\full\path\to\file.pdf" /A is the Actions command. In the following string, replace N with the page number. It needs to be an integer index so if, for example, your PDF says the first page number is "Front Cover" you may have to add or subtract a couple to find the right one. The last part is the full path to the PDF file. Run the batch file and see if it works. Once you have the batch file opening the PDF to the right place, then you can attach the batch file to a Foreign Object snippet in Realm Works. When you use the "play" button to "view" it, Realm Works will write the batch file to your Temp folder and run it, which should open the file for you. |
Quote:
|
If the file would normally open properly by double-clicking on it in Explorer and you don't need to pass command line options it's a lot easier:
Code:
explorer "c:\full\path\to\file.doc" |
Parody thanks for your insights.
I've tried the tag snippet and the batch files. For the batch file, I'm not convinced because you need to create a specific snippet. It's too much work. Like you said I already have the material available (I have the printed book and the pdf) and I must balance the expense of creating my links and the benfits of clicking ont it. Your tag snippet is a nice idea, but it kinda lack de link feature. Right now I'm using a simple "custom ref" in GM direction for instance : "CRB p253" stands for Core Rule Book page 253 but like your tags, no link is available. One question though : Any benefits from using tags over simple text ? |
Quote:
Let's step back: what you're trying to do is reference the source text of an ability. If you really want to reference the entire text of something, bring the entire text into Realm Works. For example, create an Article named "The Ultimate discipline of death" that is set up like a Discipline description in your rulebook. Copy in the text from your PDF so it's all in the Article. Then your Realm Works links go to a complete description and you don't normally need to reference the PDF/physical book. I'd still put a source reference into the Topic/Article for those times when I want to reference the source material, though. Quote:
|
@Parody:
Thank you for the suggestion. --- I noticed that we have an option to insert a hyperlink (http:) in any snippet by right clicking the snippet. I would like to suggest, that we get a file link as well, working in exactly the same manner - that would be extremely useful. While Parody's solution work, it is not straightforward and a bit of a hassle to make. |
Quote:
. |
If RW would support Relative Paths (I would not know) it might be easier to link to other files on multiple machines
|
All times are GMT -8. The time now is 04:27 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.