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

How to join an especific discord channel

Windows
2
12
991
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.
  • R
    Roberto Luis
    last edited by Mar 19, 2022, 6:36 AM

    I was trying to find a way to do this and didn't find an especific solution for it, but I saw a script that could execute some keyboards commands. In fact, u can navigate on discord using just your keyboard, I mapped a bunch of commands that could help me join an especific channel but IDK how to transfer it to a script.

    // I know that it's kinda amateur but thats the way that I found it lmao

    Tab //start the navigation on discord using the keyboard
    down arrow x10 times //going down to find the correct server to join (particular value)
    press enter //to open the server
    press tab x9 times //to start navigating on the channels
    down arrow x9 times //to select the correct voice channel
    press enter //to join it

    I wonder If someone could transfer it to an VBSscript and help me to use it on TriggerCMD

    R 1 Reply Last reply Mar 19, 2022, 4:01 PM Reply Quote 0
    • R
      Roberto Luis @Roberto Luis
      last edited by Mar 19, 2022, 4:01 PM

      @roberto-luis I Did it! I made a script using Autohotkey that can find the server and click on it searching for the correct color. Then, the script clicks on it and does the keyboards' commands to join the correct channel

      R 1 Reply Last reply Mar 19, 2022, 5:32 PM Reply Quote 0
      • R
        Russ @Roberto Luis
        last edited by Mar 19, 2022, 5:32 PM

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

        Russell VanderMey

        R 1 Reply Last reply Mar 19, 2022, 6:09 PM Reply Quote 0
        • R
          Roberto Luis @Russ
          last edited by Mar 19, 2022, 6:09 PM

          @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

          R 1 Reply Last reply Mar 19, 2022, 6:14 PM Reply Quote 0
          • R
            Russ @Roberto Luis
            last edited by Russ Mar 19, 2022, 6:14 PM Mar 19, 2022, 6:14 PM

            @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

            R 1 Reply Last reply Mar 19, 2022, 10:19 PM Reply Quote 0
            • R
              Roberto Luis @Russ
              last edited by Mar 19, 2022, 10:19 PM

              @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

              R 1 Reply Last reply Mar 19, 2022, 10:23 PM Reply Quote 0
              • R
                Russ @Roberto Luis
                last edited by Russ Mar 19, 2022, 10:24 PM Mar 19, 2022, 10:23 PM

                @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

                R 1 Reply Last reply Mar 19, 2022, 10:27 PM Reply Quote 0
                • R
                  Roberto Luis @Russ
                  last edited by Mar 19, 2022, 10:27 PM

                  @russ imagem_2022-03-19_192708.png

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

                  R 1 Reply Last reply Mar 19, 2022, 10:32 PM Reply Quote 0
                  • R
                    Roberto Luis @Roberto Luis
                    last edited by Mar 19, 2022, 10:32 PM

                    @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)

                    R R 2 Replies Last reply Mar 19, 2022, 10:34 PM Reply Quote 0
                    • R
                      Russ @Roberto Luis
                      last edited by Mar 19, 2022, 10:34 PM

                      @roberto-luis, awesome. Nice job.

                      Russell VanderMey

                      1 Reply Last reply Reply Quote 0
                      • R
                        Roberto Luis @Roberto Luis
                        last edited by Mar 19, 2022, 10:39 PM

                        @Russ Thx for the help

                        R 1 Reply Last reply Mar 19, 2022, 10:49 PM Reply Quote 0
                        • R
                          Russ @Roberto Luis
                          last edited by Mar 19, 2022, 10:49 PM

                          @roberto-luis, np. Any time.

                          Russell VanderMey

                          1 Reply Last reply Reply Quote 0
                          4 out of 12
                          • First post
                            4/12
                            Last post