Jump to content
Sign in to follow this  
uplink477

Timeing?

Recommended Posts

uplink477

I got a quick question, how would i go about making my script run a function say every 20 seconds?

Share this post


Link to post
Share on other sites
sandin
uplink477

Hmmm... thanks for the quick reply but not quite what i was after because i have already used Adlib for something else in my script.i was thinking maybe

$X = 0
While 1
$X = Execute($X + 1)
if $X = 200 Then
    Msgbox(0,"Time",$X&"=$X")
    $X = 0
    Else
    sleep(1)
EndIf
Wend

any suggestions on weather this would work or not?

Edited by uplink477

Share this post


Link to post
Share on other sites
sandin

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.