#include ; ; AutoIt Version: 3.0 ; Language: English ; Platform: Win9x/NT ; Author: Jonathan Bennett (jon at autoitscript dot com) ; ; Script Function: ; Opens Notepad, types in some text and then quits the application. ; ; Start Script Sleep(5000) ; Open Left Windows key Send("{lwin}") Sleep(7000) ; Open System Properties Send("sysdm.cpl") Sleep(5000) Send("{enter}") Sleep(7000) ; Select "Change" option Send("{tab}") Sleep(2000) Send("{tab}") Sleep(2000) Send("{enter}") Sleep(7000) ; Typing a PC name as CO-CT225-01 ; select Domain option ;Send("{tab}") ;Sleep(3000) ; typing domain name