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
    • ?

      Supernew to Triggercmd, here are some noob questions :)

      • • A Former User
      2
      0
      Votes
      2
      Posts
      164
      Views

      RussR

      @Summer-Lovlinger, osascript is only on Mac computers, so you'll need to find another solution.

      I've found that I can make Spotify play/pause by pressing the spacebar, so a command like this works for me:

      nircmd sendkeypress spc

      You can download nircmd from here then run it and add it to your c:\windows folder so you can run it without specifying the full path.

      You can find all of the Spotify hotkeys by pressing CTRL+/. I found that here.

    • RussR

      Trigger commands with computer vision python script

      • • Russ
      1
      0
      Votes
      1
      Posts
      293
      Views

      No one has replied

    • B

      Encender PC

      • • Balam
      2
      0
      Votes
      2
      Posts
      441
      Views

      RussR

      @Balam, you would need a separate computer on your network to send a "magic packet" to the computer you want to turn on.

      Here's some info for Linux and Windows options:

      Linux: https://help.ubuntu.com/community/WakeOnLan
      Windows: https://www.windowscentral.com/how-enable-and-use-wake-lan-wol-windows-10

    • RussR

      Run a specific activity in a specific Android app

      • • Russ
      1
      0
      Votes
      1
      Posts
      183
      Views

      No one has replied

    • V

      Como eu posso cancelar ou abortar um desligamento feito pela alexa?

      • • Vallgum
      2
      0
      Votes
      2
      Posts
      208
      Views

      RussR

      @Vallgum, that's actually the first example.

      Click Browse Examples, then click Add next to "Abort shutdown".

      baf52699-a77b-4a7f-9497-d67d0dd5c6f7-image.png

    • R

      Turn Monitor Off doesnt work with Alexa

      • • ricardomat
      4
      0
      Votes
      4
      Posts
      475
      Views

      RussR

      @David-0, this command works for me on my Windows 11 box:

      nircmd monitor off

      These are the relevant docs for that nircmd function:
      https://nircmd.nirsoft.net/monitor.html

      You could also consider this command:

      MultiMonitorTool.exe /TurnOff 2

      You'll need to make sure nircmd.exe or MultiMonitorTool.exe is in a folder referenced in your PATH environment variable. I just talked about that with @h6477801471 here:
      https://www.triggercmd.com/forum/topic/2725/monitor-control-command-issue/2

    • Benjamín Urzúa SilvaB

      power off pc compatible with wake on lan

      • • Benjamín Urzúa Silva
      2
      1
      Votes
      2
      Posts
      611
      Views

      Vinícius SoaresV

      You've saved my life.

    • RussR

      Change desktop background color

      • • Russ
      1
      0
      Votes
      1
      Posts
      143
      Views

      No one has replied

    • M

      cerrar programas y carpetas

      • • marcelo olivares
      2
      0
      Votes
      2
      Posts
      214
      Views

      RussR

      @marcelo-olivares, google translated what you wrote as:

      "hello, who can help me to close folders and programs, such as word"

      To close a program you can use the taskkill command.

      This command will close Word:

      taskkill /im winword.exe

      This command will close all Windows Explorer windows:

      cmd /c "taskkill /f /im explorer.exe && start explorer"
    • Z

      Open Outlook

      • • zirolls
      1
      0
      Votes
      1
      Posts
      121
      Views

      No one has replied

    • Lucas MateusL

      Abrir programa em tela cheia (F11)

      • • Lucas Mateus
      4
      0
      Votes
      4
      Posts
      684
      Views

      RussR

      @Mauro, yes, just add the command in the GUI Editor.

      Right-click the tray icon and click GUI Command Editor:
      dab64203-1b65-44d9-be75-3dad9b4cec82-image.png

      Add the start /max notepad command:
      f51f3dba-91a1-4417-bdf7-d4c66e7c0e6a-image.png

    • MauroM

      This topic is deleted!

      • • Mauro
      2
      0
      Votes
      2
      Posts
      14
      Views
    • Paulo AndradeP

      Not able to run cmd file

      • • Paulo Andrade
      2
      0
      Votes
      2
      Posts
      123
      Views

      RussR

      @Paulo-Andrade, can you show me the contents of your c:\temp\test.cmd file?

      I created one and tested it. It worked for me. Here are my command settings:

      08a7c52a-db4c-4f2d-ae6e-dd4af1519cf2-image.png

      This is my test.cmd script:
      cc2cf26d-d88d-4e27-92a6-9239d38b51f4-image.png

      These are some things you could try:
      Click the green "play" button to see if you can run it locally:
      31c8732e-9245-419a-9cc2-84ff2bc3a707-image.png

      Make sure the "Ground" field is set to foreground.

      Try a simpler script, like mine above to confirm the script is running.

    • F

      Como abrir o jogo Valorant?

      • • faelfranco
      1
      0
      Votes
      1
      Posts
      304
      Views

      No one has replied

    • F

      problems typing keys with nircmd

      nircmd keys bat typing • • fmaick93
      3
      0
      Votes
      3
      Posts
      946
      Views

      F

      @Russ hello. I was able to run the sendkeypress command, but I'm trying to do several commands in the same file and only the first command is executed. I wrote the list of commands below and only the command "nircmd sendkeypress ctrl+shift+esc" is executed, the other commands are not executed. What can it be?

      nircmd sendkeypress ctrl+shift+esc
      nircmd wait 1000
      nircmd setcursor 1055 615
      nircmd wait 1000
      nircmd sendmouse left down
      nircmd wait 1000
      nircmd sendkeypress alt+f4

    • Alonso MesíaA

      Starting Spotify and playing a specific song

      • • Alonso Mesía
      1
      0
      Votes
      1
      Posts
      195
      Views

      No one has replied

    • Gianni PolitoG

      VLC Media Player / Multimedia keys

      • • Gianni Polito
      1
      1
      Votes
      1
      Posts
      182
      Views

      No one has replied

    • Arnold Martinez CastilloA

      Warzone

      • • Arnold Martinez Castillo
      7
      0
      Votes
      7
      Posts
      1.2k
      Views

      Arthur OscarA

      @frankerebus i did something similar too.. but as you say, assuming you only play cod and no updates open in battle.net window...
      now im trying to make a imagesearch to find play button to detect if cod is the active game on battle.net and to click on it... i already did works runing script manually, but when i tell to triggercmd to do it... it returns 0 on my search... trying to figure why... any idea? i replyied in other topic here

      https://www.triggercmd.com/forum/topic/1303/problem-run-call-of-duty-warzone/8?_=1684440229512

    • Antonio Romero MoraA

      This topic is deleted!

      • • Antonio Romero Mora
      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • Alex Molina LeonA

      Start Disney+ App of Microsoft Store

      • • Alex Molina Leon
      3
      0
      Votes
      3
      Posts
      670
      Views

      Carlos Eduardo 2C

      start Disneyplus: