You can do both. On the client-side. Meaning there will be no frustrating input lag when swapping modes.
Macro setup:
ACTION COMMAND
SHIFT .winset "map.right-click=false;info.right-click=false;"
SHIFT+UP .winset "map.right-click=true;info.right-click=true;"