Skip to main content

auto control alpha 0.0.20

Project description

je_auto_control

install

pip install je_auto_control

Info

  • Dev env
    • windows 11
    • osx 11 big sur
    • ubuntu 20.0.4

  • Test on
    • windows 11
    • osx 11 big sur
    • ubuntu 20.0.4

  • Notice image detect test path, change it to your image path

TODO

  • more feature

example

  • All test in test dir

how to use

keyboard

import time

from je_auto_control import type
from je_auto_control import keys_table

"""
check keys
"""
print(keys_table.keys())

"""
Linux in every type and press then release need stop 0.01 time in my computer,i'm not sure it's right?

example:
    type("T")
    time.sleep(0.01)
    type("E")
    time.sleep(0.01)
    type("S")
    time.sleep(0.01)
    type("T")
    time.sleep(0.01)

or:
    press_key("T")
    release_key("T")
    time.sleep(0.01)
"""

type("T")
type("E")
type("S")
type("T")

mouse

import time

from je_auto_control import position
from je_auto_control import set_position
from je_auto_control import press_mouse
from je_auto_control import release_mouse
from je_auto_control import click_mouse
from je_auto_control import mouse_table

time.sleep(1)

print(position())
set_position(809, 388)

print(mouse_table.keys())

press_mouse("mouse_right")
release_mouse("mouse_right")
press_mouse("mouse_left")
release_mouse("mouse_left")
click_mouse("mouse_left")

scroll

from je_auto_control import scroll

scroll(100)

screen

from je_auto_control import size

print(size())

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

je_auto_control-0.0.23.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

je_auto_control-0.0.23-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file je_auto_control-0.0.23.tar.gz.

File metadata

  • Download URL: je_auto_control-0.0.23.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.7

File hashes

Hashes for je_auto_control-0.0.23.tar.gz
Algorithm Hash digest
SHA256 a7aff9064b07f94946fa48d9b1a3a24a93ff65829c0bd89361a12b9c709a1cdc
MD5 8563d8cbda92b5b5bfad4720c2319d16
BLAKE2b-256 77b6a268db87ed7dcb90cc2127dc859533879ae156a9ceaa88de5fed4dc0ed55

See more details on using hashes here.

File details

Details for the file je_auto_control-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: je_auto_control-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.7

File hashes

Hashes for je_auto_control-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 c1c07ba2e6dc4d2e82531bd13ad466f83d270e30de5c19c38f9f7e89c32decda
MD5 e7647042bba7a4f5acd0125202758fa7
BLAKE2b-256 472bb5b287bf11972f8f91990dab8414bed014286786e90fb45913ac5e622e1d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page