illgamez Posted November 24, 2007 Share Posted November 24, 2007 im looking for a ijji gunz script that will automatically move my cursor to the "Start Game" icon and double click it everyminute. So i can automatically restart a game when im away from the computer. Thanks Link to comment Share on other sites More sharing options...
Paulie Posted November 25, 2007 Share Posted November 25, 2007 ummm... See Mouseclick() or ControlClick() Link to comment Share on other sites More sharing options...
Vindicator209 Posted November 25, 2007 Share Posted November 25, 2007 (edited) Ah!!! I have a script for this! I use it for luminary but you can just as well as use it for gunz!!!lemme go find it! Just enter your name and password, and change luminary to gunz! P.S. I did write this function myself though! #include <IE.au3> #include <GUIConstants.au3> #include <GUIcombo.au3> $ID = "You Ijji ID here" $PASS = "Your Ijji Password here" Login("http://luminary.ijji.com/",$ID,$PASS);change http://luminary.ijji.com/ to http://gunz.ijji.com/ Func Login($szURL,$szUsername,$szPassword) $vGUI=GuiCreate("Logging In...", 100, 40,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () $Label_1 = GuiCtrlCreateLabel("Logging In...", 10, 10, 80, 30) $GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 80, 1) GuiSetState() _IENavigate($oIE,$szURL) $HTML=_IEBodyReadHTML($oIE) $LoggedIn = StringInStr($HTML,"r_signin_btnlogin.gif") If $LoggedIn = 0 Then _IENavigate($oIE,"java script:goPlay('u_goonzu', '');",0) Else $oForm = _IEFormGetObjByName ($oIE, "form") $oUser = _IEFormElementGetObjByName ($oForm, "memberid") _IEFormElementSetValue ($oUser, $szUsername) $oPass = _IEFormElementGetObjByName ($oForm, "password") _IEFormElementSetValue ($oPass, $szPassword) Sleep(1000) _IENavigate($oIE,"java script:goSubmit(form);") Sleep(500) _IELoadWait($oIE) Sleep(1000) _IENavigate($oIE,"java script:goPlay('u_goonzu', '');",0) EndIf Sleep(3000) GUIDelete($vGUI) Exit EndFunc Edited November 25, 2007 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Eru Posted November 25, 2007 Share Posted November 25, 2007 (edited) MouseClick ( "Left" , x, y , 2) Sleep (90000) Press Home to start, and End to stop. Edited November 25, 2007 by Eru Link to comment Share on other sites More sharing options...
illgamez Posted November 26, 2007 Author Share Posted November 26, 2007 how do i make it loop now? Link to comment Share on other sites More sharing options...
Paulie Posted November 26, 2007 Share Posted November 26, 2007 how do i make it loop now?Read the loops section of the helpfile. Link to comment Share on other sites More sharing options...
Achilles Posted November 26, 2007 Share Posted November 26, 2007 Here's an example of a loop: While 1 Send("#l") WEnd That repeats forever... It sends Windows + L until the user forces the script to exit. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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