Automatic Microphone On, Runs A Function, Off

Please anybody tell me how can I make a block code in the way that the app runs one command at a time. Set the microphone automatic off after sometime. Automatic on when the user speak the Specified Word given by me and then the app recognize that Specified Word in background and then do the function according to that Specified Word and then automatically turned off the microphone after sometime in MIT App Inventor?

A post was merged into an existing topic: Automatic Microphone