Writing scripts in windows

You write scripts for window and control events. To support these scripts, you can define: