Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
window and text
#4
Did you tried it in QM output?

Code:
Copy      Help
;Copy some text and run this macro ...

double wordspeed=0.15
double sentencespeed=0.5

str s.getclip
ARRAY(str) a
int i n=tok(s a -1 " [9][][160]")
for i 0 n
,ifk(C) break
,ClearOutput
,out a[i]
,if(a[i].end(".")) wait sentencespeed
,else wait (a[i].len*(wordspeed/10)+wordspeed)
ClearOutput


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)