REM Start of script REM Create text widget to display onscreen messaging mode=CreateObject("roVideoMode") registry=CreateObject("roRegistry") rect1 = CreateObject("roRectangle", mode.GetSafeWidth()/4, mode.GetSafeHeight()/2, 500, 40) rect2 = CreateObject("roRectangle", mode.GetSafeWidth()/4, mode.GetSafeHeight()/2+42, 500, 40) text1 = CreateObject("roTextWidget", rect1, 1, 1, 0) text2 = CreateObject("roTextWidget", rect2, 2, 1, 0) print type(rect) print type(text) text1.Show() text1.PushString("DHCP Network Configuration") sleep(5000) REM Adjust network settings here if necessary REM nc = CreateObject("roNetworkConfiguration", 0) nc.SetDHCP() rem nc.SetTimeServer("mytimeserver.com") 'Set Time server here text1.Hide() ok=nc.Apply() registry.Flush() text2.PushString("Settings Updated. Remove Network Configuration Script from flash card.") if ok=true then text2.Show() sleep(30000) REM End of script