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

    Where to start

    General Discussion
    3
    10
    1.7k
    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.
    • Dan5150D
      Dan5150
      last edited by

      Just downloaded triggercmd and I'm trying to add a command line to shut down pc but looking at the command lines in text editor im completely lost. Any help would be great

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Dan5150
        last edited by

        @dan5150, this command would force a shutdown in 10 seconds:

        shutdown /f /t 10
        

        Russell VanderMey

        Dan5150D 1 Reply Last reply Reply Quote 0
        • Dan5150D
          Dan5150 @Russ
          last edited by

          @russ nice… so that's the only thing I need to put in text command editor? Will this work with Alexis voice commands?

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Dan5150
            last edited by Russ

            @dan5150, I don't know why you prefer to use the text editor, but if you do, you'll need an entry like this:

             {
              "trigger": "Shut down",
              "command": "shutdown /s /t 10",
              "ground": "foreground",
              "voice": "Shut down",
              "voiceReply": "Shutting down now",
              "allowParams": "false"
             }
            

            With that you can say, "Alexa, ask TRIGGERcmd to run shut down"

            EDIT: I had /f at first, but it's actually /s to do a shutdown.

            Russell VanderMey

            Dan5150D 1 Reply Last reply Reply Quote 0
            • Dan5150D
              Dan5150 @Russ
              last edited by

              @russ that looks along easier bkut when I enter it that way Alexis says it couldn't find it?

              RussR 1 Reply Last reply Reply Quote 0
              • RussR
                Russ @Dan5150
                last edited by Russ

                @dan5150, Alexa might be hearing "shutdown" rather than "shut down". So you might need to make the Voice field "shutdown" instead. I'll test it myself.

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • Dan5150D
                  Dan5150
                  last edited by

                  It's telling me alexa couldn't find a voice command word shut down on pc
                  I know I'm missing something simple. With the example you gave me I input it into the gui editor word for word?

                  RussR 1 Reply Last reply Reply Quote 0
                  • RussR
                    Russ @Dan5150
                    last edited by Russ

                    @dan5150. I tried using "shut down" and Alexa heard me ok and ran my command.

                    Are you able to run any commands via Alexa, like Calculator?
                    Also, can you run commands from the website by clicking the green Trigger button?

                    Russell VanderMey

                    Dan5150D 1 Reply Last reply Reply Quote 0
                    • Dan5150D
                      Dan5150 @Russ
                      last edited by

                      @russ not thru alexa but I'm able to run note pad and calls thru website

                      RussR 1 Reply Last reply Reply Quote 0
                      • RussR
                        Russ @Dan5150
                        last edited by Russ

                        @dan5150, wonder if you might have multiple TRIGGERcmd accounts, and your Alexa account is tied to the other TRIGGERcmd account?

                        Just brainstorming here.

                        If so, you could try unlinking and re-linking to your account.

                        EDIT: We figured it out - Dan had "shut down /s /t 30" as his command but he needed "shutdown /s /t 30". Notice the shutdown command shouldn't have a space it in. There's a shut down command in the Example commands BTW.

                        Russell VanderMey

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