TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. General Discussion
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • Paul KellyP

      TriggerCMD throws an Application Error upon computer shutdown.

      • • Paul Kelly
      5
      0
      Votes
      5
      Posts
      711
      Views

      Paul KellyP

      @Russ Done. Will keep you in the loop.
      Thank you!

    • Tony SeabackT

      Cant Get Background Services to Work anymore

      • • Tony Seaback
      2
      0
      Votes
      2
      Posts
      459
      Views

      RussR

      @Tony-Seaback

      I replied to you here, but basically I broke the background service in version 1.0.45. I just need to upgrade the node version and update the agent. I'll do that today. Stay tuned.

      https://www.triggercmd.com/forum/topic/3227/background-agent-commands-not-syncing-or-service-not-starting-please-assist-please-thank-you

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • P

      Background service

      • • pixelatedscreen
      4
      0
      Votes
      4
      Posts
      793
      Views

      RussR

      @Tony-Seaback, I replied to you here, but basically I broke the background service. I just need to upgrade the node version and update the agent. I'll do that today. Stay tuned.

      https://www.triggercmd.com/forum/topic/3227/background-agent-commands-not-syncing-or-service-not-starting-please-assist-please-thank-you

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • Tony SeabackT

      background agent commands not syncing or service not starting please assist. PLEASE ! thank you

      • • Tony Seaback
      2
      0
      Votes
      2
      Posts
      330
      Views

      RussR

      @Tony-Seaback, I see the problem. I broke the background service in this latest version 1.0.45. I'll produce a new version today and get back to you.

      EDIT: Please upgrade to version 1.0.46. It should fix the windows background service. Sorry about the bug.

    • A

      Mouse Clicker on specific coordinate

      mouse clicker • • atroguer
      2
      0
      Votes
      2
      Posts
      488
      Views

      THeVenueT

      @atroguer
      Yes if you setup a autohotkey and use the spy to get the x and y mouse coordinates u can

      In TriggerCMD gui
      “C:(path to autohotkey)” -play “C:(path to autohotkey script)”

      Use ChatGPT, to help you make the autohotkey script

      On desktop make a txt document
      Copy and paste AHK script from CHATGPT to document
      Save as
      MyScript.ahk
      File Type. ALL

    • S

      Triggercmd dont work after update.

      • • Santiago
      4
      0
      Votes
      4
      Posts
      336
      Views

      RussR

      Awesome @Santiago. Thanks for letting me know. Sorry about the trouble.

    • ?

      Can't add triggercmd to Google Home

      • • A Former User
      12
      0
      Votes
      12
      Posts
      4.0k
      Views

      RussR

      @Abel-Boby, do you see a list of voice commands on this page?

      You should have one voice command for each of your triggercmd commands that has a voice word, but only if the computer is your default computer or it has a voice word assigned to it. You can set your default computer on your profile page.

      In other words, these are the requirements for creating virtual devices in Google Home for your commands:

      Each command must have a voice word. Each computer must have a voice word, or it must be your default computer.
    • steef van der PoelS

      running .jar

      • • steef van der Poel
      2
      0
      Votes
      2
      Posts
      297
      Views

      V

      @steef-van-der-Poel If you want to run a .jar executable, you need to run it using java. This is best done with a batch script like the following file:

      Batch Script (launch.bat) cd C:\Users\steef\Desktop\minecraftServer java -Xmx1024M -Xms1024M -jar minecraft_server.1.21.4.jar > log.txt 2>&1

      Your TriggerCMD command would have to be executing the .bat file

      Something like this would work, the command comes from Minecraft's site:
      https://www.minecraft.net/en-us/download/server

      a66cf93e-d25e-4307-8d9a-ba761eec8e5c-image.png

    • H

      CMD commands no longer work

      • • Hugoboss
      3
      0
      Votes
      3
      Posts
      286
      Views

      RussR

      @Hugoboss, sorry, I missed your original post so I'm glad you followed up.

      For the 2 examples that won't run in the triggercmd agent, you said they won't run now, but they ran fine yesterday. Did you upgrade the agent between when they ran and when they didn't?

      Do they run fine if you run them manually from a cmd prompt?

      Please try putting this one in a .bat script like this, and run the .bat script as your command instead:

      cd /d "C:\Users\username\AppData\Local\Programs\UiPath\Studio" UiRobot.exe execute --process "Discord.Join.Server"

      Please test the .bat script manually too.

      Also could you share the contents of this script, and the output when you run it manually?

      "C:\Applications\UiPath\Robot\Starta Spel\Starta Spel\Start Game.bat"
    • Matheus de SouzaM

      TriggerCmd installed as normal, but not running my commands

      • • Matheus de Souza
      2
      0
      Votes
      2
      Posts
      325
      Views

      RussR

      @Matheus-de-Souza, it's showing "Command ran with error code 1" because your command is failing. Commands return error code 0 when they succeed.

      To troubleshoot, it would help to get the output of your command. You should be able to see the error if you run it manually from a cmd prompt.

      To open a cmd prompt, you can hold the Windows key and press R, then type cmd and press enter.
      9a53f208-d7ed-45ee-b14b-dec1f499230d-image.png

      If the command runs fine in the cmd prompt but it fails when you run it with the TRIGGERcmd agent, you should copy/paste your command into a .bat file and redirect the command's output to a log file, and change your triggercmd command to run the .bat file. That way you can look in the log file to see the error.

      For example, you could create a script.bat file with these contents:

      yourcommand > c:\logs\script.log 2>&1

      This part is to make stderr output go into your log, not just stdout: 2>&1

      Notice I put the log file in a c:\logs directory. You'll need to create that directory first. Windows won't let you write to a file in c:\ by default.

    • L

      Multiple users / profiles on windows 10

      • • lynwoodjweaver
      3
      0
      Votes
      3
      Posts
      217
      Views

      L

      @Russ

      THANKS! Looks like that will work for me (but I bet you knew that 🙂 )!

    • I

      Installer wont start

      • • iswasdoes
      9
      0
      Votes
      9
      Posts
      641
      Views

      RussR

      @Rob-Turing, I don't know. I use Windows Defender and I wasn't able to reproduce the issue.

    • Greg LarsenG

      New commands not showing up as devices in the Alexa app

      • • Greg Larsen
      3
      0
      Votes
      3
      Posts
      360
      Views

      XanderX

      @Greg-Larsen Correct. They are optional should someone want to just use the triggercmd site to set off their actions but absolutely needed for Alexa/Google integration. 👍🏻

    • Jaqueline ChinagliaJ

      Turning PC on (without WoL)

      • • Jaqueline Chinaglia
      3
      0
      Votes
      3
      Posts
      373
      Views

      XanderX

      @Greg-Larsen If you want to add hardware, a $5 smart plug (Aliexpress) would do the job of your $25 (+hub) suggestion. Set the BIOS to turn on when power is provided and you're done.

      I have my three monitors on one smart plug so when I say Good Morning to Alexa, she fires them up. I don't really need WoL so pressing the button is fine with me.

    • C

      Issue when passing URL as parameter

      • • Caio Kenup
      3
      0
      Votes
      3
      Posts
      318
      Views

      Felipe FanchiniF

      @Caio-Kenup I solved this problem including ^ just before &. So, as an example, I changed

      start www.youtube.com/watch?v=dQw4w9WgXcQ&autoplay=1

      to

      start www.youtube.com/watch?v=dQw4w9WgXcQ^&autoplay=1

      I believe that it will works to everybody that has a URL with character "&"

    • T

      para instalar me pide tokkern y ese tokken no lo encuentro en cuenta

      • • tommy0981
      3
      0
      Votes
      3
      Posts
      227
      Views

      Mauricio H.M

      @tommy0981 El token te lo ponen en rojo en la pagina de instrucciones, en la esquina izquierda superior, es una serie de numeros largos

    • T

      Alexa stops midway when reading long sentences

      • • tigor
      6
      0
      Votes
      6
      Posts
      410
      Views

      RussR

      @tigor, great. I'm glad it's working.

    • D

      Need Advice on Setting Up Custom Commands for Multiple Devices

      • • davidcook
      2
      0
      Votes
      2
      Posts
      284
      Views

      RussR

      @davidcook, let's focus on making commands sync with your Raspberry Pi first.

      Did you use these instructions when you setup your Raspberry Pi?

      If you install the background service with this command:

      /usr/share/triggercmdagent/app/src/installdaemon.sh

      ... it runs as root, and reads /root/.TRIGGERcmdData/commands.json, and it will only sync your background commands (ground = background) not foreground commands.

      If you're editing your /home/pi/.TRIGGERcmdData/commands.json that could be the problem.

      Please show me the output of this command: systemctl status triggercmdagent
      I'd like to confirm it's running.

      Also, do you see the your Raspberry Pi listed on your "Your Computers" page? If not, maybe it didn't create a computer because you're not subscribed. You can only have one computer if you're not subscribed.

    • Gustavo RiosG

      Sair do Modo suspensão

      • • Gustavo Rios
      2
      0
      Votes
      2
      Posts
      216
      Views

      RussR

      @Gustavo-Rios, you can't run any commands on a computer that's suspended because it's not connected to the Internet.

      You might be able to wake it up from a separate computer on your network though.

    • T

      Alexa keeps saying "no result" when using the conversational skill

      • • tigor
      4
      0
      Votes
      4
      Posts
      319
      Views

      RussR

      Thanks @tigor