you don't need to do it via macro, just create a mapped key with the modifier, so you'd have 1 mapped key doing shift, 1 doing control etc...