Jump to content

Timed Function For My Script.


Recommended Posts

  • Moderators

I want to do a function every 10min.

I have tried a bunch of things, sleep timers + some functions don't work because the script is activly running. I'd like it to just simply 'send("2")' every 10min.

AdlibEnable('Send2', 600000)
Func Send2()
    Send('2')
EndFunc

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

j00 rox0rs my s0x0r?

Um :), what does that mean?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

hmm..

these timed scripts remind of that episode of the simpons where homer used a drinking bird to hit the letter y every few seconds.. which almost caused the powerplant to blowup..

lets hope you don't blow anything up with it.. :)

Think he plans on getting his PC drunk with code? :mellow:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...