Command macro execute using API C#

Hi

I have Dynamically adding user commands to insert block , because have more than 100 blocks.

string commandString =  "^C^C-INSERTBLOCK;C:\\\\temp\\\\2COV22.dwg;\\\\1;1;0;;";

 UserCommand lineUserCmd = mPlugin.dsApplication.CreateUserCommand(blockName, "Execute line command", commandString, "BLOCK", string.Empty, string.Empty, dsUIState_e.dsUIState_Document, out error);

ContextMenuItem dsDefaultContextMenuItem = mPlugin.dsApplication.AddDefaultContextMenu(blockName, menuItemType, blockName, lineUserCmd.GetID());

above code is  running when user selecting block in my own Addin panel

 

now it is  executing  when Right-click anywhere in the the graphics area and select Execute line command in the context-sensitive menu.

I wanted to execute macro command  in one click when select block..

is there  a way to execute macro command dynamically .. 

 

Fathima