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

How do I do this? I copy and pasted the command into the "command" box and I tried using it with my alexa but it isnt working.

Windows
2
8
302
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.
  • S
    Sxve__
    last edited by Jan 1, 2025, 1:33 PM

    Re: Volume script

    R 1 Reply Last reply Jan 1, 2025, 2:07 PM Reply Quote 0
    • R
      Russ @Sxve__
      last edited by Russ Jan 1, 2025, 2:27 PM Jan 1, 2025, 2:07 PM

      @Sxve__ , did you:

      1. Install nircmd in your c:\windows folder like this?
      2. Copy/paste the whole script into a text file and name the text file volume.bat?
      3. Put the volume.bat file in a folder like c:\tools?
      4. Make your command c:\tools\volume.bat?
      5. Make the voice word for your command volume?
      6. Enable the TRIGGERcmd Smart Home Alexa skill?

      If so, you could say, "Alexa, turn volume 100" if you've enabled the TRIGGERcmd Smart Home Alexa skill.

      If it doesn't work, please tell me what's happening. For example:

      1. If you run c:\tools\volume.bat 100 manually from the command line, does it work?
      2. If you run your command using the Parameters button and type in 100, does it work?
      3. Do you get a run in the Runs list for your command at triggercmd.com?
      4. What does Alexa say back to you?

      Russell VanderMey

      S 1 Reply Last reply Jan 1, 2025, 4:12 PM Reply Quote 0
      • S
        Sxve__ @Russ
        last edited by Sxve__ Jan 1, 2025, 4:18 PM Jan 1, 2025, 4:12 PM

        @Russ I have done everything you have listed, When i ran c:\tools\volume.bat 100 in parameters
        it set my volume on my pc to 0. When i ask alexa "Alexa, turn volume 100" she says "sorry, you can only set the volume between 1 and 10." Im new to coding and all this stuff so Im sorry if i get confused lol

        R 1 Reply Last reply Jan 1, 2025, 4:42 PM Reply Quote 0
        • R
          Russ @Sxve__
          last edited by Russ Jan 1, 2025, 4:43 PM Jan 1, 2025, 4:42 PM

          @Sxve__ please send me a screenshot of your command configuration.

          Also, please send a screenshot of you running c:\tools\volume.bat 100 from the cmd prompt.

          About Alexa, I think you're going to have to pick a different voice word. Instead of "volume" please try something like "banana" because "volume" is apparently a word Alexa reserved for adjusting the volume of the Echo device.

          Russell VanderMey

          S 1 Reply Last reply Jan 1, 2025, 5:05 PM Reply Quote 0
          • S
            Sxve__ @Russ
            last edited by Jan 1, 2025, 5:05 PM

            @Russ oh.my.god. there is no way that changing the name to "banana" made it ACTUALLY work, yep it works completely well now, thank you SO much

            S 1 Reply Last reply Jan 1, 2025, 5:08 PM Reply Quote 0
            • S
              Sxve__ @Sxve__
              last edited by Jan 1, 2025, 5:08 PM

              @Sxve__ now i just gotta figure out how to control spotify on my pc with my alexa lol i have speakers on my pc that I would MUCH rather use than the alexa speakers so I gotta figure out how to control it

              R 1 Reply Last reply Jan 1, 2025, 5:35 PM Reply Quote 0
              • R
                Russ @Sxve__
                last edited by Russ Jan 1, 2025, 5:46 PM Jan 1, 2025, 5:35 PM

                @Sxve__ , I'm glad it's working. I know, it's too bad Alexa reserves certain words. I just picked "banana" because I knew it's not one of them, but I'm sure you could come up with a better word.

                About controlling Spotify, here's one approach you could consider:
                https://youtu.be/5LNVrFHCKkA?si=4gCgQWv0VB4RnCIt&t=164

                One thing you could add to your script is a command like this to switch to a playlist:

                spotify --uri=spotify:user:1269640531:playlist:0kYOOgseBw3Jr1Sl7Yv2Pj
                

                Russell VanderMey

                S 1 Reply Last reply Jan 1, 2025, 6:29 PM Reply Quote 0
                • S
                  Sxve__ @Russ
                  last edited by Jan 1, 2025, 6:29 PM

                  @Russ bet man thank you so much for all of your help 🙂 im new to this coding stuff its super weird to me, Im definitely gonna learn alot from being in this community lol

                  1 Reply Last reply Reply Quote 1
                  1 out of 8
                  • First post
                    1/8
                    Last post