AutoHotPy Keyboard and mouse simulator
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Hello
I am working on a ingame bot which was working quite alright with a simple task. Until recent game change that stopped directkeys, pynput they both no longer works.
Idea is when object show up onscreen key W should be pressed and mouse moved to certain area (with x, y coordinates set ) and click RMC.
I found this https://github.com/dc740/AutoHotPy which works quite well, but I am unable to use this wrapper due to lack of knowledge.
Task:
I essentially need a code in python to be used in While True Loop for mouse and keyboard.

This is a working example after running f1 key ouptut is infinite loop "abc" keys
https://github.com/dc740/AutoHotPy/blob/master/Example8-Macros4%20-%20Auto-repeating%20macros.py need something similar.

I need a code where I will be able to define what key will be pressed in the loop and where the mouse should move using https://github.com/dc740/AutoHotPy

simple example from current code:

def press_w():
PressKey(W)
time.sleep(0.1)
ReleaseKey(W)

while True:
screen = np.array(ImageGrab.grab(bbox=(0,60, 1280, 800)))
new_screen = process_img(screen)
x = new_screen.sum()
if x > 10000:
press_w()
continue

Thanks.

Hot photo galleries blogs and pictures http://dateforfreeuk.instasexyblog.com/?kaylie gay naked male fetish porn crystal gold pov porn jade porn actress girl porn star kenny vers spenny stockings sexy erotic wife porn
eugeneln18 14 days ago
1 month ago

Crowdsource coding tasks.

0 Solutions