mhSpy.app shows the use of applescript to do recursive operations in the computer to control a smart home using only applescript that come with a MacBoook. The file mhSpy.pdf shows a flow diagram of the script. The script discover most of the information for the user, and responds to the user requests. The user remembers the previous commands and paramenters. In addition frequent commands can be saved using the option scenario to repeat the last command using one click on the application icon.