Open URL in browser via Photoshop
Is this possible? I don't need a clickable link for the user or anything, I just need the script to open a URL in the users default browser. How would I go about doing this?
Is this possible? I don't need a clickable link for the user or anything, I just need the script to open a URL in the users default browser. How would I go about doing this?
function openURL(url) {
var fname = "shortcut.url";
var shortcut = new File(Folder.temp + '/' + fname);
shortcut.open('w');
shortcut.writeln('[InternetShortcut]');
shortcut.writeln('URL=' + url);
shortcut.writeln();
shortcut.close();
shortcut.execute();
shortcut.remove();
};
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.