How To Send Inputs to Multiple Windows / Minimized Windows with Python. Or Die Trying

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 222

  • @NobungaGames
    @NobungaGames 2 ปีที่แล้ว +34

    Please Don’t stop uploading!!! You have probably the most helpful AI videos I’ve found so far! Please keep going

  • @marceloviana7622
    @marceloviana7622 3 ปีที่แล้ว +23

    hey bro, please dont quit, the most pleasure content of yours is how to make bots, so you should focus on that. Your audience will increase easily, focus on various types of games.

  • @umapessoa6051
    @umapessoa6051 3 ปีที่แล้ว +193

    Hi, you don't upload videos in a while, hope you're fine, your videos are pretty helpful, please if you're reading this, we need more content like yours, make more videos when you can.

    • @pabloortega1569
      @pabloortega1569 2 ปีที่แล้ว +20

      I came here to say almost the same. I hope you're doing fine. Your videos have been helping me a lot. You're amazing!!! Thanks a lot for all the videos you've made.

    • @Kanjas19
      @Kanjas19 2 ปีที่แล้ว +13

      I'll leave another comment to support this. This channel is way too useful to learn anything. I hope someday you comeback man.

    • @cesarpadilla8358
      @cesarpadilla8358 2 ปีที่แล้ว +5

      cant let this comment die

    • @SapienciaEstoica
      @SapienciaEstoica 2 ปีที่แล้ว +9

      just notice he didn't upload anything in one year. I really hope hes okay, his channel is a hidden gem. He can explain everything so simple yet so full of useful information.

    • @DanielXavierDosReis
      @DanielXavierDosReis 2 ปีที่แล้ว +10

      Came here too to show support to Ben! Please update us about you, hope you're doing fine

  • @vitordomingos8569
    @vitordomingos8569 3 ปีที่แล้ว +9

    yoooooo, felt actually that we were " Learning" and exploring together XD amazing man,

  • @compinerd732
    @compinerd732 ปีที่แล้ว +2

    the way you teach and show how you go about solving a problem and give us tools at hand and show us how you figure out stuff is exceptional. i thank you for all the work you've put in your videos so far.

  • @aarongill1075
    @aarongill1075 3 ปีที่แล้ว +5

    Subscribed when you said "I don't know lets figure it out." Thanks for these videos

  • @jinnie7882
    @jinnie7882 3 ปีที่แล้ว +7

    I found your channel just recently and gotta say your little series on writing a bot got me back into coding and I'm having a lot of fun! :)
    So thank you kind sir

  • @realhippohenry
    @realhippohenry ปีที่แล้ว +2

    Don’t know if you stopped making videos but, just found your channel and learnt so much useful stuff that I’ve always wanted to figure out! Thanks for the great info and I hope to see new videos from you in the future.

  • @ByteBeacon9660
    @ByteBeacon9660 2 ปีที่แล้ว +5

    I was trying to do this for a browser game that I was automating. In the middle of trying this I found a solution specific to browsers. You can use playwright or selenium to automate a browser. This includes sending mouse and keyboard inputs on specific elements and/or coordinates of canvases. These libraries include a screenshot function which you can pair up with opencv and do image recognition. This can all work in the background. The browser doesn't have to be maximized.

  • @SaituV2
    @SaituV2 2 ปีที่แล้ว +1

    Subscribed to you some time ago. Never regretted it. Hope you are well.

  • @CommentFrom
    @CommentFrom 3 ปีที่แล้ว +7

    You got any plans for more videos? Really loved everything you've uploaded so far

  • @keklmao
    @keklmao 2 ปีที่แล้ว +1

    I just wanted to come to your newest video to let you know i love the way you teach , and have been learning alot! thank you!

  • @kyubi2uzumaki
    @kyubi2uzumaki 3 ปีที่แล้ว +11

    Personally I use both post/send message for my bot but I also have find out that Autoit is also really powerful and can do things that send and post message cannot. In the end I settled on using a mix of both of them for my bot by using the pyAutoit module. This results in my bot being blazing fast and consistent for multiple windows even when unfocused.

    • @LearnCodeByGaming
      @LearnCodeByGaming  3 ปีที่แล้ว +3

      PyAutoIt looks cool

    • @DaKrucial
      @DaKrucial 3 ปีที่แล้ว +3

      Yup I just pyAutoit. It was the quick and easiest way to solve this problem.

    • @_claud
      @_claud 3 ปีที่แล้ว +1

      Would you mind uploading it to Github or anywhere else to see how you did it? Would be interesting to see. I just ran my bots in VMs. Running them natively would be much better. xd

    • @Hemoplaguer
      @Hemoplaguer 3 ปีที่แล้ว

      I would love some more information on how you accomplish this. I, as well as probably many others who came to this video, are still searching for a way to send input to inactive windows. Please get back to me if you care to elaborate. Discord: Chai#5765

    • @nicholashammond6638
      @nicholashammond6638 3 ปีที่แล้ว

      @@DaKrucial It looks like autoit (and thus any bindings for it) uses PostMessage internally

  • @gm4984
    @gm4984 3 ปีที่แล้ว +4

    I think that writeprocessmemory might just be the solution.
    In theory there's a 1byte or 4byte value that determines if the window is active or not. This value is then used to allow/disallow inputs, if the value is flipped to a 1 then it will start reading keyboard inputs.
    I worked a lot with assembly and many applications prevent custom inputs, but they do still allow modified Xinput inputs, and that can also be an alternative.

    • @gerooqelvis3466
      @gerooqelvis3466 2 ปีที่แล้ว

      could you elaborate more on this?

  • @ktc50222
    @ktc50222 ปีที่แล้ว

    Bro your content is the best python content I have ever had the pleasure to watch. I have learned so much from you in like 4 videos. I know you haven't uploaded in a while but I hope you're doing well. All the best my man, cheers!

  • @nazalaMV
    @nazalaMV ปีที่แล้ว

    Hi,
    I'm grateful for your video. It explained well the limitation usage using python that I'm also have the same issue as yours. I can't get around to make my python program to run through a minimized window.
    But anyway, thanks a lot for your explanation. I'm hoping to get new updates either from this channel or this comment section for how to using python and doing automated on a minimized apps.

  • @jtvalente
    @jtvalente 2 ปีที่แล้ว

    Great video, this helped me automate key presses in a ps4 game (using remote play linked with my computer)

  • @espvolt4833
    @espvolt4833 3 ปีที่แล้ว

    abandoned looking for something like this for months this is sick

  • @lotto5883
    @lotto5883 3 ปีที่แล้ว +2

    This is way too specific but its exactly what I'm looking for... Thanks for uploading

    • @kex0
      @kex0 2 ปีที่แล้ว

      Specific? The amount of people asking how to do this would suggest the opposite.

  • @kentalontaga6850
    @kentalontaga6850 3 ปีที่แล้ว +4

    Thank you!! ive been waiting for your uploads

  • @359w
    @359w 3 ปีที่แล้ว +1

    Thanks a lot for all your videos. You have helped me a lot with deeper understanding of some of the subjects. THANKS A LOT!

  • @Alexandurs
    @Alexandurs 3 ปีที่แล้ว +8

    This was very enlightening, thanks!

  • @baquant
    @baquant 3 ปีที่แล้ว +29

    I hate how I can recall those stack overflow pages.

    • @LearnCodeByGaming
      @LearnCodeByGaming  3 ปีที่แล้ว +3

      lol

    • @mzmahid1212
      @mzmahid1212 3 ปีที่แล้ว

      is it possible to input mouse clicks too while the window is minimized or inactive.

    • @VaticansAssasian
      @VaticansAssasian 2 ปีที่แล้ว

      @@mzmahid1212 yes there is an example at object detecting playlist

  • @canal_conectando
    @canal_conectando 2 ปีที่แล้ว

    Where are you? Show up again! I love your videos! Your channel is one of the best around here.

  • @thangdinh4838
    @thangdinh4838 2 ปีที่แล้ว

    You have the most interesting coding instruction channel

  • @gbitencourt
    @gbitencourt 3 ปีที่แล้ว +1

    Man, the level of this content is so high.

  • @secretarybailey770
    @secretarybailey770 2 ปีที่แล้ว

    love your work bro haircut looking wicked too

  • @dariusz4434
    @dariusz4434 11 หลายเดือนก่อน

    This was really helpful, great work!!
    Hope you are doing well!:)

  • @Linda-mj2cz
    @Linda-mj2cz 3 ปีที่แล้ว +1

    Love the new hairstyle :$
    Great video!

  • @ethanstephanis4034
    @ethanstephanis4034 3 ปีที่แล้ว

    Man I’m glad you made this video I would have been going down the rabbit hole trying to do this for hours lol. I instead spent the entire day trying to get modded minecraft to run in a VM and finally got it to run at around 10 FPS which is good enough for my code to do it’s thing

    • @kan8602
      @kan8602 3 ปีที่แล้ว

      2b2t?

    • @ethanstephanis4034
      @ethanstephanis4034 3 ปีที่แล้ว

      @@kan8602 nah fishing in a pixelmon server. Ended up getting banned lol

    • @OlofMemester
      @OlofMemester 3 ปีที่แล้ว

      Hey I know you probably won't see this but I am trying to write a bot for Minecraft as well and for some reason when I try to input the keys it doesn't release them. Did you encounter this issue and do you know how to fix it?

    • @ethanstephanis4034
      @ethanstephanis4034 3 ปีที่แล้ว

      @@OlofMemester dang I replied but for some reason it didn't go through.
      To sum up what I said in my previous reply that I didn't acutally post
      There's multiple ways to simulate key presses and I think I used pydirectinput for my script. You should be able to pip install pydirect input, import it, and put pydirectinput.press('esc')
      I can't check that I used pydriectinput or that that works so if for some reason it gives the same bug you could try
      pydirectinput.keydown('esc')
      pydirectinput.keyup('esc')
      th-cam.com/video/LFDGgFRqVIs/w-d-xo.html&ab_channel=LearnCodeByGaming
      video on pydirectinput

  • @cesarpadilla8358
    @cesarpadilla8358 2 ปีที่แล้ว

    hey bro, hope you are ok
    pretty thankful with the vids you uploaded

  • @張修瑋-d2s
    @張修瑋-d2s 2 ปีที่แล้ว +1

    Hey, just want to say thank you for making these videos! They are so much helpful :)

  • @simonsmaster12
    @simonsmaster12 3 ปีที่แล้ว

    Thanks for the informations. Now i can start my project.

  • @lussindo
    @lussindo 2 หลายเดือนก่อน

    We need you, comeback legend!

  • @theonecallednick
    @theonecallednick 3 ปีที่แล้ว

    Where were you when I was struggling to do all of these? XD
    I guess i wasn't looking hard enough so that was my fault.
    Love the video though and learn a lot of things!

    • @theonecallednick
      @theonecallednick 3 ปีที่แล้ว

      Well I'm still struggling to do it xD. I just did some workarounds accepting slme comprises lol

  • @funktionone821
    @funktionone821 10 หลายเดือนก่อน +1

    We didn not see you since long time, I have a great video suggestion for you, make a video about how to connect a custom trained YoloV8 model to any game window. The current version is V8 which has so many options, for Detection ,Tracking, Segmentation and so on, now it is even easier deploying implementing for custom projects.
    Reply

  • @Vylerr
    @Vylerr 3 ปีที่แล้ว +1

    i have ran into this problem too and have been on all of those stack overflow pages. damn

  • @guimauve522
    @guimauve522 3 ปีที่แล้ว +1

    I would look into creating virtual keyboard and mouses. I know that there used to be one app on windows that was able to do just that but apparently it isn't working as good since some windows updates.. It was created so people would be able to connect multiple mouses to a pc so they could all work from the same machine; this would let you do most of what you want I believe

  • @zosyn320
    @zosyn320 2 ปีที่แล้ว

    Hey man, hope you're doing well, love your videos, hope you come back and post some more ! :)

  • @dc22199x
    @dc22199x 3 ปีที่แล้ว +2

    You need coroutine to do that rather than blocking each window, or create a json file where it contains the lists of PIDs used so you can run the main.py multiple times, thus you dont need to have that forloop

  • @snowmanstan3933
    @snowmanstan3933 3 ปีที่แล้ว +1

    You should do a series about ML playing a video game. That would be pretty dang cool

  • @kosmonautofficial296
    @kosmonautofficial296 ปีที่แล้ว

    hey man hope you are doing well I miss this amazing videos!

    • @messto531
      @messto531 ปีที่แล้ว

      he is dying Rest In peace i guess

  • @s_e_t_z3248
    @s_e_t_z3248 2 ปีที่แล้ว

    Where have you been man? I love your videos, they got me into coding and I cannot thank you enough.

  • @Currychicken5
    @Currychicken5 3 ปีที่แล้ว +3

    Oh my god. This is what I needed THANKS 😀

  • @Kanjas19
    @Kanjas19 2 ปีที่แล้ว +1

    this is really helpfully.thank you so much.

  • @jjang_won
    @jjang_won 3 ปีที่แล้ว +2

    Thank you for the tutorials! This is exactly what I looking for.
    However, I struggle with one more problem. Could you help me if you don’t mind?
    I want to assign hotkeys to start/pause/reload/exit macro in Python.
    The macro is infinite loop, like AutoHokey code below.
    F1::
    Loop {
    DoSomething()
    }
    Return
    F2::Pause
    F3::Reload
    F4::ExitApp

    • @bmfs348
      @bmfs348 3 ปีที่แล้ว +3

      Not sure if you figured it out, but the easiest way is probably to have two different threads

  • @saw6053
    @saw6053 ปีที่แล้ว +1

    Hey man, how are you? Have you stopped making youtube content? Hope all is good with you. Cheers and thanks for the great content.

  • @emiliomota2459
    @emiliomota2459 3 ปีที่แล้ว +1

    dang you are a genius bro

  • @alexsalgado-developeradvoc2886
    @alexsalgado-developeradvoc2886 11 หลายเดือนก่อน

    congrats!! Does it works for MacOS?

  • @7up340
    @7up340 3 ปีที่แล้ว

    I'm not a python guy but this was interesting and entertaining for me

  • @グルイズビオ
    @グルイズビオ 10 หลายเดือนก่อน

    any way to send mouse click? the video does explain for key and it works, but idk what for mouse click

    • @sak.4001
      @sak.4001 7 หลายเดือนก่อน

      Ahk lib?

  • @Hemoplaguer
    @Hemoplaguer 3 ปีที่แล้ว +2

    Ah, so still no solution... I was really hopeful. I got excited when I read your title.

  • @lethanhphong7812
    @lethanhphong7812 2 ปีที่แล้ว +1

    8 months now still :( i hope you okay

  • @ebadaniba0
    @ebadaniba0 2 ปีที่แล้ว

    Sir, do you have some content about identify a image in window and move to it using WASD? i saw you videos about opencv, but i cant find nothing about WASD moving to detected object.

  • @tonyr0xx
    @tonyr0xx 2 ปีที่แล้ว

    do you now how to set workwindow by mouse position ? i need to send keys like 1, 2, 3, to a game.exe in minimized window, this window must be captured by a mouse positon, by PID and set PID to workwindow.

  • @TheFormerTeam
    @TheFormerTeam 4 หลายเดือนก่อน

    I found in auto hot key that this works quite well to send to a background window but if you're trying to do multiple copies of the same window then it doesn't work so well.
    ControlSend, , {input here}, *windowTitle

  • @dharmatejasingampalli6480
    @dharmatejasingampalli6480 ปีที่แล้ว

    Is it possible to send multiple inputs of same to single application...like example I want to mimic ctrl+c on multiple text box in a desktop application at once or having tab key work on two or more text boxes at once....is there any approach or idea on this

  • @Erotukas
    @Erotukas 2 ปีที่แล้ว

    Scripting program called uopilot as well as autoit can do it easily. Maybe Python is limited in that sense, or libraries needs to be created to make it work with unfocused windows

  • @pizza88
    @pizza88 2 ปีที่แล้ว

    Hi I used AutoHotkey which actually has send keys function, you may try that with python associated?

  • @piorprogramadorbr9481
    @piorprogramadorbr9481 2 ปีที่แล้ว

    Am trying to create a bot for a game, but I wanna do mouse clicks in a minimize window

  • @dharmatejasingampalli6480
    @dharmatejasingampalli6480 2 ปีที่แล้ว

    Hai..is there any possible ways to record keyboard strocks and repeat it when we call a method...

  • @ineverchangemyplayericon3016
    @ineverchangemyplayericon3016 3 ปีที่แล้ว

    This video reminded me of the pain in win32. I even made a SO post about windows messages and it was down voted by an ex MS employee because I was asking something that is not possible. Idk if Linux has a better window message architecture for user inputs. The answer is probably just use a better OS. But it may be possible to rewrite windows message architecture, but probably not worth it.

  • @beeasy247
    @beeasy247 ปีที่แล้ว

    Any solution for sending a mouse click to a specific part of the window (without taking the mouse or focus away from whatever the user is doing)

    • @oma6393
      @oma6393 ปีที่แล้ว

      win32gui.PostMessage() will work,for keyboard you need send to pids

  • @tetteykn110
    @tetteykn110 3 ปีที่แล้ว

    im nob in Python and this stuff, can you create me 4 keyboard keys to send to game? for example i want to press "E then Z then Shift then Space" i want to create script like when i press F8 it sends that inputs when im playing a game.

  • @foxpro9524
    @foxpro9524 3 ปีที่แล้ว +1

    Your fan from Vietnam. Hello, could you make a video about "Detect custom object using HOG cascade training". Thanks a lot.

  • @frazz2k4
    @frazz2k4 3 ปีที่แล้ว

    Bro when you coming back with more videos, we miss you!

  • @w0lm7b97
    @w0lm7b97 ปีที่แล้ว

    hope you are doing well wherever you are!

  • @mzmahid1212
    @mzmahid1212 3 ปีที่แล้ว

    is it possible to input mouse clicks too while the window is minimized or inactive.

  • @richardking6980
    @richardking6980 2 ปีที่แล้ว

    Out of interest, why can we not use pyautogui and just select the windows when broadcast the inputs?

  • @poepew417
    @poepew417 2 ปีที่แล้ว

    i am a developer who uses MacOs. Which libraries should I choose for handling windows?

  • @farfalleus8568
    @farfalleus8568 2 ปีที่แล้ว

    Do you think you could use multithreading to press two keys at once?

  • @lilyannabalowaara11
    @lilyannabalowaara11 3 ปีที่แล้ว +1

    My biggest flex, this is my uncle

    • @usto4361
      @usto4361 2 ปีที่แล้ว

      Is he doing well?

  • @abdallahazme3737
    @abdallahazme3737 3 ปีที่แล้ว

    Excuse me Ben, is this mean you cannot use the bot you have build for Alibion online on more than window?

  • @taoufikidrissi835
    @taoufikidrissi835 3 ปีที่แล้ว

    Would it be possible to make a series about Man In The Middle bots MITM in Python of course, seeing how to read the signals. hooking, sockets all that good stuff .
    Also I made a first bot using your series for another video game and IT WORKS WONDERS !

  • @lyricsms5448
    @lyricsms5448 3 ปีที่แล้ว

    I love this but I wanted to know something.
    So how easy is it for Anti-cheats to detect that your mouse clicks or mouse movement comes from a program or hardware?
    Like if I send the mouse movement command via program would that be easy for them to detect?
    Would it be harder to detect if its hardware?

    • @XXnlcodXX
      @XXnlcodXX 3 ปีที่แล้ว +3

      They are just gonna see what inputs you did/do, not the source that is sending the inputs. So if you make the movement consistent , they will detect it fast. No way a human is following exact same pixels/pathing every time, or move crazy fast etc etc. The trick is getting it to randomise and act "human like".

  • @iapeiro4077
    @iapeiro4077 3 ปีที่แล้ว

    Is there a way to find a new opened window? For example, I want my bot to open 2 windows at a time for 30 minutes then open another 2, and windows will have the name (window1,window2,window3,etc)

  • @SkuldVi
    @SkuldVi ปีที่แล้ว +1

    best code channel

  • @RainDevs
    @RainDevs 3 ปีที่แล้ว +4

    lmao I died trying and went with running the game in a VM lol.

  • @CptEngage
    @CptEngage 3 ปีที่แล้ว

    _How To Send Inputs to Multiple Windows Or Die Trying_
    So far I'm closer to the 2nd one, but let's see what this video will change :)

  • @SonsuzPotansiyel
    @SonsuzPotansiyel 3 ปีที่แล้ว +3

    Can you take a video for how to use metin2 fish bot

    • @LearnCodeByGaming
      @LearnCodeByGaming  3 ปีที่แล้ว +3

      I haven't heard of that game, I'll check it out

    • @SonsuzPotansiyel
      @SonsuzPotansiyel 3 ปีที่แล้ว

      @@LearnCodeByGaming appreciate you

    • @harique9204
      @harique9204 3 ปีที่แล้ว

      @@SonsuzPotansiyel Simple thing just search for title of numbers for space clicks or if there is image apearing over your head that s waaay easier.

  • @Sockheadrps
    @Sockheadrps 2 ปีที่แล้ว

    keep it up, im subbing!

  • @lordraphi
    @lordraphi 2 ปีที่แล้ว

    Can you come back and show us some more cool stuff? Thank you :)

  • @hakankosebas2085
    @hakankosebas2085 ปีที่แล้ว

    hey can you make serie with opencv self driving car project? but roads shouldn't have clear view, like mud roads in foxhole game.

  • @SRFxVideos
    @SRFxVideos 3 ปีที่แล้ว +1

    Hello, why don't you upload anything?

  • @s1dev
    @s1dev 3 ปีที่แล้ว

    man, you are just awesome. I am having trouble with pyautogui when importing from a different .py file and it just didn't work.
    also, I wanted to know if I could resize a window(resize x,y) and position it on my screen with code?

  • @fghtyfght2348
    @fghtyfght2348 ปีที่แล้ว

    Does anyone know the virtual key code of hash(#) ? (Ctrl + Alt + 3)

  • @pedrobizzotto556
    @pedrobizzotto556 2 ปีที่แล้ว

    Does anyone know how I can simulate a mouse click drag and drop in a minimizer window?

    • @oma6393
      @oma6393 ปีที่แล้ว

      you cannot. but try hack dirct3D lib

  • @00Jannis00
    @00Jannis00 2 ปีที่แล้ว

    This is exactly what I am looking for :)
    is this also possible for macOs?

    • @Processador_DE_BaixaQualidade
      @Processador_DE_BaixaQualidade 2 ปีที่แล้ว

      Hey i'm new here,i actually can't understand nothing that he's saying in the video,what i need to know to do the exactly thing that he did in the video?

  • @ryanthompson1326
    @ryanthompson1326 3 ปีที่แล้ว

    You could put the bot in it's own vm and have it view an rdp window from the host.

  • @promisedid4571
    @promisedid4571 3 ปีที่แล้ว

    que daora, irei ver todos vídeos.

  • @WholesomeContentForYou
    @WholesomeContentForYou 3 ปีที่แล้ว

    love the videos keep it up!

  • @Dannybeasted
    @Dannybeasted 3 ปีที่แล้ว +1

    hey, can you do more javascript stuff? great content!

    • @LearnCodeByGaming
      @LearnCodeByGaming  3 ปีที่แล้ว

      Thanks! Yeah I plan on doing more javascript stuff. Anything in particular you'd like to see?

    • @Dannybeasted
      @Dannybeasted 3 ปีที่แล้ว

      Learn Code By Gaming maybe how to work with APIs from game companies such as riot games and display the data somewhere

    • @Dannybeasted
      @Dannybeasted 3 ปีที่แล้ว

      Learn Code By Gaming or making a browser based game, spin the wheel or blackjack/ chess

    • @AhmedMusrin
      @AhmedMusrin 3 ปีที่แล้ว +1

      @@LearnCodeByGaming I loved the runescape scripting series. Maybe something similiar:D

  • @kernelgm
    @kernelgm 3 ปีที่แล้ว

    Hey bro, can you make a video about Shift + Click in Albion?
    I tried all the ways I know, nothing works. /:
    All my tryes uses a Win32API function called SendInput. The SendInput function will insert input events into the same queue as a hardware device but the events are marked with a LLMHF_INJECTED flag that can be detected by hooks and then filtered.
    One simple ex.:
    import pydirectinput
    import keyboard
    while True:
    if keyboard.is_pressed('1'):
    keyboard.wait('1')
    pydirectinput.keyDown('shift')
    pydirectinput.click(x, y)
    pydirectinput.keyUp('shift')
    if keyboard.is_pressed('2'):
    break

    • @ethanstephanis4034
      @ethanstephanis4034 3 ปีที่แล้ว

      Import keyboard
      Keyboard.press(“shift”)
      Whatever you use to click
      Keyboard.release(“shift”)

    • @ethanstephanis4034
      @ethanstephanis4034 3 ปีที่แล้ว

      Oh wait I’m not sure if you were asking how to shift click or how to do that with the win32api function

    • @kernelgm
      @kernelgm 3 ปีที่แล้ว

      @@ethanstephanis4034 I try this too, but doesn't work on Albion online. /:
      The easy anticheat detect this and don't do the action.

    • @ethanstephanis4034
      @ethanstephanis4034 3 ปีที่แล้ว

      @@kernelgm wow I’m curious how that anticheat works. You could try seeing what specific part it detects if it doesn’t detect the whole thing. Like try to test if it only detects the click but will still hold shift down. If that’s the case try multiple ways of getting it to click like pydirectinput.click(),pyautogui.click, idk what the specific function is but ik you can import mouse and simulate a left click with that as well

    • @oma6393
      @oma6393 ปีที่แล้ว +1

      ThreadId = GetWindowThreadProcessId(hwnd, None) AttachThreadInput(GetCurrentThreadId(), ThreadId, False) this will work

  • @erykadolphson9491
    @erykadolphson9491 3 ปีที่แล้ว +2

    Thank you!!

  • @sciencekhuong
    @sciencekhuong 2 ปีที่แล้ว

    if you can put bot and game run in raspberry pi or server, run 24/7 it will be very cool

  • @IARENOBODY
    @IARENOBODY 3 ปีที่แล้ว

    Can you do a video on detecting sounds from a game?

  • @ИванИванов-ш1ш1й
    @ИванИванов-ш1ш1й หลายเดือนก่อน

    man where are u? we need u!!

  • @alexanderher7692
    @alexanderher7692 2 ปีที่แล้ว

    I used both sendmessage and postmessage... nothing happened lol. also tried your method. nothing... does windows version matter

  • @nossasaude241
    @nossasaude241 2 ปีที่แล้ว

    Make a video of how get position of sprites in game by memory address.

  • @mrheckles6076
    @mrheckles6076 11 หลายเดือนก่อน

    Hey brother, are you alright? Just checking in, you haven't posted anything in so long.