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

      1.0.47 not installing, no log

      • • Xander
      4
      0
      Votes
      4
      Posts
      63
      Views

      RussR

      @Xander, awesome. I'm glad that worked.

    • ?

      TRIGGERcmd not starting at boot

      • • A Former User
      47
      1
      Votes
      47
      Posts
      3.5k
      Views

      trinibT

      @Russ yes most likely issue on my end with windows . I have some troubleshooting ideas ill test and see . thanks šŸ‘

    • kellanistK

      Powershell scripts no longer working

      • • kellanist
      6
      0
      Votes
      6
      Posts
      74
      Views

      RussR

      @kellanist, great. That makes sense.

    • Tiago Ivanov LavinasT

      A JavaScript error occurred in the main process

      • • Tiago Ivanov Lavinas
      10
      0
      Votes
      10
      Posts
      150
      Views

      RussR

      @Tiago-Ivanov-Lavinas, great. Not sure what happened the first time, but renaming that folder is like a fresh agent install.

    • Adam SA

      Install fails everytime, "JavaScript error in the main process.

      • • Adam S
      5
      0
      Votes
      5
      Posts
      163
      Views

      Tiago Ivanov LavinasT

      @Adam-S It worked. Thanks.

    • G

      How to create a trigger

      • • gigaboy
      3
      0
      Votes
      3
      Posts
      79
      Views

      G

      @Russ
      Perfect! Thanks for your help!

    • E

      Second Monitor Off

      • • Ego95
      1
      -1
      Votes
      1
      Posts
      66
      Views

      No one has replied

    • JRSF HomeJ

      Closing Apps created in Edge / Chrome Browsers

      • • JRSF Home
      4
      0
      Votes
      4
      Posts
      163
      Views

      JRSF HomeJ

      I've found out a bit more about why the taskkill command does not always work. If there is more than one instance of the browser open, only the one that Windows perceives to be active shows up in the task list. So if the browser App is minimised or you switch focus to another browser window, it 'dissappears' from the task list and the taskkill command fails.

      Unfortunately I haven't found a workaround yet!

    • V

      Command ran with error code 1 trying shutdown command

      • • vitormbn
      2
      0
      Votes
      2
      Posts
      113
      Views

      RussR

      @vitormbn , if you run the same command from a CMD window does it work? Error code 1 means it's running the command but it's failing. Ideally it will fail in the same way so you can see the error. One possible reason for the failure might be you don't have admin access on your machine.

    • Paul KellyP

      TriggerCMD throws an Application Error upon computer shutdown.

      • • Paul Kelly
      5
      0
      Votes
      5
      Posts
      214
      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
      119
      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
      592
      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
      87
      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
      280
      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
      146
      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
      3.5k
      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
      117
      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
      130
      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
      120
      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
      106
      Views

      L

      @Russ

      THANKS! Looks like that will work for me (but I bet you knew that šŸ™‚ )!