MACRO TO CHOOSE ON OF TWO PATH (ROTATE FACE OR TRANSLATE FACE)

Hello friends , I have two macro(SUB ROTATEFACE ) and (SUB TRANSLATEFACE) wich are exist in a  SUB MAIN . the first is used to rotate face of component in assembly and the second one is a macro to translate the same face of component in the same assembly.I want a mathod or macro like this :

AFTER SELECTING FACE  ---->  IF I want to rotate face then go to ( SUBROTATEFACE) or IF I want to translate face then go to ( SUB TRANSLATEFACE)

Thank you in advance

SolidworksApi macros