What are some alternatives?
When comparing Hammerspoon and AutoIt, 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).
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.
Sikuli - Sikuli Script
Transmit - Transmit is an FTP client for Mac OS X and Mac OS Classic (which is unsupported).
TinyTask - TinyTask provides quick and easy automation by recording-playback.
ImageOptim - Faster web pages and apps.