BTW - this is very basic. You should probably check for errors launching the uninstaller command, and the loop will wait forever. You might want to terminate the loop after some period if it doesn't launch. Something like:
 Code:
$TimeToDie = @TICKS + 60000 ; 60 seconds from now
While @TICKS < $TimeToDie And SetFocus('Limewire')
  Sleep 1
Loop
If @TICKS > $TimeToDie
  'failed to launch uninstaller!' ?
  Exit 1
EndIf
This adds 60,000 msecs to the current TICKS value (# of ms since system boot). When the TICKS exceeds the TimeToDie, the loop ends. If Ticks exceeds TimeToDie after the loop, we know it failed, so announce the failure and die. Otherwise, send the keystrokes and uninstall the puppy.

These are things that will make your script more robuse, and more tolerant of unattended operation. They aren't requirements for basic testing.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D