jackrabbit Posted December 19, 2008 Share Posted December 19, 2008 I plan to write a small alarm program. Which function should I use to run something at a specific time? Thanks. Link to comment Share on other sites More sharing options...
Andreik Posted December 19, 2008 Share Posted December 19, 2008 I plan to write a small alarm program. Which function should I use to run something at a specific time?Thanks.Look here a nice clock with alarm.http://www.autoitscript.com/forum/index.ph...st&p=603813 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
jackrabbit Posted December 19, 2008 Author Share Posted December 19, 2008 Look here a nice clock with alarm.http://www.autoitscript.com/forum/index.ph...st&p=603813Thanks, this is nice. I am wondering if there is a simple to load a function at a specific time.For example, I want to open notepad.exe at 2:pm. Which function should I use. Link to comment Share on other sites More sharing options...
Aceguy Posted December 19, 2008 Share Posted December 19, 2008 look at while 1 if @hour=2 then Run("Notepad.exe", "", @SW_MAXIMIZE) sleep(50);saves cpu wend [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
z0mgItsJohn Posted December 20, 2008 Share Posted December 20, 2008 (edited) Heres A Little Example ^^ ; Hope It Helps! ; Needed For.. The Function " _NowTime () " #Include <Date.Au3> $Time = _NowTime () Do Sleep ('50') Until $Time = '2:00:00 PM' ShellExecute ('Notepad.exe')oÝ÷ Ø è¶«¦¦WºÚ"µÍÒ[ÛYH Ñ]K]LÉÝÂÚ[H ÌÎNÌIÌÎNÊBØØ[ ÌÍÐÝ[Õ[YHHÓÝÕ[YH BÛY ÌÎNÌML ÌÎNÊBÝÚ]Ú ÌÍÐÝ[Õ[YBHØÙH ÌÎNÌIÌÎNÈHÑ][ÌH BHØÙH ÌÎNÌÎIÌÎNÂBHÑ][Ì BHØÙH ÌÎNÍIÌÎNÂBHÑ][ÌÈ B[ÝÚ]ÚÑ[[ÈÑ][ÌH BÙÐÞ ÌÎNÌ ÌÎNË ÌÎNÓÝXÙIÌÎNË ÌÎNÒ]ÈÝÈIÌÌÎÉÌÎNË ÌÎNÌ ÌÎNÊB[[Â[ÈÑ][Ì BÙÐÞ ÌÎNÌ ÌÎNË ÌÎNÓÝXÙIÌÎNË ÌÎNÒ]ÈÝÈÎIÌÌÎÉÌÎNË ÌÎNÌ ÌÎNÊB[[Â[ÈÑ][ÌÈ BÙÐÞ ÌÎNÌ ÌÎNË ÌÎNÓÝXÙIÌÎNË ÌÎNÒ]ÈÝÈ IÌÌÎÉÌÎNË ÌÎNÌ ÌÎNÊB[[ Edited December 20, 2008 by John2006 Latest Projects :- New & Improved TCP Chat Link to comment Share on other sites More sharing options...
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