K3vin Posted May 1, 2005 Posted May 1, 2005 Hello, I'm gonna make a script that I'll launch when I go to bed; and @ 7AM (i'll go sleep @ 5AM)a clic on an application will be done, so that the application will load when I'm sleeping. But I got one question : how can I set a precise hour to that script? For now, I got that ; Double click at the current mouse pos MouseClick("left") MouseClick("left") MouseClick("left") MouseClick("left") ;launch azureus MouseClick("left", 645, 456, 2) What and where should I add a line? Thanks :(
herewasplato Posted May 1, 2005 Posted May 1, 2005 AutoIt can watch for a certain time and then run some code, but if your operation system has a task scheduler (like XP's "Scheduled Tasks"), then why reinvent the wheel? Schedule the task to launch your script at the time you want. [size="1"][font="Arial"].[u].[/u][/font][/size]
K3vin Posted May 1, 2005 Author Posted May 1, 2005 Lol, you are right, I totally forgot that there was a scheduler on XP lol! Thanks for reminding me that!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now