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 and example 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.24.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

je_auto_control-0.0.24-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: je_auto_control-0.0.24.tar.gz
  • Upload date:
  • Size: 18.9 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.24.tar.gz
Algorithm Hash digest
SHA256 9f5ad3242a547ed236a797ee33bb9aabbaac7d6c76aa48b4fd740a3257e9396c
MD5 572fad7cafc0511be5311d28165d7d13
BLAKE2b-256 16cfe70f00221cb8b43707c3b7183e4f78794342ed3a33ef17e86bc7f2989848

See more details on using hashes here.

File details

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

File metadata

  • Download URL: je_auto_control-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.24-py3-none-any.whl
Algorithm Hash digest
SHA256 3afb4a164df5249c8587343827b41ae833785c8a5c9799357f11413280d94b71
MD5 c58abecd8d83a8dc719fac4476bed411
BLAKE2b-256 12d527ff222b13d2592e7aa91bc81632ed98211aa1cdcb55b74a6d1e5c995100

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