AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

auto login help

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Cyber



Joined: 10 Mar 2009
Posts: 86
Location: Nsw/Syd/Kiama

PostPosted: Tue Feb 23, 2010 7:55 am    Post subject: auto login help Reply with quote

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
View user's profile Send private message MSN Messenger
Cyber



Joined: 10 Mar 2009
Posts: 86
Location: Nsw/Syd/Kiama

PostPosted: Tue Feb 23, 2010 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
answer4u
Guest





PostPosted: Tue Feb 23, 2010 2:33 pm    Post subject: Reply with quote

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

PostPosted: Fri Feb 26, 2010 1:28 am    Post subject: Reply with quote

...imusing fire fox.

i do not wish to make anything complicated.
and id have to use php injection Wink

all i whish to do is automate keystrokes and mouse clicks/movements.

=]

ty
~cyber
_________________
---{+.-}---
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group