autopy
xdo
autopy | xdo | |
---|---|---|
2 | 5 | |
808 | 294 | |
1.0% | - | |
2.8 | 0.0 | |
9 months ago | 9 months ago | |
Rust | C | |
Apache License 2.0 | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
autopy
-
Somehow AutoHotKey is kinda good now
Reciprocally, it's just amazing how much better AutoHotKey is at scripting the computer is than everything else is. The language was clearly never the reason why AHK persisted.
There's works like AutoPy (https://github.com/autopilot-rs/autopy) and AutoPilot-rs (https://github.com/autopilot-rs/autopilot-rs), but they offer like 1/100th the capabilities AHK does.
Personally I think this kind of computer-control is the perfect environment for teaching computing. Rather than writing apps or webapps, I feel like the idea of just writing code to do what you the user would do anyways, but better, is a fantastic introduction to computing & programming. In my ideal world, we'd have an EVE Online server that specifically re-enables the game-client's python interpretter (and periodically does total wipes), so folks can learn to program by scripting not just their desktop, but a complex & interesting game, via it's rich api.
-
Single Player Game With Behaviorai Combat
Autopy, a python library to control mouse and keyboard (I used it to play clicker heroes and automate ascensions, was great. I also used multiple X sessions in Linux so it will run in parallel to other keyboard/mouse sessions) https://github.com/autopilot-rs/autopy
xdo
- Somehow AutoHotKey is kinda good now
-
How to limit a single app run?
An example with xdo:
-
Open app in the background
I might have understood your question wrong, if you want to close the GUI window after staring the app you'd want to take a look at xdo. I'd still give it a little bit of time after starting it to be ready and then use something like:
-
Keybind to center floating window?
xdo (by baskerville, bspwm's creator);
-
Update regarding Steam + DWM + focusonnetactive
The focusonnetactive patch replaces dwm's default behavior by removing the urgency bit to allow for focusing on the client sending the _NET_ACTIVE_WINDOW message instead. This is the preferred behavior if you use tools like xdo to perform actions on windows, for example:
What are some alternatives?
enigo - Cross platform input simulation in Rust
prospect-mail - Prospect is an Outlook mail desktop client powered by Electron
nfd2 - OS native dialogs for Windows, MacOS, and Linux
core - Set of window manipulation tools
Cloaker - Simple, drag-and-drop, password-based file encryption
TPMouse - A virtual trackball for Windows, via vim-like homerow controls.
whkd - A simple hotkey daemon for Windows
orbtk - The Rust UI-Toolkit.
ydotool - Generic command-line automation tool (no X!)
simuwaerm - A simple heat simulation in pure Rust.
autopilot-rs - A simple, cross-platform GUI automation module for Rust.