Jump to content
Sign in to follow this  
wedsxcrfv

Need help time- based event

Recommended Posts

wedsxcrfv

I am almost there in creating an wonderful programme.

But i dont understand why it doesnt run if i do this

If @HOUR = $hour And @MIN = $min Then

I set the $hour and $min to the current time but it doesnt run!!!


I am not English... But that matters nothing, I'm Dutch and i SPEAK English so it doesnt matter :P

Share this post


Link to post
Share on other sites
jokke

Or use something like this.

$timer[2] = [TimerInt(),5000]; 5 sec.

while 1
  if TimerDif($timer[0]) > $timer[1] then
    ;do your thing here.
    consolewrite("Time went out."&@crlf)

    $timer[0] = TimerInt() ;Reset timer.
  endif

  sleep(25)
wend
Edited by jokke

UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites
jokke

Oops did not notice you had double posted.


UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites
Nevin

Oops did not notice you had double posted.

Now you have as well :P

Share this post


Link to post
Share on other sites

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  

×