With a macro set, you have to assign it to the correct characters. Maybe this is why it doesn't work.
https://isboxer.com/w/images/1/18/Wo..._Macro_Set.png
Also, to copy my example further, your Alt-Mouse5 needs to have all 4 macros sent in the actions of step1.