Some auto it help menu

User Tag List

Results 1 to 4 of 4
  1. #1
    ultiman's Avatar Member
    Reputation
    6
    Join Date
    Sep 2007
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some auto it help

    since over at the auto it forums they are againsed helping anything to do with games,

    is any one here familiar with Autoit? i want to beable to get the position of my mouse before

    this script is a simple mouse clicker to auto put on my MF gear it works well.

    Code:
    #include<misc.au3>
    While 1
        if WinWaitActive ( "Diablo III" ) Then
        While _IsPressed ( '22' )
        send ( "i" )
        Sleep(5)
        MouseMove(1872, 805, 1)
    
        MouseClick("Right")
        MouseMove(1824, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1776, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1726, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1679, 805, 1)
        Sleep(5)
        Send( "{altdown}" )
        MouseClick("Right")
        Send( "{altup}" )
        MouseMove(1628, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        Sleep(5)
    
        MouseMove(1629, 849, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1579, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1532, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1485, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1676, 853, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1483, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
                MouseMove(1443, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
    
        send ( "i" )
        Sleep(3000)
        WEnd
        EndIf
    WEnd
    but at the end it leaves my mouse ware i last send it. i would like to get pos of mouse before it starts the sequence then set it to that at the end.

    Some auto it help
  2. #2
    j0achim's Avatar Active Member
    Reputation
    20
    Join Date
    Jan 2010
    Posts
    95
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ Start of loop add:

    Code:
    $mpos = MouseGetPos()
    ;$mpos[0] = x, $mpos[1] = y
    @ end do something like:
    Code:
    MouseMove($mpos[0],$mpos[1],5)

  3. #3
    ultiman's Avatar Member
    Reputation
    6
    Join Date
    Sep 2007
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks man i did try that but it didnt work. but it was needed to be
    Code:
    Local $mpos = MouseGetPos()
    all working now thank and +rep for helping me

    if any one is interested in using the script go for it, its fast and reliable it also swaps both rings, but it will not be of any use if you dont put in your own mouse cords. the hot key to activate is page down

    Code:
    #include<misc.au3>
    Local $mpos = MouseGetPos()
    
    While 1
        if WinWaitActive ( "Diablo III" ) Then
        While _IsPressed ( '22' )
    
    Local $mpos = MouseGetPos()
    
    ;$mpos[0] = x, $mpos[1] = y
    
        send ( "i" )
        Sleep(5)
        MouseMove(1872, 805, 1)
    
        MouseClick("Right")
        MouseMove(1824, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1776, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1726, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        MouseMove(1679, 805, 1)
        Sleep(5)
        Send( "{altdown}" )
        MouseClick("Right")
        Send( "{altup}" )
        MouseMove(1628, 805, 1)
        Sleep(5)
    
        MouseClick("Right")
        Sleep(5)
    
        MouseMove(1629, 849, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1579, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1532, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1485, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1676, 853, 1)
    
        MouseClick("Right")
        Sleep(5)
    
            MouseMove(1483, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
                MouseMove(1443, 805, 1)
    
        MouseClick("Right")
        Sleep(5)
    
    
        send ( "i" )
    
        MouseMove($mpos[0],$mpos[1],0)
    
        Sleep(3000)
        WEnd
        EndIf
    WEnd
    Last edited by ultiman; 06-04-2012 at 05:49 AM.

  4. #4
    Kwapuzzi's Avatar Member
    Reputation
    12
    Join Date
    Apr 2007
    Posts
    62
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can totaly increasy the speed of this. als this coud done in under a second.

    change everything to Controlklick !

    Sample:

    $Title = 'Diablo III' ; The Name Of The Game...
    $Full = WinGetTitle ($Title) ; Get The Full Title..
    $HWnD = WinGetHandle ($Full) ; Get The Handle
    $mLeft="left"
    $mRight="right"


    ControlClick ($hWnd,'','', $mLeft, 1, 400, 330)

    those click didnt use your active cursor and is instant!

    best regards

    moeter

Similar Threads

  1. Some little Hair help please
    By recklesss in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 08-17-2007, 06:29 AM
  2. Some model edit help please
    By Kal-El in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 06-20-2007, 05:46 AM
  3. [REQUESTS] Some requests, plz help :P
    By Varlak in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 06-11-2007, 08:10 AM
  4. Auto-it help!
    By XxKajxX in forum World of Warcraft General
    Replies: 1
    Last Post: 07-09-2006, 10:55 AM
  5. can some one please help
    By Deminish in forum World of Warcraft General
    Replies: 6
    Last Post: 06-19-2006, 06:38 PM
All times are GMT -5. The time now is 03:07 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search