Is it possible to open a webpage in a browser when you click a link or image in Vis?

  • #1, by AkcayKaraazmakMonday, 07. September 2015, 16:50 5 years ago
    Hi guys again,

    Is it possible to open a webpage in a browser when user click a link or an image in the game?

    Cheers

    Great Poster

    437 Posts


  • #2, by ke4Monday, 07. September 2015, 17:07 5 years ago

    Key Killer

    810 Posts

  • #3, by SimonSMonday, 07. September 2015, 17:52 5 years ago
    lua script:

    startDefaultBrowser("http://www.visionaire-studio.net/")
    1
    2

    Thread Captain

    1352 Posts

  • #4, by AkcayKaraazmakMonday, 07. September 2015, 19:02 5 years ago
    Great thank you so much mates!

    Great Poster

    437 Posts

  • #5, by afrlmeMonday, 07. September 2015, 19:12 5 years ago
    Quick note: startDefaultBrowser() will automatically minimize your game & will either open up the users default browser or a new tab if the browser is already open. It works in a similar way to how the os.execute() function works for launching third party exe files.

    Imperator

    6816 Posts

  • #6, by AkcayKaraazmakMonday, 07. September 2015, 19:17 5 years ago
    Thank you Lee!

    Great Poster

    437 Posts

Write post