--- Douglas Gilliland <[EMAIL PROTECTED]> wrote:
> I just finished a small stack to select my 9th grade
> chemistry
> students (sitting at numbered lab tables) at random.
> I have 25
> students and used the following script to select one
> at random, then
> speak that number:
> 
> on mouseUp
>   put random (25) into field "field1"
>  revsetspeechvoice "ralph"
>   revspeak field "field1"
>   wait 4 sec
>   put empty into field "field1"
> end mouseUp
> 
> To add a little flair, I would like numbers to
> quickly flash on the
> screen for one or two seconds before it stops at the
> random number.
> Looked through the documentation but found nothing.
> Any suggestions? I don't need it if it is too
> difficult but thought I
> would ask. I'm too new to Revolution to know how
> much it involves.
> Doug Gilliland
> 

Hi Doug,

Here's a quick idea:
--
on mouseUp
  ## show some numbers during 2 seconds
  repeat 10 times
    put random (25) into field "field1"
    wait 200 milliseconds
  end repeat
  ## now the code you already had
  put random (25) into field "field1"
  revsetspeechvoice "ralph"
  revspeak field "field1"
  wait 4 sec
  put empty into field "field1"
end mouseUp
--

Hope this helped,

Jan Schenkel.

Quartam - Tools for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to