Skip to main content

A simple and powerful framework for creating autoclickers/typers in python.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Welcome to RsEdit!

Hi! Welcome to RsEdit, a brand new method of automating tasks with Python. RsEdit is an framework built on top of pynput which allows you to easily create mouse and keyboard macros; allowing you to automate redundant tasks.

A brief overview

The primary object you should be familiar with is the TimeLine object. This object is responsible for storing all of your events and executing them. The secondary objects are Event objects, which are responsible for holding the information pertaining to each specific event. There are currently five primary events which you may use to construct your script: MouseClickEvent, MouseMoveEvent, KeyEvent, TypeEvent, and PauseEvent.

Constructing a script

A script may be constructed by initializing a new TimeLine object and filling its constructor with configured Event objects. The script may then be ran by calling .start() on the TimeLine object.

def main():
	TimeLine(
	PauseEvent(5.6),
	MouseClickEvent("l"),
	MouseMoveEvent(50, -30, relative=True)
	).start()

This script when ran will pause for 5.6 seconds, click the left mouse button, and then move the mouse +50x and -30y relative to its current position.

MouseClickEvent

Usage:
MouseClickEvent(button : str)
Parameters:
button: (String) The button you wish to press. Options are: "l", "left", "r", and "right".
releasedelay: (List(Float, Float)). Represents the time in seconds between the button being pressed and released. By default a random float between. 0824 and .223 will be generated. You may override this, and provide a new range for which this value to be calculated.
doubleclick:(Bool) Default is False. If overriden to True it will double click.
hold: (Float) How long you wish the button to be held down for. Please note if this value is set it will override the releasedelay randomization range.

MouseMoveEvent

Please be aware this will instantly move the mouse, and if you are trying to avoid bot detection this is an absolutely terrible idea.
Usage
MouseMoveEvent(x, y)
Parameters
x: (Int) The x value of the screen to move the mouse to.
y: (Int) The y value of the screen to move the mouse to.
relative: (Bool) Defaulted to false. If overriden to true the mouse will be moved by x and y relative to the current position.

KeyEvent

Usage
KeyEvent(key)
Parameters
key: (Str) The string representation of the key which you wish to press. "a", "esc", "enter", "alt" etc.
releasedelay: (Float) See above under MouseClickEvent.
hold: (Float) See above under MouseClickEvent.

TypeEvent

Usage
TypeEvent("Message")
Parameters
str: (Str) The string you wish typed.

PauseEvent

Time in seconds to pause execution.
Usage
PauseEvent(5.6)
Parameters
time: (Float) Time in seconds.

Project details


Download files

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

Source Distribution

RsClick-0.0.5.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RsClick-0.0.5-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file RsClick-0.0.5.tar.gz.

File metadata

  • Download URL: RsClick-0.0.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for RsClick-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a9957d10d09d56d84ab386287c41341c10cb945412cac7413a32f22b53183d78
MD5 12c6a26f827829248ca0863bf1beab0d
BLAKE2b-256 516ae9225c4e72af6bf9341e41e7e84324cf05c5b0ccf26d8c694aa88032783b

See more details on using hashes here.

File details

Details for the file RsClick-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: RsClick-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for RsClick-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 38d57751523f70357569558e9384c4cd92b392742e62f24728493cee1c2259a0
MD5 e688a131bffe65480cee014ce928f008
BLAKE2b-256 4aa546b84cb95897781eed70326fc751ffdf3d2c7e419d9d6871edc39d43cfdd

See more details on using hashes here.

Supported by

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