Jump to content

Is there any function like this?


Recommended Posts

I wonder if there is any autoit function like setTimeOut() in javascript?

The function I mentioned would delay the time set before, example:

setTimeOut("MsgBox(0,'','Hello')", 1000) would delay 1000 miliseconds before says "Hello"!

Thanks for any help!

for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Link to comment
Share on other sites

Something like

Func hello($toSleep)

Sleep($toSleep)

MsgBox(0, "", "Hello")

EndFunc

I've tried Sleep function but I'm stuck in a problem:

When I let users choose "Count down and refresh" for example in every 10 mins, I would use Sleep() 10 mins but in that 10 mins, users cannot cancel or exit (no longer interact with my form I mean), how can I fix it?

Thanks anyway!

for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Link to comment
Share on other sites

take a look!!!

Run("hh.exe mk:@MSITStore:"&@ProgramFilesDir&"\AutoIt3\AutoIt3.chm::/html/functions/Sleep.htm")
I don't know what you mean, could u show me details?

for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...