Launch a website
-
{"trigger":"TRIGGERcmd site","command":"start http://www.triggercmd.com","ground":"foreground","voice":"site"},
-
Can i lauch 2 or more websites in the same trigger?
-
@Lucas-Hortale, sure. You can run many commands if you create a script, and have your command run the script:
Assuming you're on Windows you could make a c:\tools\websites.bat script with these contents:
start https://www.triggercmd.com start https://www.google.com
Then make this command: c:\tools\websites.bat
Or, if you want to be lazy you could use a & between two commands like this:
-
Is it possible after the site is open to send a key stroke or command?
-
@Julio-Maradiaga check out autoIT
-
Is it possible to open a webpage in a specific browser? And open the webpage in a new window?
-
@Djaman-Barbosa , if you want to launch Chrome or Chromium from with a new window, add --new-window like this:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --new-window https://triggercmd.com
This works with Edge too because it's Chromium based.
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default --new-window https://triggercmd.com
I found that here:
https://peter.sh/experiments/chromium-command-line-switches/ -
@Russ said in Launch a website:
https://peter.sh/experiments/chromium-command-line-switches/
Anyone know how to open a URL in the existing tab?
I have a URL running full screen. When using the start command it opens the URL but the old one is still running and I can hear it's audio.
-
@Smart-Communities, you could use a script that kills the browser then relaunches it with your new URL.
-
@Russ That's what I ended up going with. One script & trigger to initiate and another one in the reverse. Thanks