Well I finally got back to this little project. I think mart must have been right. I must have done something wrong with enumprocess(). I just started over in a clean script. This snippit works, but is not as nice as your code, Richard. I had problems getting your code to work and am still trying to figure out why. I will eventually.
I had to terminate cmd.exe since I guess enumprocess passes the window from kix32 to a dos shell. At least that's what it looks like. I tried to call other scripts after the enumprocess and the called scripts did execute but I still needed to terminate cmd.exe. This is what I came up with.
Code:
run "C:\Program Files\Spybot - Search & Destroy\spybotsd.exe /taskbarhide /autoupdate /autoclose"
cls
While enumprocess('spybotsd.exe')
$ = SetTitle ("/ ...Please Wait Spybot - Search & Destroy is Scanning for
spyware! /")
AT (13,10) " ...Please Wait, @FULLNAME "
AT (15,10) "/ Spybot - Search & Destroy is Scanning for spyware! / "
Sleep(0.1)
$ = SetTitle ("- ...Please Wait Spybot - Search & Destroy is Scanning for
spyware! -")
AT (13,10) " "
AT (15,10) "- Spybot - Search & Destroy is Scanning for spyware! - "
Sleep(0.1)
$ = SetTitle ("\ ...Please Wait Spybot - Search & Destroy is Scanning for
spyware! \")
AT (13,10) " "
AT (15,10) "\ Spybot - Search & Destroy is Scanning for spyware! \ "
Sleep(0.1)
$ = SetTitle ("| ...Please Wait Spybot - Search & Destroy is Scanning for
spyware! |")
AT (13,10) " "
AT (15,10) "| Spybot - Search & Destroy is Scanning for spyware! | "
Sleep(0.1)
loop
enumprocess(cmd.exe,1)