• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Launch a website

Windows
6
10
9.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Russ
    last edited by Mar 25, 2017, 9:50 PM

    {"trigger":"TRIGGERcmd site","command":"start http://www.triggercmd.com","ground":"foreground","voice":"site"},

    Russell VanderMey

    1 Reply Last reply Reply Quote 0
    • L
      Lucas Hortale
      last edited by Nov 26, 2020, 8:10 PM

      Can i lauch 2 or more websites in the same trigger?

      R 1 Reply Last reply Nov 27, 2020, 4:49 PM Reply Quote 1
      • R
        Russ @Lucas Hortale
        last edited by Russ Nov 27, 2020, 4:52 PM Nov 27, 2020, 4:49 PM

        @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:

        500f4c96-469d-4f00-bc62-187002bbb1d4-image.png

        Russell VanderMey

        1 Reply Last reply Reply Quote 1
        • J
          Julio Maradiaga
          last edited by Apr 13, 2021, 7:22 PM

          Is it possible after the site is open to send a key stroke or command?

          B 1 Reply Last reply Apr 13, 2021, 7:36 PM Reply Quote 0
          • B
            Brole @Julio Maradiaga
            last edited by Apr 13, 2021, 7:36 PM

            @Julio-Maradiaga check out autoIT

            1 Reply Last reply Reply Quote -1
            • D
              Djaman Barbosa
              last edited by Nov 12, 2021, 12:24 PM

              Is it possible to open a webpage in a specific browser? And open the webpage in a new window?

              R 1 Reply Last reply Nov 13, 2021, 4:44 PM Reply Quote 0
              • R
                Russ @Djaman Barbosa
                last edited by Russ Nov 13, 2021, 4:45 PM Nov 13, 2021, 4:44 PM

                @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/

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • S
                  Smart Communities
                  last edited by Dec 6, 2022, 5:18 PM

                  @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.

                  R 1 Reply Last reply Dec 6, 2022, 9:28 PM Reply Quote 0
                  • R
                    Russ @Smart Communities
                    last edited by Dec 6, 2022, 9:28 PM

                    @Smart-Communities, you could use a script that kills the browser then relaunches it with your new URL.

                    Russell VanderMey

                    S 1 Reply Last reply Dec 6, 2022, 9:38 PM Reply Quote 0
                    • S
                      Smart Communities @Russ
                      last edited by Smart Communities Dec 6, 2022, 9:38 PM Dec 6, 2022, 9:38 PM

                      @Russ That's what I ended up going with. One script & trigger to initiate and another one in the reverse. Thanks

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post