Git Product home page Git Product logo

cp-anti-afk's Introduction

Changelog

  • 1.0.3

    • Added left mouse button support
  • 1.0.2

    • Added input validation
  • 1.0.1

    • Added a short, random delay (10ms - 100ms) between pressing a key and releasing it to mimic human-like behaviour.
  • 1.0.0

    • Pressing of a key at random intervals
    • Persistent configuration using xml
    • Currently supported keys: SPACE, ENTER, BACKSPACE, I, U

Description

A simple utility to press a chosen button at configurable random intervals. It does not attach to any processes, the key presses will always be reflected in the window / app that's currently in the foreground.

Requirements

  • JRE (Java Runtime Environment) of version 1.8_311 or greater (download latest from here).

Configuration

When first ran, the app will ask for a few inputs to configure its behaviour. Afterwards, the customized config is saved in an xml file in the same directory - subsequent runs will not ask for manual setup, as the saved xml will be loaded instead.

To reconfigure, either delete the xml to trigger the setup upon next start, or modify the saved xml directly.

Configuration name Description
minimum-time-between-executions-in-seconds The minimum amount of seconds to sleep between key presses. Must be positive.
maximum-time-between-executions-in-seconds The maximum amount of seconds to sleep between key presses. Must be positive.
key-to-press The actual key to press. Current valid choices are: SPACE, ENTER, BACKSPACE, I, U

The key chosen in key-to-press will be pressed at random intervals conforming to the minimum-time-between-executions-in-seconds and maximum-time-between-executions-in-seconds configuration properties.

cp-anti-afk's People

Contributors

claypigeon123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.