TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to join an especific discord channel

    Scheduled Pinned Locked Moved Windows
    12 Posts 2 Posters 3.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR Offline
      Russ @Roberto Luis
      last edited by

      @roberto-luis , nice job! Would you mind posting your script here?

      Russell VanderMey

      Roberto LuisR 1 Reply Last reply Reply Quote 0
      • Roberto LuisR Offline
        Roberto Luis @Russ
        last edited by

        @russ In fact i'm having some problems to run the script .ahk with the triggercmd, when i do it manually, it works very well, but when I copy and paste the script's target and ask triggercmd to do it, it doesn't work.

        Could u help me with it?

        Then I can share the entire project working here

        RussR 1 Reply Last reply Reply Quote 0
        • RussR Offline
          Russ @Roberto Luis
          last edited by Russ

          @roberto-luis, can you show me your command?

          This works for me because of where autohotkey is installed on my PC, and where my script is.

          "C:\Program Files\AutoHotkey\AutoHotkey.exe" C:\autohotkeyscripts\media.ahk mute
          

          That mute at the end is a parameter for my script.

          Russell VanderMey

          Roberto LuisR 1 Reply Last reply Reply Quote 0
          • Roberto LuisR Offline
            Roberto Luis @Russ
            last edited by

            @russimagem_2022-03-19_191654.png

            It returns me this message when I try to turn my .ahk archive onto .exe

            It says successfully compiled, but no new archive is created. Then I tried to put the content of the message on the triggercmd's command, but nothing is happening

            RussR 1 Reply Last reply Reply Quote 0
            • RussR Offline
              Russ @Roberto Luis
              last edited by Russ

              @roberto-luis, if you rename that ToTalk.exe in the folder in the background, does it recreate a ToTalk.exe when you compile it again?

              Also, you don't have to use a compiled version. You could use a command like mine above.

              Russell VanderMey

              Roberto LuisR 1 Reply Last reply Reply Quote 0
              • Roberto LuisR Offline
                Roberto Luis @Russ
                last edited by

                @russ imagem_2022-03-19_192708.png

                Not at all, it continues just "ToTalk.exe.ahk"

                Roberto LuisR 1 Reply Last reply Reply Quote 0
                • Roberto LuisR Offline
                  Roberto Luis @Roberto Luis
                  last edited by

                  @roberto-luis It worked!

                  imagem_2022-03-19_192855.png

                  IDK what changed, but with this name the triggercmd could start my script.

                  #SingleInstance Force
                   
                  CoordMode, Pixel, Screen
                  CoordMode, Mouse, Screen
                  
                  Loop
                  {
                      PixelSearch, x, y, 1925, 11, 1994, 201, 0x7EDB32,, Fast
                      if (ErrorLevel = 0)
                      {
                          MouseMove, %x%, %y%
                          break
                      }
                  }
                  Click, Left
                  Loop 10
                  {
                  	Send, {Tab}
                  	Sleep, 300
                  }
                  Loop 8
                  {
                      Send, {Down}
                      Sleep, 300
                  }
                  Send, {Enter}
                  

                  Here u are the code, just need to change the pixel that u wanna search to click first (Pixel of the discord server's icon)

                  RussR Roberto LuisR 2 Replies Last reply Reply Quote 0
                  • RussR Offline
                    Russ @Roberto Luis
                    last edited by

                    @roberto-luis, awesome. Nice job.

                    Russell VanderMey

                    1 Reply Last reply Reply Quote 0
                    • Roberto LuisR Offline
                      Roberto Luis @Roberto Luis
                      last edited by

                      @Russ Thx for the help

                      RussR 1 Reply Last reply Reply Quote 0
                      • RussR Offline
                        Russ @Roberto Luis
                        last edited by

                        @roberto-luis, np. Any time.

                        Russell VanderMey

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post