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

Open a website

Mac
2
5
2.9k
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 Jun 30, 2020, 10:47 PM

    For example, this command will open Google:

    open https://google.com
    

    Russell VanderMey

    1 Reply Last reply Reply Quote 0
    • A
      Arthur Schabbach
      last edited by Dec 21, 2022, 2:42 PM

      how to add delay time between actions in the same command line?

      Something like...

      open https://google.com wait 5 secounds open https://google.com

      R A 2 Replies Last reply Dec 21, 2022, 11:31 PM Reply Quote 0
      • R
        Russ @Arthur Schabbach
        last edited by Dec 21, 2022, 11:31 PM

        @Arthur-Schabbach, you could make a script like this, and run that via TRIGGERcmd:

        open https://google.com
        sleep 5
        open https://google.com
        

        Make sure you make the script file executable with a command like this:

        chmod +x ~/2commands.sh
        

        Your TRIGGERcmd command can look like this:

        99e7da7d-92f5-49d4-8707-a349b4479d19-image.png

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • A
          Arthur Schabbach @Arthur Schabbach
          last edited by Arthur Schabbach Dec 23, 2022, 5:30 PM Dec 23, 2022, 5:28 PM

          @Arthur-Schabbach said in Open a website:

          how to add delay time between actions in the same command line?

          Something like...

          open https://google.com wait 5 secounds open https://google.com

          Thanks Russ!

          also works directly on TRIGGERcmd.

          Captura de Tela 2022-12-23 às 14.30.08.png

          R 1 Reply Last reply Dec 23, 2022, 5:32 PM Reply Quote 1
          • R
            Russ @Arthur Schabbach
            last edited by Dec 23, 2022, 5:32 PM

            @Arthur-Schabbach, nice job! You did it without even using a script.

            Russell VanderMey

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