K3vin 0 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 :( Share this post Link to post Share on other sites
herewasplato 3 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] Share this post Link to post Share on other sites
K3vin 0 Posted May 1, 2005 Lol, you are right, I totally forgot that there was a scheduler on XP lol! Thanks for reminding me that! Share this post Link to post Share on other sites