Close All Windows for an EXE

This script will close all windows which belong to the program (by EXE name) where the gesture drawing begins.

courtesy of forum member aliasbonux