Untitled

 avatar
unknown
plain_text
a month ago
615 B
2
Indexable
import pyautogui

# Wyłączenie fail-safe
pyautogui.FAILSAFE = False

def move_mouse_to_bottom_right():
    # Wymiary ekranu
    screen_width = 800
    screen_height = 480

    # Współrzędne dolnego prawego rogu
    bottom_right_x = screen_width - 1  # X na samym brzegu
    bottom_right_y = screen_height - 1  # Y na samym dole

    # Przesuń myszkę na dół po prawej
    pyautogui.moveTo(bottom_right_x, bottom_right_y, duration=0.5)
    print(f"Myszka przesunięta na dół po prawej: ({bottom_right_x}, {bottom_right_y})")

if __name__ == "__main__":
    move_mouse_to_bottom_right()
Leave a Comment