ken82m Posted November 24, 2008 Share Posted November 24, 2008 (edited) Didn't have any luck with that either this is the only way I can get it to work. It's not fool proof but I ran it several times without issues. This better be one hell of a game lol Have fun, Kenny #include <IE.au3> ;$oIE = _IEAttach("Demon Slayer") $oIE = _IECreate("http://myspace.com", 0, 1, 1) MsgBox(0, "", "Click OK when the Reset Game button is ready") $oElements = _IETagNameGetCollection ($oIE, "input") For $oElement In $oElements If $oElement.value = "Reset Game" Then $hwnd = _IEPropertyGet($oIE, "hwnd") WinActivate($hwnd) Send("{HOME}") Sleep(500) $xpos = _IEPropertyGet($oElement, "browsery") $ypos = _IEPropertyGet($oElement, "browserx") + 25 MouseMove($xpos, $ypos) MouseClick("main", $xpos, $ypos) ExitLoop EndIf Next Edited November 24, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
ken82m Posted November 24, 2008 Share Posted November 24, 2008 try unchecking the box to download the latest updates and malicious removal tool You might want to try disabling any av or spyware scannners (never worked for me but people keep suggesting it anyway lol) "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
apollopimp Posted November 24, 2008 Author Share Posted November 24, 2008 line 8 For $oElement In $oElements For $oElement In $oElements^ ERROR Error; Variable must be of type "Object" Link to comment Share on other sites More sharing options...
ken82m Posted November 24, 2008 Share Posted November 24, 2008 (edited) No errors here it might not be attaching to the window so the Get collection command would return 0 Try replacing the _IEAttach line with: $oIE = _IECreate("http://myspace.com", 0, 1, 1) Edited November 24, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." 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