From: Shusaku Date: 2003-07-15T01:17:05+09:00 Subject: Re: programming a bird -- yes! Hi, Gerard On Mon, 14 Jul 2003 09:55:35 GMT gv@cs.uu.nl (Gerard A.W. Vreeswijk) wrote: > loop do > $stderr.puts $peedySpeak.Status > $stderr.flush > break if $peedySpeak.Status != 2 WIN32OLE_EVENT.message_loop # <== You should insert this! > sleep 1 > end Now, the loop would be terminated by 'Status == 4', although it means "Request in progress". I think the break condition might be 'Status == 0', which means "Request successfully completed". -- Shusaku