$hWnd = WinGetHandle("Internet Protocol Version 4 (TCP/IPv4) Properties")
ControlCommand($hWnd, "", "Button3", "Check", "") ; this will select the radio button "Use the following IP address"
Sleep(200)
ControlSetText($hWnd, "", "SysIPAddress321", '192.168.168.8') ;this will set the IP address.
ControlSetText($hWnd, "", "SysIPAddress322", '255.255.255.0') ;this will set the IP address.
ControlSetText($hWnd, "", "SysIPAddress323", '192.168.168.168') ;this will set the IP address.
ControlSetText($hWnd, "", "SysIPAddress324", '66.51.205.101') ;this will set the IP address.
ControlSetText($hWnd, "", "SysIPAddress325", '66.51.206.101') ;this will set the IP address.
ControlClick($hWnd, "", "Button9")
Exit