Automation is if you had a third-party program perform 1 macro and then go to a 2nd macro.

Fancy Keyboard and Mice provide extra keybinds for the player to use, still attached to 1 macro each, so that's not against the ToS.

Now if said Keyboard or Mouse had an input that allowed it to go from 1 macro to the next than that would be against the rules.

Example of Against ToS. Against the rules is the ability to go back and forth from Macro 1 to Macro 2 without the need for human input.

Example Acceptable Actions. If you have 1 keybind set to execute Macro 1 and then a 2nd keybind to execute Macro 2 and you are manually executing both macros.