Menu
Login
Language
DE EN FR ES IT CZ
Back

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

  • #1, by AkcayKaraazmak Monday, 07. September 2015, 16:50 11 years ago Quote
    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

    442 Posts

  • #2, by ke4 Monday, 07. September 2015, 17:07 11 years ago Quote

    Key Killer

    810 Posts

  • #3, by SimonS Monday, 07. September 2015, 17:52 11 years ago Quote
    lua script:

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

    Thread Captain

    1622 Posts

  • #4, by AkcayKaraazmak Monday, 07. September 2015, 19:02 11 years ago Quote
    Great thank you so much mates!

    Great Poster

    442 Posts

  • #5, by afrlme Monday, 07. September 2015, 19:12 11 years ago Quote
    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

    7290 Posts

  • #6, by AkcayKaraazmak Monday, 07. September 2015, 19:17 11 years ago Quote
    Thank you Lee!

    Great Poster

    442 Posts