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

    Open a website

    Mac
    2
    5
    2.8k
    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.
    • RussR
      Russ
      last edited by

      For example, this command will open Google:

      open https://google.com
      

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • Arthur SchabbachA
        Arthur Schabbach
        last edited by

        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

        RussR Arthur SchabbachA 2 Replies Last reply Reply Quote 0
        • RussR
          Russ @Arthur Schabbach
          last edited by

          @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
          • Arthur SchabbachA
            Arthur Schabbach @Arthur Schabbach
            last edited by Arthur Schabbach

            @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

            RussR 1 Reply Last reply Reply Quote 1
            • RussR
              Russ @Arthur Schabbach
              last edited by

              @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