Mike Yates is concerned that the TYPE command, under certain 
circumstances, can and does result in a system crash. It may be worth noting 
that you can "roll your own" handler which should (hopefully) avoid whatever 
nastiness the TYPE command runs afoul of, and here's one possible way to do 
it:

  on TypeItOut TheText,TheFld
    ## save the current selection
    put the selectedChunk into OldSelection
    put the ticks into Tymer
    repeat with K1 = 1 to the length of TheText
      put char 1 to K1 of TheText into fld TheFld
      ## this assures semi-constant typing rate, regardless of MHz
      add 3 to Tymer
      ## adjust for desired typing speed, if need be; N = (60 / N) char/sec
      wait until the ticks => Tymer
    end repeat
    select OldSelection
  end TypeItOut

   Hope this helps...
_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to