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.
  • I DO NOT HAVE THE WINDOW TO INSERT THE TOKEN IN THE FIRST USE!

    2
    0 Votes
    2 Posts
    523 Views
    RussR
    @marco-gunther, When you search for the TRIGGERcmd agent, like this: [image: 1595162814506-9e834b8c-8aa3-4d2b-af23-4653e8a349f8-image.png] Do you see the option to click the App? [image: 1595162855310-da7608b1-292e-4516-986f-0f7220be2a7d-image.png] And if you click it, does nothing happen? Are you sure you don't already have the TRIGGERcmd tray icon? I right-clicked mine in this screenshot: [image: 1595162753911-12040e6d-b952-4559-ae5a-68307f66c01b-image.png] You might need to delete or rename your c:\Users\(username)\.TRIGGERcmdData folder to reset it.
  • An AWS Lambda function can run a command on your computer

    1
    1
    0 Votes
    1 Posts
    512 Views
    No one has replied
  • Unlock computer

    2
    0 Votes
    2 Posts
    650 Views
    RussR
    @jonatas I don't think it's possible.
  • How can I turn the computer screen on?

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @Marcos-silva, please confirm, if you use the website, it's working fine, it just Alexa that doesn't work? Also, not even the built-in calculator and notepad commands are working with Alexa? You could try the "turn monitors on" powershell command here, but success it depends on your hardware I think. It didn't work for me for example, even though turn monitors off powershell command did work. You'll see that the script that effectively presses the Print Scrn button did work to turn my monitor back on.
  • Nuevo Comado para MAC

    2
    0 Votes
    2 Posts
    637 Views
    RussR
    @rafaellinero, I have two suggestions: If you're not already doing this, try saying the sentence exactly like you see it on this page Try using the Smart Home Alexa skill instead. It recognizes what people say much better and uses these sentences instead.
  • Run kubectl commands from inside a Kubernetes cluster

    1
    0 Votes
    1 Posts
    488 Views
    No one has replied
  • Schedule commands with Google Calendar and IFTTT

    1
    0 Votes
    1 Posts
    385 Views
    No one has replied
  • voice commands or cli doesn't works anymore

    5
    0 Votes
    5 Posts
    929 Views
    A
    thanks Russ, i'll try this method regards
  • Help understanding how to create new commands

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @TheValkyrieAsh, I think your best bet is to watch some of the Youtube videos. If you got the TRIGGERcmd agent installed, you should be able to right-click the tray icon in the lower right near your clock, and select "GUI Command Editor". You'll probably have to click the up arrow to reveal the tray icon. [image: 1578962686786-02c2118d-b37c-4681-a422-034a17591b75-image.png] Please let me know how it goes.
  • How to use IFTTT with TRIGGERcmd

    25
    0 Votes
    25 Posts
    32k Views
    RussR
    @Mittal-Makwana, nice, what command does that?
  • command pm2 start or stop mm

    6
    0 Votes
    6 Posts
    3k Views
    RussR
    @ccd, awesome, I'm glad you got it working. Sounds like this is the command that worked: su - pi -c 'pm2 start mm'
  • Install TriggerCMD agent on your NAS OR Router

    2
    0 Votes
    2 Posts
    2k Views
    F
    AHOY, Steve F! I'm loving your instruction set, but I had a few questions for you. First off, were you on an older version of OpenWRT when you wrote this? Some of the filepaths are different for me on 18.06.4. Next, did you intend to embed emoji in your startup script, or is that supposed to be "*)" or something as hovering over it suggests? I assume the latter and would hazard a guess that this forum converts it to an emoticon. I'm just about to finish up with that and see whether TRIGGERcmd starts at boot. Finally, I understand the filename suggests that S30* should start with a priority level 30, but my router running 18.06.4 is trying to run it as priority level 1. Nowadays I think OpenWRT uses symlinks to set priority according to a couple of lines within an init script itself, so using classic filenames to set priority without indicating within the file itself the priority with which the script should be executed does not work. Once again, thank you!
  • Hubitat integration

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Unable to access to the aplication

    18
    1 Votes
    18 Posts
    6k Views
    RussR
    @gabi92a, I found out why Fiddler wasn't working. For NodeJS apps like the TRIGGERcmd agent, you have to set these environment variables before you run the node src\agent.js --console command: set https_proxy=http://127.0.0.1:8888 set http_proxy=http://127.0.0.1:8888 set NODE_TLS_REJECT_UNAUTHORIZED=0 That tells the NodeJS app to use Fiddler as a proxy server. I found that here: https://weblogs.asp.net/dixin/use-fiddler-with-node-js Can you try that? Maybe that will give us a clue. Also, you could try running it after setting this variable to get a bunch of debug output: set NODE_DEBUG=* One thing you should know - the agent uses a websocket to connect to the server, and that connection doesn't use the https_proxy variable so Fiddler won't pick that up. The request that's giving us this error doesn't use websockets though, so that shouldn't matter for this troubleshooting.
  • 0 Votes
    1 Posts
    964 Views
    No one has replied
  • Run an XML File located on Cloud

    b b
    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @muvvala-g, I use Jenkins too, so I can put together an example if you want, but here's some quick research I did so far: https://jenkins.io/doc/book/managing/cli/#common-commands It looks like Jenkins gives you a command-line tool that can run jobs. EDIT: I tried it out and it works pretty well. My command looks like this: java -jar jenkins-cli.jar -s http://localhost:8080 -http -auth admin:PASSWORD build MyJob -v -s Also, I downloaded the jenkins-cli.jar from my own Jenkins server with this command: wget http://localhost:8080/jnlpJars/jenkins-cli.jar Does that accomplish what you're trying to do?
  • Command for full screen video

    2
    0 Votes
    2 Posts
    1k Views
    RussR
    @brad-schmidt, I tried using Selenium IDE and Katalon recorder, and I couldn't get either one of them to work. Theoretically it should be possible.
  • Zapier Instructions

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • starting severals computers

    4
    0 Votes
    4 Posts
    2k Views
    M
    i can paste it now but not with my mouse i signed in after pasting nut i cant creat my first computer named "bureau"