This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
GravityScore's profile picture

Text Hyperlinks

Started by GravityScore, 20 January 2013 - 07:57 AM
GravityScore #1
Posted 20 January 2013 - 08:57 AM
Hey,

I think it would be cool to add real hyperlinks into computers so that when you click on them, it opens up the link in your browser. Similar to what happens in the Minecraft chat when someone posts a link to a website. It could prompt you whether you want to open the link as well (just like the Minecraft chat does).

It would be useful for linking to CC forum posts to find out more about applications (could be useful in an app store), opening up download links to programs, and linking to wiki/help websites where far more detail is shown about a topic.

Could have something like term.writeHyperlink(text, urlLink), and would term.write text, then when text is clicked on, it would open the urlLink in your browser.
Cranium #2
Posted 20 January 2013 - 09:13 AM
That would mean a lot of changes for Firewolf, huh?
Dlcruz129 #3
Posted 20 January 2013 - 11:55 AM
That would be cool and easy to do, as Minecraft already has hyper-link support. +1
Cloudy #4
Posted 20 January 2013 - 12:09 PM
I think this would be a lot of work on our part for a feature that two people would use. I also don't think it makes much sense within the in game context, but that's another matter.

Sorry, but I doubt this will happen.
Eric #5
Posted 20 January 2013 - 01:32 PM
I think this would be a lot of work on our part for a feature that two people would use. I also don't think it makes much sense within the in game context, but that's another matter.

Sorry, but I doubt this will happen.
Failing clickable hyperlinks (which would require some special cases when terminal drawing), some method of copying screen content to the clipboard would be nice, whether it be through an API to be used in user code, or built into every terminal.
MudkipTheEpic #6
Posted 23 January 2013 - 12:45 PM
If there was clickable hyperlinks, someone could queue the mouse_click event and MAKE your browser open something…
Cranium #7
Posted 23 January 2013 - 12:55 PM
Not if it's handled the same way that Minecraft handles links, asking if you want to open the link or copy it to your clipboard. That way, you can screen your links.