forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to create a timer

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
orditeck
Newbie


Joined: 10 Jun 2005
Posts: 5

PostPosted: Fri Jun 17, 2005 7:00 pm    Post subject: How to create a timer Reply with quote

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
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Jun 18, 2005 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
orditeck
Newbie


Joined: 10 Jun 2005
Posts: 5

PostPosted: Sun Jun 19, 2005 10:16 pm    Post subject: Reply with quote

Yeah !!!

Thack you ! Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group