Sign in to follow this  
Followers 0
Alecje

I need a script to automatically input a password every hour

9 posts in this topic

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

Share this post


Link to post
Share on other sites



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.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

Im very new to this, could you please give me a quick example? Thanks!

Share this post


Link to post
Share on other sites

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


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

Posted Image

i need to get it to log every hour

Share this post


Link to post
Share on other sites

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.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by exodius

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0