This script shows a form with different controls. It writes the entered values into Registry. When you run it the next time, the program read saved information from Registry and sets according controls of the form.