I had it a while ago but I can't seem to find it anymore.
Does anyone know what is the script call to open a website?
Does anyone know what is the script call to open a website?
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');
// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
Works perfectly, sorry for the late reply l never got a warning and got stuck in a massive storm this month.
thenerdmansion, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/script-call-open-website.74706/