sillytiger Posted December 22, 2005 Share Posted December 22, 2005 1. how do you make it auto log in?? 2. how do you make it type without making a window Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 so i wanna make a script... ; sleep (700) (note below doesnt make sense its just an example *but i may have set it up wrong* ; left [50, 50[ 10] 10] ; left [50, 100[ 10] 10] ; left [50, 20[ 10] 10] ; type?? [enter] (or should i just click enter..) ; left [50, 50[ 10] 10] --repeat-- note* im basicaly clueless im awfull so far.. with scripting...* Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 i know im doing something wrong.. what.... i couldnt find how do do enter.. so msay i just click ;log in* ; left [50, 50[ 10] 10] ; left [50, 100[ 10] 10] ; left [50, 20[ 10] 10] ; type?? * ; left [10, 50[ 10] 10] ; left [50, 50[ 10] 10] --repeat-- _______ the ones with the *'s are the ones i have problems with Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 sorry.. whats wrong with it, how do you log, and post text if this helps its for gaia Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 please anyone?? who is viewing this?? Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 ok i read the faq.. is this ok.. asides from the log in/... ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: Sillytiger A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Gaiaonline Auto-bumper ; ; ---------------------------------------------------------------------------- ; Script Start ; sleep(500) ; leftclick, , , 5, 10 ; leftclick, , , 1, 10 ; sleep(100) ; leftclick, , , 5, 10 ; leftclick, , , 1, 10 ; {enter} bump {enter} ; leftclick, , , 1, 10 ; sleep(200) ; leftclick, , , 1, 10 Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 welll im sorry im taking your time, because im really not good at this, but could someone possibly help, me with me script in all, also... like, please, and thx... Link to comment Share on other sites More sharing options...
Valuater Posted December 22, 2005 Share Posted December 22, 2005 (edited) maybe like this ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: Sillytiger A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Gaiaonline Auto-bumper ; ; ---------------------------------------------------------------------------- ; Script Start Sleep(500) MouseClick("left", 5, 10) MouseClick("left", 1, 10) Sleep(100) MouseClick("left", 5, 10) MouseClick("left", 1, 10) Send( "{enter} bump {enter}") MouseClick("left", 1, 10) Sleep(200) MouseClick("left", 1, 10) 8) Edited December 22, 2005 by Valuater Link to comment Share on other sites More sharing options...
sillytiger Posted December 22, 2005 Author Share Posted December 22, 2005 thanks now .. sorry to ask about the log in.. Link to comment Share on other sites More sharing options...
Valuater Posted December 22, 2005 Share Posted December 22, 2005 thanksnow .. sorry to ask about the log in..1 IF YOU WANT TO "RUN" THE GAME FROM THE SCRIPT... I NEED TO KNOWIS THIS A PROGRAM ON YOUR COMPUTER??OR ON THE INTERNET... IF SO.... WHAT IS THE WEB-ADDRESS2DO YOU WANT A GUI OR USE HOTKEYS?8) Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 22, 2005 Share Posted December 22, 2005 Interesting problem. What exactly are you trying to do and why? You didn't really say anything in your mass of posts. Link to comment Share on other sites More sharing options...
Valuater Posted December 22, 2005 Share Posted December 22, 2005 this is a great start expandcollapse popup; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: Sillytiger A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Gaiaonline Auto-bumper ; ; ---------------------------------------------------------------------------- ; Script Start #include <GUIConstants.au3> #include <IE.au3> Dim $Username = "Valuater" Dim $Password = "testpass" Dim $Paused Dim $Program = "http://www.gaiaonline.com/" HotKeySet("{ESC}", "Terminate") HotKeySet("{F8}", "Set_Logon") HotKeySet("{F9}", "Set_Bump") HotKeySet("{PAUSE}", "TogglePause") While 1 ToolTip('Script is "Running"',0,0) Sleep(50) WEnd Func Set_Logon() $o_IE = _IECreate() _IENavigate($o_IE, $Program) $o_SearchForm = _IEFormGetObjByName ($o_IE, "loginform") $o_Keyword_1 = _IEFormElementGetObjByName ($o_SearchForm, "username") _IEFormElementSetValue ($o_Keyword_1, $Username) $o_Keyword_2 = _IEFormElementGetObjByName ($o_SearchForm, "password") _IEFormElementSetValue ($o_Keyword_2, $Password) Sleep(1000) ; press submit button - not working ;$o_Keyword_3 = _IEFormElementGetObjByName ($o_SearchForm, "btn_sm_submit.png") ; _IEClickimg($o_IE, $o_Keyword_3) ;Sleep(1500) ;_IEFormSubmit ($o_SearchForm,) $o_IE = 0 EndFunc Func Set_Bump() Sleep(500) MouseClick("left", 5, 10) MouseClick("left", 1, 10) Sleep(100) MouseClick("left", 5, 10) MouseClick("left", 1, 10) Send( "{enter} bump {enter}") MouseClick("left", 1, 10) Sleep(200) MouseClick("left", 1, 10) EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc 8) Link to comment Share on other sites More sharing options...
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