Как я могу открыть отдельную вкладку в Chrome скриптом?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ZeralldGames

Привет! Подскажите,пожалуйста,скрипт который будет открывать страницу в Google Chrome (или,конечно же,в другом любом браузере который стоит по умолчанию у человека). Хочу сделать кнопку при клике на которую будет открыватся веб-сайт. Спасибо!

ENG:

Hey! Please tell me a script that will open the page in Google Chrome (or, of course, in any other browser that a person has by default). I want to make a button when clicking on which the website will open. Thank you!

:bust_in_silhouette: Reply From: TheJokingJack

Well, you could add a button to your scene, and when it’s clicked, you have this function:

OS.shell_open("https://google.com")

Umm… If you do not understand English:

Следующий фрагмент текста переведен с помощью Google Translate.

Что ж, вы можете добавить кнопку в свою сцену, и когда она будет нажата, у вас будет такая функция:

OS.shell_open("https://google.com")

Thank you! It works

ZeralldGames | 2021-05-25 14:15