AutoHotkey Community

It is currently May 27th, 2012, 4:22 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: auto login help
PostPosted: February 23rd, 2010, 8:55 am 
Offline

Joined: March 11th, 2009, 12:00 am
Posts: 86
Location: Nsw/Syd/Kiama
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

_________________
---{+.-}---


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2010, 9:11 am 
Offline

Joined: March 11th, 2009, 12:00 am
Posts: 86
Location: Nsw/Syd/Kiama
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-------------



_________________
---{+.-}---


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2010, 3:33 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2010, 2:28 am 
Offline

Joined: March 11th, 2009, 12:00 am
Posts: 86
Location: Nsw/Syd/Kiama
...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

_________________
---{+.-}---


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Mickers, rbrtryn and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group