ciskuzzo Posted October 11, 2010 Share Posted October 11, 2010 Hello guys, i need an help about coding a page refreshing bot every day at 02:00 am (a bot that clicks F5 at that hour every day) Can you help me? Best regards Link to comment Share on other sites More sharing options...
wakillon Posted October 11, 2010 Share Posted October 11, 2010 An IE page ? AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
ciskuzzo Posted October 11, 2010 Author Share Posted October 11, 2010 No a firefox page Link to comment Share on other sites More sharing options...
eracross Posted October 11, 2010 Share Posted October 11, 2010 try controsend? Link to comment Share on other sites More sharing options...
wakillon Posted October 11, 2010 Share Posted October 11, 2010 you can try this : $_Title= ; find title and text with AutoIt Window Info $_Text= ; While 1 If @HOUR = 2 And @MIN = 0 And @SEC = 0 Then WinWait ( $_Title, $_Text ) WinActivate ( $_Title, $_Text ) WinWaitActive ( $_Title, $_Text ) Send ( "{F5}" ) Sleep ( 1000 ) EndIf Sleep ( 20 ) WEnd AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
ciskuzzo Posted October 11, 2010 Author Share Posted October 11, 2010 i will try Link to comment Share on other sites More sharing options...
ciskuzzo Posted October 11, 2010 Author Share Posted October 11, 2010 $_title should stand for the window title, correct? But $_text? Link to comment Share on other sites More sharing options...
wakillon Posted October 11, 2010 Share Posted October 11, 2010 $_title should stand for the window title, correct? But $_text?Try with $_Text='' AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
ciskuzzo Posted October 11, 2010 Author Share Posted October 11, 2010 It works perfectly Link to comment Share on other sites More sharing options...
wakillon Posted October 11, 2010 Share Posted October 11, 2010 It works perfectly ok but it's not 2:00 am ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Realm Posted October 11, 2010 Share Posted October 11, 2010 ok but it's not 2:00 am ! That would probably depend on where in the world he currently is, for its 2:00 am somewhere at every hour toll My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
GMK Posted October 11, 2010 Share Posted October 11, 2010 FWIW, if you're using FF.au3, you can use _FFAction("reload") 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