| View previous topic :: View next topic |
| Author |
Message |
orditeck Newbie
Joined: 10 Jun 2005 Posts: 5
|
Posted: Fri Jun 17, 2005 7:00 pm Post subject: How to create a timer |
|
|
Hello.
I would like to create a timer which, at each 5 seconds, would refresh the page of the naviguator.
I already inserted the naviguator, but I do not know how to make to make a cooling of this one to the 5 second.
Thank you ! |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Jun 18, 2005 10:36 pm Post subject: |
|
|
| Code: |
REM Insert at the beginning of your script before your event loop
timer start,1,CTDOWN,00-00:00:05
dialog create,Test,-1,0,300,200
dialog show
:Evloop
wait event
goto @event()
:Timer1CTDOWN
REM Refresh your page or whatever here
Info Time to refresh document
goto Evloop
:CLOSE
exit
|
I'm guessing that you want a timer that runs all of the time. So every 5
seconds a TIMER1CTDOWN event will be generated.
Hope this helps. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
orditeck Newbie
Joined: 10 Jun 2005 Posts: 5
|
Posted: Sun Jun 19, 2005 10:16 pm Post subject: |
|
|
Yeah !!!
Thack you !  |
|
| Back to top |
|
 |
|