Hey guys everything is working great at my end & the final result is a task that runs every two hours utilizing Lonkero's FTPGet UDF to get the weather JPG's for 3 zip codes I need. The script also shells out to utilize the JPG to BMP utility that Radimus found and supplied for the cause - thanks again. The task runs every two hours, grabs the files converts them and then copies The weather BMP's to all KIX script locations.
After that is complete, I run the following form:
Debug off SetConsole ("Hide")
;Setup the GUI $Form = CreateObject("Kixtart.form") $Form.text = "Logon In Progress....." $Form.Size = 810,600 $Form.backcolor = 255,255,255 $Form.Center $Form.windowstate = 2 $pbar = $Form.progressbar $pbar.width = 800 $pbar.height = 20 $pbar.min = 0 $pbar.max = 20 $pbar.Left $pbar.top = 400 $pbar.borderstyle = 0
$logo = $form.image("login.bmp") $logo.center $logo.top = 15 $logo.borderstyle = 0 $PHX = $form.image("85040.bmp") $PHX.center $PHX.top = 430 $PHX.borderstyle = 0
$SF = $form.image("94120.bmp") $SF.Left $SF.top = 430 $SF.borderstyle = 0
$HI = $form.image("96819.bmp") $HI.Left = 530 $HI.top = 430 $HI.borderstyle = 0
$text = $form.textbox $text.borderstyle = 0 $text.locked = 1 $text.width = 400 $text.height = 20 $text.Left $text.top = 375 $text.value = "Logging into Network @SCRIPTNAME"
$ID = $form.textbox $ID.borderstyle = 0 $ID.locked = 1 $ID.fontsize = 16 $ID.width = 325 $ID.height = 30 $ID.Left = 260 $ID.top = 200 $ID.value = "Welcome %s_user%!" $text2 = $form.textbox $text2.borderstyle = 0 $text2.locked = 1 $text2.fontsize = 16 $text2.width = 350 $text2.height = 30 $text2.center $text2.top = 225 $text2.value = "@day, @month @mdayno @year @time" $text3 = $form.textbox $text3.borderstyle = 0 $text3.locked = 1 $text3.fontsize = 16 $text3.width = 200 $text3.height = 20 $text3.center $text3.top = 250 $text3.value = "Station: @WKSTA"
$text4 = $form.textbox $text4.borderstyle = 0 $text4.locked = 1 $text4.fontsize = 16 $text4.width = 300 $text4.height = 20 $text4.center $text4.top = 275 $text4.value = "@PRODUCTTYPE"
$text6 = $form.textbox $text6.borderstyle = 0 $text6.locked = 1 $text6.fontsize = 16 $text6.width = 300 $text6.height = 25 $text6.center $text6.top = 300 $text6.value = "Logon Server:@LSERVER"
$text7 = $form.textbox $text7.borderstyle = 0 $text7.locked = 1 $text7.fontsize = 16 $text7.width = 100 $text7.height = 25 $text7.center $text7.top = 325 $text7.value = "@DOMAIN" $form.show
$pbar.value = 0 $text.value = "Starting Login Progess" Sleep 1
$pbar.value = 1 $text.value = "Defining Variables"
ETC ETC ETC..
Thanks again guys..
|