Subcategories

  • MCP for AI tools that use LLM's

    7 Topics
    12 Posts
    RussR
    You could have Claude run a command each time it finishes a prompt. [image: 1784598164856-73e757cb-665d-49b4-ad47-dda84fd43988-image.png] One idea: turn a light green when it's finished, and turn it red when it's working on something. I tend to use the notepad command when I test parameters. [repo path]\.claude\settings.json: { "hooks": { "UserPromptSubmit": [ { "hooks": [ { "type": "mcp_tool", "server": "triggercmd", "tool": "run_command", "input": { "computer": "New Laptop", "command": "Notepad", "parameters": "started" } } ] } ], "Stop": [ { "hooks": [ { "type": "mcp_tool", "server": "triggercmd", "tool": "run_command", "input": { "computer": "New Laptop", "command": "Notepad", "parameters": "done" } } ] } ] } }
  • 7 Topics
    25 Posts
    RussR
    @Andru, thanks for the idea. I'll look into it.
  • API's to TRIGGERcmd

    5 Topics
    10 Posts
    RussR
    @Fabio, are you able to run your script as a TRIGGERcmd command yet? You can run it with a command like this: python3 c:\folder\pyautogui-position\script.py
  • 11 Topics
    63 Posts
    Nuno GomesN
    @Russ It´s working. Thank You.
  • 42 Topics
    154 Posts
    P
    For anyone trying to use TriggerCMD to run a routine on an iPhone, you can do so using TriggerCMD, IFTTT, and iOS Shortcuts. Here is how I achieved it: Create a TriggerCMD command of your choosing. It need not do anything. Use that command as the "Specific Command" trigger in IFTTT For the THEN THAT, I chose "Send me an SMS"* In the message of the SMS type a keyword of your choosing. Create the Action. On the iPhone, go to Shortcuts, and select Automation Tap + to start Shortcut creation. Choose "Message" Under "Message Contains," type in the keyword you used in the IFTTT applet Finish the Shortcut routine you wish to run when the SMS message is received *You could also achieve this sending yourself an email through IFTTT and choosing Email in the Automation section of Shortcuts Using this method, I do not have to say anything to the phone or even be near it to run a shortcut on it.
  • 22 Topics
    144 Posts
    RussR
    @Matt-Packwood, I thought I did produce an Apple Silicon version. Are you saying this version isn't an Apple Silicon version? https://agents.triggercmd.com/TRIGGERcmdAgent-arm64.dmg
  • 24 Topics
    125 Posts
    RussR
    @Pepe-Tops , good to know. I'll test and fix that if I can reproduce it.
  • 30 Topics
    215 Posts
    RussR
    @Hannibal, I see the problem. I told you /usr/lib/triggercmdagent which is the path on Ubuntu, not Raspberry Pi. Sorry about that. I corrected the "next steps" above to match the instructions here. It should look like this when you run the triggercmdagent command as root: pi@fe5978dee0e5:~$ sudo su - root@fe5978dee0e5:~# triggercmdagent Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot Daemon install: false No token exists. Login to request one. prompt: token: Then run this to install the background agent that will startup as root during boot: /usr/share/triggercmdagent/app/src/installdaemon.sh Then edit /root/.TRIGGERcmdData/commands.json and make sure your commands have ground = background.
  • 53 Topics
    196 Posts
    RussR
    @Lokilator nice, I've used the shutdown command in the past. I haven't seen that one.
  • TRIGGERcmd Zapier integration

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • Start Spotify Playlists with Smartthings and Trigger CMD

    7
    0 Votes
    7 Posts
    7k Views
    P
    yeah some googling found it already, tnx for the quick response. Im very noobish at this all and most of it is just copy past and reading. What i want is the following, tru smartthings with a virtual button to start a playlist but also to stop the playlist if the virtual sensor switch to off. Ive made it so far that i can start a playlist and send the audio tru a spotify connect speaker as so Set WshShell = WScript.CreateObject("WScript.Shell") Comandline = "C:\Users\Peke\AppData\Roaming\Spotify\Spotify.exe" WScript.sleep 9000 CreateObject("WScript.Shell").Run("spotify:user:1131846872:playlist:3ztoPH7GPeH9b898dIXcvc") WScript.sleep 5000 WshShell.SendKeys "^{s}" WScript.sleep 1000 WshShell.SendKeys "^{RIGHT}" WScript.sleep 1000 WshShell.SendKeys "^{d}" WScript.sleep 1000 WshShell.SendKeys "{TAB 4}", True WScript.sleep 1000 WshShell.SendKeys "+{ENTER}" but what i really also want if the virtual button goes to off that the playlist stops and the sound out of my spotify connect speaker stops playing. Is this possible, if so can you point me in the right direction? Greetz Peke
  • Pass parameters with Zapier

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @jgodney, I'll answer each question by number: Did you enable parameters on the command you ran from Zapier? Also did notepad open, or did it give you a prompt like this? [image: 1529966356944-ee0c55e1-c78b-4718-ae67-7ebc4a9ba110-image.png] Yes - multiple parameters are separated by a space. No - you can send an unlimited number of parameters, separated by spaces. Actually batch files can accept more than 9 too. From here I see, "On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters"
  • How can I avoid saying "TRIGGER C M D"?

    5
    0 Votes
    5 Posts
    5k Views
    RussR
    @danielfruth, both skills work the same way, so if you use one of the two Alexa skills - TRIGGERcmd or TRIGGER command, then you'll have to say one of these: Alexa, ask TRIGGERcmd to run X Alexa, ask TRIGGER command to run X If you use IFTTT, it's a more complicated setup, but you get to say something like this: Alexa, trigger X I told kent-scherler he could use the TRIGGER command skill because it does avoid saying TRIGGER C M D.
  • Switch Spotify devices with Alexa and Smartthings

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Support

    6
    0 Votes
    6 Posts
    4k Views
    RussR
    Thanks @yves, I see your emails now. Sorry I missed the first one. I'm looking at the error log now.
  • What to do if you get "Loading commands" forever.

    2
    0 Votes
    2 Posts
    2k Views
    N
    @Russ Thanks this worked for me.
  • Open Reddit posts via Stringify and TRIGGERcmd

    2
    0 Votes
    2 Posts
    16k Views
    N
    @Russ This is awesome! I know what I am setting up today
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • DEPRECATED: How to run remote commands from the command line

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied