mouse buttons

I have configured RMB (right mouse button) to enter the command previously written via alias keys (in this case RMB= 'enter' key on keyboard). So, for me this is a quick way to work (stroke a key ---> enter or RMB----> perform action ------> enter or RMB) But when i have one or more entities selected to repeat a command (entities selected---> enter or RMB--->repeat command--->perform action--->enter or RMB) pressing RMB only shows a pop-up menu in which you select the option desired. Is this possible? Am i missing something?