This macro identifies the selected menu item and other macro identifies the name of the application that was selected from the menu.