Jump to content
Sign in to follow this  
IHI.II.IIVII.

Timed Function For My Script.

Recommended Posts

IHI.II.IIVII.

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
IHI.II.IIVII.

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

j00 rox0rs my s0x0r?

<3 Thanks for help :)

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
NegativeNrG

his doing 1337speak, Which is leetspeak.

Find more information on this at leetspeak

Translation:

you rocks my socks.

Edited by NegativeNrG

[size=20]My File Upload[/size]Register at my site and upload.

Share this post


Link to post
Share on other sites
slightly_abnormal

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

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
IHI.II.IIVII.

I'm actually using it to use a macro to put a bobber on my fishing pole... world of warcraft ate my sole last year... :-/

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  

×