xdotool
hammerspoon
xdotool | hammerspoon | |
---|---|---|
38 | 114 | |
3,031 | 11,498 | |
- | 0.8% | |
3.5 | 7.3 | |
25 days ago | 27 days ago | |
C | Objective-C | |
GNU General Public License v3.0 or later | MIT 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.
xdotool
-
autoclicker with multiple locations
Have a look at this: https://github.com/jordansissel/xdotool
-
AMD Ryzen 7 7800X3D: Windows 11 vs. Ubuntu 23.04 Linux Performance
Maybe not AHK exactly, but it essentially does the same: xdotool
-
[Lua] How to set the --geometry parameter in a Lua script?
Use an external tool, like xdotool.
-
gtk-rs: can't get window ID with command inside connect_show or connect_realize
In a gtk-rs application, I'm running a xdotool command to get the id of the application's window. I'm running the command in a connect_show closure (after the window has been shown):
-
My (challenging) experience building a window switcher for Ubuntu
Eventually, I needed to find the ID of windows, move them, and bring them to the front—I realized I couldn't do that with gtk-rs. I needed to interact with the window manager (X11 server). So from inside my application, I ran commands that called xdotool.
-
I cannot take it any longer, please, help!
You might be able to use audacity in the background by setting up an application launcher in the gnome panel that executes xdotool, which can send keyboard signals (like R for record) to running applications: https://github.com/jordansissel/xdotool
-
Focusing/switching X11 windows with a Rust crate
Right now, I'm focusing (switching) X11 windows with a shell command (xdotool) from inside my Rust program:
-
X Window System Basics
Maybe xdotool [0] is what you're looking for.
[0] https://github.com/jordansissel/xdotool/
- Some help writing C extensions
-
Ask HN: What's Your Proudest Hack?
I often create screen recordings for my classes, but it's very boring and time consuming. I'm a perfectionist, and if I mistype a command I prefer to re-record everything. Moreover, every time one of the tools used in the videos gets a significant update, I feel compelled to redo the video.
I have started using xdotool [1] to create bash scripts that send mouse clicks and keystrokes to apps. Interleaving calls to xdotool with the "sleep" command [2] produce a convincing effect. If I need to redo a video to fix typos or after a program update, I just fix the bash script and restart the recording.
Alas, the only thing that is missing in my videos is the sound of keyboard clicks… But nothing is perfect!
[1] https://github.com/jordansissel/xdotool
[2] https://en.wikipedia.org/wiki/Sleep_(command)
hammerspoon
-
Show HN: NotesOllama – I added local LLM support to Apple Notes (through Ollama)
Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.
https://www.hammerspoon.org/
-
Little macOS Apps That Make a Big Difference in 2024
For basic window tiling, I stumbled across Hammerspoon and the MiroWindowsManager spoon.
https://github.com/miromannino/miro-windows-manager
https://www.hammerspoon.org/
- Yabai – A tiling window manager for macOS
-
[Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl
I use hammerspoon a lot and it seemed like scheduling SelfControl could be done using it so I created Hammer Control. Check it out!
-
A collection of useful Mac Apps
Hammerspoon - Price: Free Desktop automation tool for macOS that allows you to write Lua scripts to control your Mac.
- Needed: Automation extension that can repeat movements/clicks in a browser
-
getting current desktop to show on lockscreen? (MacOS Ventura)
Assuming no one has a cut-and-dried solution that just works, would something like this be possible with say, AppleScript or another scripting tool like Hammerspoon? I've not used either of these tools before, but would be open to seeking out a scripting solution on my own if it's viable. Or am I going to run into insurmountable security restrictions?
- Ask HN: Scrolling Window Manager for macOS?
-
Fastest way to open Messages?
Spark (not the email app). There are others like Hotkey and Hammerspoon.
-
Window Management & Snapping
I have tried different tools for this including Rectangle, but I've finally settled with hammerspoon. It solves the problem of window-management but you can also use it to create custom keyboard shortcuts and much more.
What are some alternatives?
ydotool - Generic command-line automation tool (no X!)
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
yabai - A tiling window manager for macOS based on binary space partitioning
wtype - xdotool type for wayland
skhd - Simple hotkey daemon for macOS
archweb - Arch Linux website code
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
i3-vim-focus - Vim plugin for seamless navigation between i3 and vim
alt-tab-macos - Windows alt-tab on macOS
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
ShockEmu - Keyboard support for Dualshock emulation for PS Remote Play (macOS)