Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

How to link to Journal Entries in the Chat by knowing the name of the Journal?

1474669290
Gold
Forum Champion
Is there any way to use  Linking Between Journal Entries or create a similar effect efficiently in the Chat in the game? Example, if I have a Handout called [Healing Spells], then I would like to type [Healing Spells] into the Chat and it shows up as  Healing Spells .  I know you can do this inside a journal but how can you do that in the chat? Note, I'm  not asking how to make a Hyperlink in the chat , I know the code for that. I'm asking how to make a hyperlink in chat that goes to a Journal entry, by knowing-using the name of the Journal entry, like the way you can do it inside a Journal. I don't want the long-way-around workaround involving creating a link to journal entry inside another journal, then right-click copying the URL, then using the Chat code for hyperlinking to that long URL. If this is not a supported chat command, is it possible to write an API or Macro-based solution that could somehow do the long-way-around workaround for me? (Such a macro or API script would somehow gather the URL for a Journal by knowing the Name of the Journal, and use that to create a hyperlink for the chat room).
Gold said: Is there any way to use  Linking Between Journal Entries or create a similar effect efficiently in the Chat in the game? I don't want the long-way-around workaround involving creating a link to journal entry inside another journal, then right-click copying the URL, then using the Chat code for hyperlinking to that long URL. Unfortunately, no. Gold said: If this is not a supported chat command, is it possible to write an API or Macro-based solution that could somehow do the long-way-around workaround for me? (Such a macro or API script would somehow gather the URL for a Journal by knowing the Name of the Journal, and use that to create a hyperlink for the chat room). An API Script could do this.
1474669787
Gold
Forum Champion
Thank you. Has anyone made such an API script yet? I'll request it on the API forum with a new thread next week, pending any other ideas or responses here.
1474670091
Gold
Forum Champion
Further questions,  Silvyre , if you don't mind. If there was such an API, and it created the Journal-Named hyperlink in the chat. Or if I created such a hyperlink in chat manually the long-way. Would I then be able to Copy-Paste that Hyperlink into a Bar1 on a token?  Would that work?  In other words, may be asking, can Token fields like Bar1 support PASTING a blue chat-hyperlink and it retains the hyperlinkyness? Related question, but slightly less useful and more cumbersome, can one type the [Hyperlink](http:URL) macro code into a Bar1 and then call Bar1 into the chat, and it would render as the blue hyperlink in the chat?
1474670457

Edited 1474670507
Gold said: Or if I created such a hyperlink in chat manually the long-way. Would I then be able to Copy-Paste that Hyperlink into a Bar1 on a token?  Would that work?  In other words, may be asking, can Token fields like Bar1 support PASTING a blue chat-hyperlink and it retains the hyperlinkyness? Related question, but slightly less useful and more cumbersome, can one type the [Hyperlink](http:URL) macro code into a Bar1 and then call Bar1 into the chat, and it would render as the blue hyperlink in the chat? You got me curious Gold so I tried it and yes, you can put the long form link, [Hyperlink](http:URL), into a bubble and call it with a macro to chat and the link works. Very cool. FYI the links in chat don't come out blue or underlined. 
1474671053

Edited 1474671147
Gold
Forum Champion
Thanks Ed, helping with testing that and giving the answer, as I've already been testing several various ideas today, opening and closing my Test game.  Since they don't come out blue or underlined I would probably upgrade the text a little bit, putting something like this into Bar1, CLICK ON THIS LINK TO SEE THE HANDOUT: [Name Of The Link To The Awesome Handout](http:URL).   Guessing that you may have tried the other idea -- put a blue hyperlink (already rendered as a clickable link) into Bar1 ? That wouldn't work, right?  Guessing it might strip the link and print just the text, the label of the link. Thirdly I'm guessing you can put a raw URL starting http into Bar1, and then if you print Bar1 into chat it would be a URL with http which automatically becomes clickable in chat (downside being that it shows the whole URL not a nice clickable word). Correct? First I'll make sure to understand how it can be done manually, then I will move to the stage of trying to figure out how to streamline the process using API for those who can access API.
Ok I went back at it and tried an external link. This time I stuck it in the name of the token, but it will work the same.  Seems that raw links actually work.