Hold on, nononono NO! Macroing skills like that is the absolutely worst idea you could come up with. I did that when I was super new back in ARR and I can tell from experience it causes WAAAAAAY more problems than fixes. Also by macroing HS you WILL lose the 5th one from Req window. GCD macros in general are the absolute worst and you can't double weave oGCD macros and they take longer to go off because you can't queue them like normal skills.

First off, what if you need a specific (set) of cooldowns? You need Sentinel now and then Rampart for fluff and after 3 minutes you first need rampart and then Sentinel. What if you need HG for TB? You'll need burn all your cooldowns to use it and if you fix that by putting it earlier then you'll just use it first. Rampart for pull and Conva for added bonus? Just Bulwark for boss autos? Burn them all!! You'll end up wasting skills and not having necessary skill at hand when you need them.

Secondly, that sword/shield macro just doesn't work or if it works it's very error heavy. Both skills are on shared GCD and the game will prioritize the first one that available. Only way to activate the second one is to use the macro 1 frame before your GCD is ready and I don't think human reflexes can do that reliably.

For good measure:
DO *NOT* MACRO COOLDOWNS!

Solution: L2R2 and R2L2 hotbars are a godsend. As PLD I can fit pretty much everything that way. Only compensation I do is I switch between Flash and Passage because there is no instance in this game where you need both (I haven't found use for Passage in 4-mans and Flash in 8-mans)
here's my own tank hotbars for reference. They've gotten me pretty far in this game so I'd consider them passable.