On Wed, 5 Jun 2002 12:50:11 +0100, Alan Fry wrote:

>>      # keep setting to false, until it is false :-)
>>      while ($finder->get( $visible )) {
>>         $finder->set($visible, to => gFalse);
>>      }
>
>Many thanks -- it's a nice idea. There is a snag in that you can't 
>'get' the 'visible' of 'GraphicConverter' either until it has 'woken 
>up', or so it seems.
>
>But you can keep 'setting' the visibility to false until there is no 
>AE error, which amounts to much the same thing and that works fine.

Uh... does this work "nicely"? Shouldn't the perl script sleep() for a
while before attempting again? Or does the AE stuff take care of the
proper cooperation for multitasking? I would think of a microsleep of 1
tick (60 per second IIRC), perhaps using Time::HiRes. 

-- 
        Bart.

Reply via email to