macro tool using foot pedals to navigate a choice tree and execute commands in scope