TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Example Commands
    3. Windows
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • Jaxon TJ

      Unexpected token W in JSON at position 273

      • • Jaxon T
      5
      0
      Votes
      5
      Posts
      658
      Views

      RussR

      @Jaxon-T, if you use three of these "back ticks" ` before and after your text, it will show it as a code block and keep any backslashes intact.

      Like this:

      { "trigger": "sleep", "command": "d:\\tools\\pstools\\psexec -h C:\\\\Windows\\System32\\psshutdown.exe /d /t 1", "offCommand": "", "ground": "background", "voice": "sleep", "voiceReply": "", "allowParams": "false" }

      I tried your command and it didn't work because of UAC. You'll notice I ran it with psexec -h. That worked because it's running as a background command which runs it as Local System which has access to run things "As Administrator" with psexec -h.

    • RussR

      Email yourself a list of files (docs, mp3's, videos, whatever)

      • • Russ
      3
      0
      Votes
      3
      Posts
      2.2k
      Views

      RussR

      @Jd-pt, I'll try to get to this soon. In the meantime, do you have any questions.

      If Gmail is blocking you from sending, you might need to turn on "Less secure apps" for this script to use Gmail's smtp server: https://support.google.com/accounts/answer/6010255?hl=en

    • Santiago OrtizS

      Need a command to open apps on my pc, like games, Spotify or Netflix! Its URGENT

      • • Santiago Ortiz
      9
      0
      Votes
      9
      Posts
      5.9k
      Views

      André Ricardo da CostaA

      @Russ Nice! I used the same method and managed to make the WhatsApp Desktop application downloaded from the Windows Store open by Alexa's voice command. And this is helpful, as I use whatsapp a lot on the web. I will continue testing other functions of the Trigger CMD ! Thank you!

    • RobertofilhoR

      Shutdown function

      • • Robertofilho
      4
      0
      Votes
      4
      Posts
      2.2k
      Views

      RussR

      @Robertofilho, I think something is wrong in your TRIGGERcmd agent's configuration. Uninstalling and re-installing doesn't delete the configuration. Please try this:

      Delete or rename your .TRIGGERcmdData folder in C:\Users\(your user). Delete your computer from your account. Close and re-run the TRIGGERcmd Agent. It will prompt you again for the token. Copy/paste that from the Instructions page in your account.

      After that, you should be able to run commands again, and if you restart the background service it should stay running and you can run background commands.

    • M

      Show a custom Notification

      • • mllacerda
      1
      0
      Votes
      1
      Posts
      465
      Views

      No one has replied

    • A

      Open YouTube In Chrome, Search and Play Result Fullscreen

      • • A McF
      3
      0
      Votes
      3
      Posts
      3.7k
      Views

      Royher FigueraR

      @A-McF / @russ I'm interest in this script but I don't know how start. I made a file .vbs with your code but won´t run and I don´t know how configure triggercmd with that. I supose the trigger is the file and the param is "the search". I´m correct?

    • Daniel EstradaD

      Why i cant open the trigger agent?

      • • Daniel Estrada
      2
      0
      Votes
      2
      Posts
      425
      Views

      RussR

      @Daniel-Estrada, please tell me more. What operating system are you using? Windows 10?

      What happens when you try to run the TRIGGERcmd Agent?

      You should get a tray icon in the lower right near your clock if you run Windows. You might need to click the up arrow to see it.

    • Marcos silvaM

      Triggercmd is not working anymore.

      • • Marcos silva
      2
      0
      Votes
      2
      Posts
      518
      Views

      RussR

      @Marcos-silva, I just tested the Alexa TRIGGERcmd Smart Home skill myself and it worked for me.

      Have you tried using it without your Alexa Routine? Like just, "Alexa, turn on calculator" ?

      One theory I have is maybe you changed something about your command, which would delete and re-create the Alexa device. If so, you'd have to re-add it to your Routine.

    • W

      Doubts for creating .bat files

      • • wendergalan
      3
      0
      Votes
      3
      Posts
      641
      Views

      RussR

      @wendergalan, I found this tool called cmdow that can move a window to specific coordinates.

      https://ritchielawrence.github.io/cmdow/

      This batch file opens Calculator, then moves it to my second monitor, then maximizes it:

      calc cmdow calculator /mov 2000 60 cmdow calculator /max

      I haven't found a solution for turning specific monitors on or off yet.

      About having different prices for different countries, I'd rather not do that. Paypal doesn't give me that option, and I think $19.95 is still pretty cheap for a full year.

    • J

      taskkill in windows

      • • JoseTCMD
      2
      0
      Votes
      2
      Posts
      761
      Views

      RussR

      @JoseTCMD, I see here you solved it. Thanks for letting me know.

    • J

      Solved

      • • JoseTCMD
      1
      0
      Votes
      1
      Posts
      421
      Views

      No one has replied

    • Marco TorranoM

      How Open OBS

      • • Marco Torrano
      7
      0
      Votes
      7
      Posts
      2.3k
      Views

      Marco TorranoM

      @Russ Omg. Thank you, Russ. Thank you. ;))

    • MAX MAGALHAESM

      Start Spotify app

      • • MAX MAGALHAES
      1
      0
      Votes
      1
      Posts
      1.1k
      Views

      No one has replied

    • Matheus Henrique Tenorio RomeraM

      How to decrease and increase screen brightness?

      • • Matheus Henrique Tenorio Romera
      2
      0
      Votes
      2
      Posts
      909
      Views

      XanderX

      Create a trigger that calls Nirsoft.net's NirCMD program. It's got a ton of options. I use it to Mute my system but it does have a SetBrightness option.

      https://nircmd.nirsoft.net/setbrightness.html

    • Marco TorranoM

      How to run a Windows Explorer or specifc Folder?

      • • Marco Torrano
      3
      0
      Votes
      3
      Posts
      1.0k
      Views

      Marco TorranoM

      I DID! 😄
      Thanks, Russ.

      2f212a89-1403-4ef1-8f41-0d1eabd2e2fc-image.png

    • Marco TorranoM

      Open Spotify

      • • Marco Torrano
      1
      1
      Votes
      1
      Posts
      1.7k
      Views

      No one has replied

    • Marco TorranoM

      Open Evernote

      • • Marco Torrano
      1
      0
      Votes
      1
      Posts
      441
      Views

      No one has replied

    • Marco TorranoM

      This topic is deleted!

      • • Marco Torrano
      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • D

      Send windows PC to Hibernation

      • • datique
      2
      0
      Votes
      2
      Posts
      3.5k
      Views

      Marco TorranoM

      Update post:

      PTBR

      Desligar : Shutdown.exe -s -t 00

      Reiniciar: Shutdown.exe -r -t 00

      Cancelar: Shutdown.exe -a

      Hibernar: rundll32.exe PowrProf.dll,SetSuspendState

      Suspender: rundll32.exe powrprof.dll,SetSuspendState 0,1,0

      Bloquear: Rundll32.exe User32.dll,LockWorkStation

    • Cavagnola Franco IgnacioC

      Shutdown

      • • Cavagnola Franco Ignacio
      1
      0
      Votes
      1
      Posts
      2.0k
      Views

      No one has replied