I was quite wrong in my previous comment; a quick scan of The Macintosh Garden reminds me I was programming in Wingz, a really nice macro host.
https://macintoshgarden.org/apps/wingz