 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Tue Feb 23, 2010 7:55 am Post subject: auto login help |
|
|
hey guys.
im just wondering how i wld go abou creating a script in wich does the folowing.
-opens a website "lets say facebook"
-logs in.
- clicks a tab "lets say games"
-selects a link in that tab "lets say poker"
then logs out
i whish this to be looped once every 24 hrs.
also so the script starts automatricaly on startup.
so my question i guess, wld be can someone point me in the right direction, or explain what i will need to do, and what parts of this may be difficult if there are dificulties.
thanks a bunch
~cyber _________________ ---{+.-}--- |
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Tue Feb 23, 2010 8:11 am Post subject: |
|
|
sorry, here is my cu8rrent atempt, but for some reason it crashes straight after facebook page logs in
| Code: | ;---------------------------auto face book login and poker login---------------
;------------------------------------------------------------------------------
;open facebook
sleep 50
run www.facebook.com
sleep 50
;login 2 facebook home page (home.php)
winwaitactive ,Welcome to Facebook
sleep random , 888,2111
ControlClick , 633,235 , left
sleep random , 1000,2150
send , username=] ;username
sleep random , 550,1700 ,
ControlClick ,802 229 , left
sleep , 300,922
send , password=] ;password
sleep 330,1003
return
;--------------open zinga poker-------------
|
_________________ ---{+.-}--- |
|
| Back to top |
|
 |
answer4u Guest
|
Posted: Tue Feb 23, 2010 2:33 pm Post subject: |
|
|
| What browser are you using? If you're using Internet Explorer, using COM is the most effective way ( though more advanced ). Otherwise, I'd recommend using javascript injection. |
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Fri Feb 26, 2010 1:28 am Post subject: |
|
|
...imusing fire fox.
i do not wish to make anything complicated.
and id have to use php injection
all i whish to do is automate keystrokes and mouse clicks/movements.
=]
ty
~cyber _________________ ---{+.-}--- |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|