GithubHelp home page GithubHelp logo

halt9k / py-macro-ui-actions-graph Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 94 KB

Python macro which allows to automate user actions like mouse clicks using actions graph

Batchfile 1.48% Python 98.52%
graph macro mouse-events python

py-macro-ui-actions-graph's Introduction

Py macro UI actions graph

Started as simplest AutoHotkey alternative, this script was generalised and extended for possible future reuse.

It will be especially useful if:

  • Main part of the automated routine are icon or button clicks with detection based just on the element images
  • Image detection is still expected to work on other scales (UI 100%, 150%) and with color invariance (light, dark theme)
  • Macro execution routine is not linear nor known in advance, also involve random branching (with simultaneous execution attempts until any of branches succeed)
  • Custom action extensions are required which are easier to write on Python rather than with AutoHotkey
  • A personal preference is just against AutoHotkey due to ~10 Virustotal detections on multiple versions

Just to give an idea how it can be used, current default macro is enabling Hoxx or Setup VPN browser extensions automatically. That's just one common routine I noticed to be fun to try. Feel free to propose better default macro though.

Also an easy graphical debug is used which shows how macro chain was fired:

py-macro-ui-actions-graph's People

Contributors

halt9k 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.