• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
  • D
    Dan5150
    last edited by Aug 21, 2018, 3:20 AM

    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

    R 1 Reply Last reply Aug 21, 2018, 9:49 PM Reply Quote 0
    • R
      Russ @Dan5150
      last edited by Aug 21, 2018, 9:49 PM

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

      shutdown /f /t 10
      

      Russell VanderMey

      D 1 Reply Last reply Aug 23, 2018, 10:12 PM Reply Quote 0
      • D
        Dan5150 @Russ
        last edited by Aug 23, 2018, 10:12 PM

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

        R 1 Reply Last reply Aug 24, 2018, 12:20 AM Reply Quote 0
        • R
          Russ @Dan5150
          last edited by Russ Aug 25, 2018, 2:56 AM Aug 24, 2018, 12:20 AM

          @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

          D 1 Reply Last reply Aug 24, 2018, 3:57 AM Reply Quote 0
          • D
            Dan5150 @Russ
            last edited by Aug 24, 2018, 3:57 AM

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

            R 1 Reply Last reply Aug 24, 2018, 10:17 PM Reply Quote 0
            • R
              Russ @Dan5150
              last edited by Russ Aug 24, 2018, 10:17 PM Aug 24, 2018, 10:17 PM

              @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
              • D
                Dan5150
                last edited by Aug 24, 2018, 10:51 PM

                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?

                R 1 Reply Last reply Aug 24, 2018, 11:40 PM Reply Quote 0
                • R
                  Russ @Dan5150
                  last edited by Russ Aug 24, 2018, 11:43 PM Aug 24, 2018, 11:40 PM

                  @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

                  D 1 Reply Last reply Aug 24, 2018, 11:42 PM Reply Quote 0
                  • D
                    Dan5150 @Russ
                    last edited by Aug 24, 2018, 11:42 PM

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

                    R 1 Reply Last reply Aug 24, 2018, 11:45 PM Reply Quote 0
                    • R
                      Russ @Dan5150
                      last edited by Russ Aug 25, 2018, 3:16 AM Aug 24, 2018, 11:45 PM

                      @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
                      6 out of 10
                      • First post
                        6/10
                        Last post