Open source macro program that claims portability. Unfortunately I couldn't figure out how to make it record anything and the edit controls were less than clear.
Status: Portable, writes to user.ini, Tested v.1.3.21
https://github.com/gemilepus/Scriptboxie/releases
https://www.softpedia.com/get/Tweak/Sys ... oxie.shtml