TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Example Commands
    3. Windows
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • RussR

      Volume script

      • • Russ
      4
      0
      Votes
      4
      Posts
      166
      Views

      RussR

      @Meximistas, I think Alexa would accept one of these:

      establecer volumen 90 subir el volumen a 90

      You'd make the Voice field volumen instead of volume.

    • RussR

      Say my IP

      result • • Russ
      1
      0
      Votes
      1
      Posts
      132
      Views

      No one has replied

    • RussR

      Stop/Start a Windows service

      • • Russ
      1
      0
      Votes
      1
      Posts
      5.4k
      Views

      No one has replied

    • RussR

      Start Dropbox

      • • Russ
      3
      0
      Votes
      3
      Posts
      4.9k
      Views

      RussR

      Thanks John. I just re-read my post and I noticed this forum software (NodeBB) removed the backslashes that are required to "escape" the command to make it compatible with the json format.

      So here it is again with the backslashes. Please try this instead:

      {"trigger":"Dropbox","command":"\"C:\\Program Files (x86)\\Dropbox\\Client\\Dropbox.exe\" \/home","ground":"foreground","voice":"drop box"},

      I used http://www.freeformatter.com/json-escape.html to escape the escaped version so it will show up with the backslashes.

    • RussR

      Delete all browsing history in Internet Explorer

      • • Russ
      1
      0
      Votes
      1
      Posts
      1.6k
      Views

      No one has replied

    • RussR

      Make a playlist of mp3's in a folder, and play them

      • • Russ
      1
      0
      Votes
      1
      Posts
      2.0k
      Views

      No one has replied

    • RussR

      Backup your Documents folder

      • • Russ
      1
      0
      Votes
      1
      Posts
      2.2k
      Views

      No one has replied

    • RussR

      Take a photo with your webcam

      • • Russ
      1
      0
      Votes
      1
      Posts
      2.4k
      Views

      No one has replied

    • RussR

      Commands that use Nircmd.exe (toggle mute, say stuff, etc.)

      • • Russ
      14
      0
      Votes
      14
      Posts
      8.5k
      Views

      ?

      @Nate-Hales you said "I have alexa on the "Line in" with "Listen" enabled, so I can hear her and whatever is running on my windows 10"

      I tried this with alexa and got some odd noises when she was listening so i had to unplug her. Did you have that problem and find a fix or just didnt have it? im in the same setup.. htpc does all the sound.

    • XanderX

      Basic cleanup

      • • Xander
      2
      0
      Votes
      2
      Posts
      2.7k
      Views

      RussR

      Great idea @Xander! I added this to the examples list in the GUI editor.

      Here's a URL to cleanmgr docs: https://ss64.com/nt/cleanmgr.html

      cleanmgr = Automated cleanup of Temp files, Internet files, downloaded files, recycle bin.

      Run this to bring up the GUI and setup profile #1:

      cleanmgr /sageset:1

      This command runs profile #1:

      cleanmgr /sagerun:1

      This is what the GUI looks like:

      cleanmgr image

    • T

      My command to open Windows Media Player

      • • Tim S
      1
      0
      Votes
      1
      Posts
      2.1k
      Views

      No one has replied

    • N

      MonoAMP from monoprice 6 zone amplifier

      • • Nate Hales
      8
      0
      Votes
      8
      Posts
      3.4k
      Views

      K

      @nate-hales said in MonoAMP from monoprice 6 zone amplifier:

      Check out this video for detailed instructions:
      https://www.youtube.com/watch?v=fHB_gjc1w8Q

      Change volume of a zone:

      curl "http://localhost:50233/api/Value?Channel=0&command=Volume&value=15"

      Change input (aka channel) of zone 0:

      curl "http://localhost:50233/api/Value?Channel=0&Property=CH&value=1"

      Power on zone 0:

      curl "http://localhost:50233/api/Value?Channel=0&Property=PR&value=1"

      Are these the only commands that you have?

      Thanks

      Ken

    • A

      Search And Play A Movie By Title, Subtitle or Random

      • • A McF
      2
      0
      Votes
      2
      Posts
      1.7k
      Views

      RussR

      @a-mcf, I hope you don't mind. I re-formatted your post a little bit. I just added ``` before and after the big code block to make it look like code.

      Also, nice job on the movie player script!

    • C

      Execute python script on Mac or Windows

      • • Chaochao Yan
      2
      0
      Votes
      2
      Posts
      1.5k
      Views

      RussR

      @chaochao-yan, I tested it, and it worked for me on my Windows 10 PC.

      I had to close and re-open the TRIGGERcmd agent before I could run python commands because when you install python it adds itself to your PATH environment variable, but environment variables don't get updated for each process until you restart them.

      Anyway, here's my test python script in case you're interested:

      f= open("c:\\users\\russe\\test.txt","w+") for i in range(10): f.write("This is line %d\r\n" % (i+1)) f.close()

      Here's my command that TRIGGERcmd ran:

      python c:\users\russe\test.py
    • RussR

      Report your Windows PC's processor info to the Runs log

      • • Russ
      3
      0
      Votes
      3
      Posts
      831
      Views

      RussR

      @marcelo-v, did you see this post yet?

      You should be able to find it just by saying, "Hey Google, talk to trigger C M D."

      You might actually prefer the new TRIGGERcmd Smart Home skill.

    • RussR

      Last reboot date

      • • Russ
      1
      0
      Votes
      1
      Posts
      1.2k
      Views

      No one has replied

    • S

      vlc just start but

      • • studio.jurdan
      1
      0
      Votes
      1
      Posts
      371
      Views

      No one has replied

    • Barrett RossB

      Kill Google Chrome

      • • Barrett Ross
      1
      0
      Votes
      1
      Posts
      1.1k
      Views

      No one has replied

    • B

      How to play a single MP3 file

      • • benzil
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      RussR

      @benzil, I switched to a computer where Groove is my default mp3 player, and it worked for me to use the quoted full path to he mp3 file, but then I googled and found this page that suggested this command line:

      cmd /c start "explorer.exe shell:C:\Program Files\WindowsApps\Microsoft.ZuneMusic_3.6.25021.0_x64__8wekyb3d8bbwe!Microsoft.ZuneMusic" "C:\Users\Russ\Music\03 - Take a Chance on Me.mp3"
    • RussR

      EventGhost

      • • Russ
      4
      0
      Votes
      4
      Posts
      2.6k
      Views

      E

      @Russ You are AWESOME!!! Thank you sir!