Categories

  • Announcements regarding TRIGGERcmd

    82 Topics
    226 Posts
    RussR
    If you check the new Create Alexa Smart Home device for this computer checkbox, you'll get an Alexa Smart Home device that you can use to: "Alexa, set X volume to 50 percent" - run the volume control command with 50 (for example) as the parameter "Alexa, unmute X" - runs the mute control command with unmute or mute as the parameter "Alexa, turn on X" - sends a Wake-on-LAN magic packet from your local Echo device to turn on your computer "Alexa, turn off X" - runs the shutdown command X is your computer's voice word, or its name if you don't have a voice word for it. [image: 1784926161256-fe626973-2ba0-4a14-a3db-2cecd59fdab4-image.png] To enable Wake-On-LAN, enable it in your BIOS and test it, then enable it like this: [image: 1784926985471-a4f1bb0c-60dc-49d1-ac78-7b42c1f953d9-image.png] [image: 1784927086303-4d6c0507-4f97-44e6-8819-13b6c5631abd-image.png]
  • A place to talk about TRIGGERcmd

    726 Topics
    3k Posts
    RussR
    @Videsfront, you can revoke all previously issued tokens with this new button on the Token Usage page: https://www.triggercmd.com/user/tokenUsage [image: 1795659252497-c434b71c-6c6f-47a9-a8b2-78fae04da0b4-image.jpeg]
  • Instructions for each operating system, and various scenarios.

    295 Topics
    1k Posts
    RussR
    @Sshss-H, if you log into your account and click your name in the upper-right, then click Profile: [image: 1795611155701-1ea37828-a39d-4b4f-85e9-d0173c3eb869-image.jpeg] If you scroll down on the profile page you'll see this "View Token Usage History" button: [image: 1795611044882-7b8e9979-682f-4a2f-b7e3-293f10d1b88c-image.jpeg] Here's a direct link to that page: https://www.triggercmd.com/user/tokenUsage On that page you can see what tokens have been used for what, and you can disable them. If you have the leaked token, you can copy/paste it to https://www.jwt.io to get the issue date. It's safe to paste it there - it won't be sent to them.
  • A place to share commands you like to trigger remotely.

    401 Topics
    2k Posts
    jesusctbaJ
    Hi everyone, I have been building a Windows command set in TRIGGERcmd and wanted to share ideas that are just single-line commands - no .bat, .ps1 or external scripts required. Everything below can be pasted directly into commands.json (adjust names and paths to your setup). Launch apps and Windows tools calc - Calculator notepad - Notepad code - VS Code explorer.exe - File Explorer explorer.exe shell:MyComputerFolder - This PC explorer.exe shell:Downloads - Downloads folder taskmgr - Task Manager cleanmgr - Disk Cleanup control.exe - Control Panel ncpa.cpl - Network connections devmgmt.msc - Device Manager mmsys.cpl - Sound settings wt - Windows Terminal powershell - PowerShell cmd - CMD start ms-settings: - Settings app start ms-settings:network-wifi - Wi-Fi settings start ms-settings:bluetooth - Bluetooth settings Close apps without helper scripts taskkill /IM Code.exe /F taskkill /IM Obsidian.exe /F taskkill /IM notepad.exe /F taskkill /IM CalculatorApp.exe /F taskkill /IM taskmgr.exe /F taskkill /IM WindowsTerminal.exe /F taskkill /IM chrome.exe /F /T Drop /F when you want a graceful close instead of a forced kill. /F does not save unsaved work, so it is worth saying that in the command description. Windows controls in one line Lock screen: rundll32.exe user32.dll,LockWorkStation Sleep / standby: rundll32.exe powrprof.dll,SetSuspendState 0,1,0 Mute toggle: powershell -NoProfile -Command '$w = New-Object -ComObject WScript.Shell; $w.SendKeys([char]173)' Volume up / down: same line with [char]175 / [char]176 Play / pause: same line with [char]179 Empty Recycle Bin: powershell -NoProfile -Command 'Clear-RecycleBin -Force -ErrorAction SilentlyContinue' Close only File Explorer windows (taskbar survives): powershell -NoProfile -Command '(New-Object -ComObject Shell.Application).Windows() | Where-Object { $.FullName -like ''*explorer.exe'' } | ForEach-Object { $.Quit() }' HTTP devices and local services If you run a small local HTTP bridge (for example for a TV box), you can expose remote keys with curl. A POST to http://localhost:5555/api/send_key with a JSON body such as key = KEY_POWER is enough. Ideas: KEY_HOME (close/exit the current app), KEY_BACK, KEY_MUTE, KEY_VOLUME_UP, KEY_VOLUME_DOWN, plus an /api/open_app endpoint for YouTube/Netflix. The same pattern works for Home Assistant, n8n, a Hermes gateway on 127.0.0.1:8642, or any webhook. Only the trigger name leaves the machine; the command and credentials stay local. Bridge TRIGGERcmd to an AI coding agent You can turn a command into a prompt launcher for a local AI agent CLI: opencode run %* Set allowParams to true and use %* so multi-word prompts arrive intact. Redirect the output to a file if you want to read the result later. This is a nice way to ask your coding agent to do something from a phone, a voice assistant or an MCP client. For YouTube searches from voice, another useful command takes the spoken parameter and opens https://www.youtube.com/results?search_query= with the text URL-encoded. With Alexa's conversational skill you can say: ask TC to run buscar no youtube with parameter <your search phrase>. Google Assistant currently only sends on/off for Smart Home devices, so it cannot pass arbitrary text. MCP tip If you use the TRIGGERcmd MCP server, add mcpToolDescription to each command. The local stdio server then creates one tool per command (run_<computer>_<command>) using that description, so the model knows exactly when to use it. Say clearly whether the command accepts parameters. One gotcha: names are sanitized, so "Volume + TV" and "Volume - TV" both become volume_tv and one tool is lost. Use "Aumentar Volume TV" / "Diminuir Volume TV" instead. Safety notes /F kills apps without saving; use the graceful version for interactive apps. Emptying the Recycle Bin is irreversible, so describe it explicitly. Only trigger names are stored in the cloud - commands, paths and tokens stay on your computer. Hope these ideas help. Happy automating!