четвъртък, 21 април 2011 г.

(Lesson №2) Sleep Command

The function sleep allows you to pause the script for a while.

Sleep Command - Sleep ()

Example1:
Sleep(1000)
It will sleep (pause) 1000 miliseconds now (that is one second)

Example2:
MsgBox(0,"Hi","This is my MsgBox,the next one will apear 5 secs after closing that one!")
Sleep(5000)

MsgBox(flag,"Boro","Here i am!")

Няма коментари:

Публикуване на коментар