Ro posted a talent-swapping macro
here, but apparently it's not always reliable when trying to switch multiple talent tiers at once.
You could use a secure action button with
type =
macro and dynamically build up a macro for each tier you need to swap.