Alecje Posted February 24, 2009 Posted February 24, 2009 I am wanting a script that will let me in-put a password every hour My router auto logs me out after a hour and i would like to stay logged on for downloads during the night
dantay9 Posted February 24, 2009 Posted February 24, 2009 Try using the @hour macro and seeing if it is a whole number. Then run your script every time it is a whole number. I'll let you find out the details.
Alecje Posted February 24, 2009 Author Posted February 24, 2009 Im very new to this, could you please give me a quick example? Thanks!
dantay9 Posted February 24, 2009 Posted February 24, 2009 Try building off this. Since I don't know exactly how you are logging in, I can't help you with that, but you can build off this. While 1 If @MIN = "00" Then ; if 1:00 or 2:00 or 3:00 etc. then ; put your script to log in here Sleep(65000) ; sleep for over a minute so it doesn't execute multiple times EndIf Sleep(25) ; make sure your cpu doesn't overload WEnd
dantay9 Posted February 24, 2009 Posted February 24, 2009 Try searching control send and learn to use the AutoIt Window Info Tool. That should be all you need. That is really all I can tell you.
exodius Posted February 24, 2009 Posted February 24, 2009 (edited) ROFL, So are you the kid getting locked down by the Access Controls or are you the parent trying to keep the Access Controls on but not be too troubled by them? LOL.Look at the _IE functions, starting with _IECreate, _IEGetObjByName, and _IEAction.Also, download DebugBar, it'll help you find the names of the controls.Put something together and report back.Try searching control send and learn to use the AutoIt Window Info Tool. That should be all you need. That is really all I can tell you.This won't work all that well since he accesses his router via a webpage interface. Edited February 24, 2009 by exodius
Ealric Posted February 24, 2009 Posted February 24, 2009 Or, you could just lookup 2 Wire Gateway user guide, flip down to page 7 and page 8 where it shows you how to reset the system password and you could lock your parents out of the... Wait.. I didn't just say that did I?... Ah well.... My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic]
Rishav Posted February 24, 2009 Posted February 24, 2009 as exo said, get debugbar. create a script to open the gateway page. get the control id of the fields and controlsend the field inputs. once that script is working, edit it. make it run in the taskbar, put in a sleep or @hour (check danty's script). you have 4 avenues for help. check the help file for all these functions. check google for autoit command. search this forum and when all this fails, ask anyone. Just make sure that your question is a bit more specific.
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