AutoHotkey VS robotjs

Compare AutoHotkey vs robotjs and see what are their differences.


AutoHotkey is a powerful and easy to use scripting language for desktop automation on Windows. (by AutoHotkey)


Node.js Desktop Automation. (by octalmage)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
AutoHotkey robotjs
388 6
1,053 10,507
0.9% -
0.0 2.0
12 months ago 10 days ago
C++ C
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of AutoHotkey. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-14.
  • [GHUB/AHK] Auto-mine script that clicks mouse, pauses to recover stamina, steps forward, repeat ⛏️ perfect for moat building. Bonus - autorun | 2021-10-17
  • [GHUB/AHK] Auto Mine script, Autorun script, No stamina lost during Mining, moves forward 1 step between each mine. Not a cheat. | 2021-10-16
  • How to force a reboot on a schedule? | 2021-10-16
    Look at a program called Autohotkey.
  • Is there any way to prevent alt+enter from putting Steam into Big Picture Mode? | 2021-10-15
    There is a tool called that allows you to rebind any keys or shortcuts as you want. You can use that tool to disable this shortcut globally or just when Steam window is active. To do the latter use the following code for you AutoHotkey script: #IfWinActive, ahk_exe steam.exe !Enter::return The first line ensures the rebind works only when steam.exe is the active window and the second line rebinds Alt+Enter to nothing.
  • Can I fully program keyboard keys with WORDS?! | 2021-10-14
    AutoHotKey is very popular for Windows but hard to use and might take a while to set up.
  • Read File And Open Associated URL?
  • Highschool student hacks entire districts IoT network for Rickroll senior prank | 2021-10-12
    Yup, you can still do that. AutoHotkey is a wonderful tool for this. You can intercept input events globally, and transform them or send completely different events to the target app.

    For example, I use AutoHotkey to implement my JKLmouse program, which turns certain keyboard events into mouse movement for precise control. It's similar to the MouseKeys that comes with Windows, but made for laptop keyboards without numeric keypads.

    And yes, you could definitely do that Minesweeper hack in AutoHotkey! :-)

  • How do you use F13-F24 or use VIA to create a macro to open a specific folder
    Try Autohotkey
  • "Accidental" Alley-oop
  • Using PgUp/PgDown/Home/End keys as intended | 2021-10-10
    You might try a program like AutoHotkey to reassign those media keys.


Posts with mentions or reviews of robotjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-05.
  • Any tips on writing automated tests for features in menus?
  • My job frequently requires mindless clicking in a bunch of windows, prompts and stuff, that always appears in the same spot, is there a software that i can configure to do those mindless same clicking for me? | 2021-05-05
    You might be able to get by with relatively simple "scripting" tools such as this: - or on Mac, the built in Automator tool. But if not, the "enterprise" grade version of this kind of thing is called RPA - robotic process automation. The market leader with the most robust solution (window and field detection and such) seems to be - pretty expensive though (there's a whole industry of consultants dedicated to helping customers use fewer "robots" since the licensing is so costly). Here's an overview of open source alternatives.
  • exist Userscript for desktop? | 2021-03-27
    Like this?
  • keyboard input? | 2021-03-27
  • Is there any way to play/pause a current video/audio on your PC with nodejs? | 2021-02-27
  • 🖥️🎥 Automated screen recording with JavaScript | 2020-09-27
    robot.js to move the mouse and use the keyboard programmatically (should work on any OS)

What are some alternatives?

When comparing AutoHotkey and robotjs you can also consider the following projects:

n8n - Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services.

solidarity - Solidarity is an environment checker for project dependencies across multiple machines.

PowerToys - Windows system utilities to maximize productivity

nut.js - Native UI testing / controlling with node

kmonad - An advanced keyboard manager

AutoKey - AutoKey, a desktop automation utility for Linux and X11.

espanso - Cross-platform Text Expander written in Rust

Hypixel-Cobblestone-Mining-Script - Undetectable, Anti-antiafk, 50-75% efficient [guesstimate] (for collection exp) depending on how long your cobblestone generator is.

ModernFlyouts - A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.

Automagica - AI-powered Smart Robotic Process Automation 🤖

PoEAutoFlask - Automates the use of buff style flasks for Path of Exile

AutoHotInterception - An AutoHotkey wrapper for the Interception driver