I have been having a heck of a time trying to figure out how to break a loop that displays information to the user that something is installing or running at a particular point in the login script. The ideal outcome would be to have the loop terminate upon the program finishing and then continue through the login script. Below is an example that I created when spybot is running or installing. Any help would be appreciated. If this has come up before then my apologies.

Kevin

do

$ = SetTitle ("/ ...Please Wait Spybot - Search & Destroy is Scanning for spyware! /")
Sleep (1)
$ = SetTitle ("- ...Please Wait Spybot - Search & Destroy is Scanning for spyware! -")
Sleep (1)
$ = SetTitle ("\ ...Please Wait Spybot - Search & Destroy is Scanning for spyware! \")
Sleep (1)
$ = SetTitle ("| ...Please Wait Spybot - Search & Destroy is Scanning for spyware! |")
Sleep (1)
AT (12,10) " ...Please Wait, @FULLNAME "
AT (14,10) " / Spybot - Search & Destroy is Scanning for spyware! /"

Sleep (1)
AT (12,10) " "
AT (14,10) "- Spybot - Search & Destroy is Scanning for spyware! -"

;Sleep (1)
AT (12,10) " "
AT (14,10) "\ Spybot - Search & Destroy is Scanning for spyware! \"

;Sleep (1)
AT (12,10) " "
AT (14,10) "| Spybot - Search & Destroy is Scanning for spyware! |"
Sleep (1)


Until $spybotfinished=1