This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.
Why do you think that https://github.com/AutoHotkey/AutoHotkey is a good alternative to globalmousekeyhook