• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding a website into RealmWorks

AEIOU

Well-known member
The Syrinscape thread spurred thinking about possibilities for connecting to a web-based alternative. The recent linking to pages of a PDF thread pushed me in the right direction. There could be a simpler way but this works for me. I know LWD is looking at a better solution as their FAQ says linking to websites is a high priority for them.

1) Pick a website that you want to have a link to from within RealWorks. I'm going to use the tabletopaudio website's soundpad.
2) Open a new text document in NotePad: Right-click desktop, choose New, choose Text Document
3) Past the following into the blank NotePad document:
Code:
@ECHO OFF
SET BROWSER=chrome.exe
SET WAIT_TIME=2
START %BROWSER% -new-tab "http://tabletopaudio.com/dungeon_sp.html"
@ping 127.0.0.1 -n %WAIT_TIME% -w 1000 > nul
pause
4) Change the browser in line two to whatever you use, probably chrome.exe or firefox.exe or iexplore.exe
5) Change the website in line four to whatever you would like.
6) IMPORTANT -- now Save As and change type to All Files, then change the file extension for the file from .txt to .bat
7) Open RW and add a Foreign Object snippet to a Category, choose Load from File, browse to where you saved your new batch file and select it.
8) Voila

You can use this to add links to websites for random generators, reference lookups, whatever....

Here's the PDF thread which provides lots of great ideas that may be helpful for others trying to link to outside sources: http://forums.wolflair.com/showthread.php?t=53210&highlight=page
 
An alternative is to download the file, tabletopaudio allows you to do so.
Once the audio is on your disk, you can create a resource topic for it and link it anywhere in your campaign.

Edit : you know that RW already support http links right ?
 
Last edited:
In a text snippet, I can enter a URL and it automatically converts it to a link. I'm not sure what the BAT accomplishes beyond this.
 
See, there was a simpler way. After checking the FAQ and seeing it was still in the works, I didn't try the obvious....
 
Not all URI schemes are allowed in links, so that might be a reason to use a launcher batch file workaround. You may remember that recently they added file: support, for example.
 
Back
Top