Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Adding a website into RealmWorks (http://forums.wolflair.com/showthread.php?t=53483)

AEIOU July 25th, 2015 12:18 PM

Adding a website into RealmWorks
 
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/showthrea...highlight=page

Bobifle July 25th, 2015 01:04 PM

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 ?

MNBlockHead July 25th, 2015 08:20 PM

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.

AEIOU July 25th, 2015 09:57 PM

See, there was a simpler way. After checking the FAQ and seeing it was still in the works, I didn't try the obvious....

MNBlockHead July 25th, 2015 10:39 PM

I do wish, however, that you could add live hyperlinks to annotation fields for tags.

Parody July 26th, 2015 04:44 AM

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.


All times are GMT -8. The time now is 08:17 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.