Adblock breaks this site

On click, cursor moves to what i want.

Discussion in 'Archives' started by damien121, Jul 2, 2007.

  1. damien121

    damien121 Forum Addict

    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    Right, i don't want it to move to on epoint i know how to do that.

    What i want is, when they click the command button, it controls their mouse. making it do multiple things.

    like making it do an autoer for runescape, would i need to record my movements and paste it on vb or something??
    i really want it to do an auto fletcher. but i would have to get the movements somehow? maybe theres a recorder which gets the movements which i can copy/paste on vb?
    please help asap.

    Thanks.
     
  2. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    well, since you know how to make it go to one point, look @ using those lines again.

    look @ a wait function for helping with those pauses between movements and clicks.

    There are a few sources out there that will show you how to make "auto"-ers, I think you should take a look at them.

    I have a few sources on my site: Jazz.CNET that you might want to take a look at, since a few of them will help you out with your learning
     
  3. damien121

    damien121 Forum Addict

    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    There was no tuts on there. and i want sum1 to teach me. i need help. quick
    please help. post ur ms here plzz.

    Cruel if you read plz add me or any other good vb programmers -- [email protected]
    thanks
     
  4. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    On click, cursor moves to what i want.

    wow....
    i don't mean to be mean, but i doubt anyone will add you seeing you seem like the type of person that will be msging you constantly.
     
  5. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    I'll make you an auto fletcher and send you the project, if you like...
     
  6. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    this is a duplicate of his other thread, the question has already been answered....
     
  7. damien121

    damien121 Forum Addict

    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    it hasnt....u gave me a source but i cant open it :(
     
  8. timk777

    timk777 Active Member

    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    Here is kinda what your looking for I think...
    Code:
    Private Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
    Private Type POINTAPI
        X As Long
        Y As Long
    End Type
    Private Sub Command1_Click()
    Dim Pos1 As Integer, Pos2 As Integer
    Pos1 = Text1.Text
    Pos2 = Text2.Text
    SetCursorPos Pos1, Pos2
    End Sub
    
    
     
  9. damien121

    damien121 Forum Addict

    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    hmm ya that makes the mouse move to one position? but i want it so i can put multiple positions so it moves to one..then waits a selected time..then moves to another position...please help
     
  10. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    On click, cursor moves to what i want.

    Use a wait function...

    Put this in a module:
    Code:
    Declare Function Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) As Long
    
    Public Declare Function timeGetTime Lib "winmm.dll" () As Long
    
    Public Function Wait(TimeOut As Long)
    Dim TimeNow As Long
       TimeNow = timeGetTime()
       Do
          DoEvents 
       Loop While TimeNow + TimeOut > timeGetTime()
    End Function
    To use...

    Code:
    Wait (How long you want to wait in miliseconds)
    I don't know who made that function, but credits to them.
     
< ~Selling an almost *80* range rune pure~ | Selling Steam Account With 1.6 and CZ >


 
 
Adblock breaks this site