I’m trying to make a button that launches a remote desktop session to one of our servers.
This command works in the Script Console: system.util.execute(["mstsc", "-v:hostname"])
It launches Remote Desktop and immediately ask for login credentials to that server.
However, when i put this code into a button, it does nothing… (both in designer preview and browser). My best guess is that it has something to do with what browsers are permitted to do etc., but I’m really not sure.
Does anyone know why the command works in the script console but not in the browser?
And if so, is there any way to make this work?