AutoHotKey 2.0 final was released yesterday. This is venerable and well-supported freeware, commonly used for scripted desktop automation on Windows. Installer downloads via MajorGeeks also include a link to a portable version.
Regrettably it seems there is no central repository that archives all known “tested and working” AutoHotKey scripts. Perhaps there should be?