Simulate right-click in executeContextMenuCommand()