What are some alternatives?
When comparing AutoIt and Hammerspoon, you can also consider the following products
AutoHotkey - Free keyboard macro program. Supports hotkeys for keyboard, mouse, and joystick. Can expand abbreviations as you type them (AutoText).
Sikuli - Sikuli Script
SizeUp - SizeUp allows you to quickly resize and position your windows with keyboard shortcuts or a handy menu bar icon. Arranging windows on Mac OS X is tedious and imprecise.
TinyTask - TinyTask provides quick and easy automation by recording-playback.
Transmit - Transmit is an FTP client for Mac OS X and Mac OS Classic (which is unsupported).
WinAutomation - WinAutomation is the leading Windows automation software available today. Macro Recorder, Web Recorder and an advanced Task Scheduler wrapped into one.