UI Selection

I have moved the macro I posted above to a new topic in the "macro" category: