On click, cursor moves to what i want.

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

On click, cursor moves to what i want.
  1. Unread #1 - Jul 2, 2007 at 3:29 PM
  2. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    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.
     
  3. Unread #2 - Jul 2, 2007 at 7:13 PM
  4. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    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
     
  5. Unread #3 - Jul 3, 2007 at 3:13 PM
  6. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    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
     
  7. Unread #4 - Jul 3, 2007 at 11:29 PM
  8. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    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.
     
  9. Unread #5 - Jul 4, 2007 at 3:04 AM
  10. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    On click, cursor moves to what i want.

    I'll make you an auto fletcher and send you the project, if you like...
     
  11. Unread #6 - Jul 4, 2007 at 3:24 AM
  12. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    On click, cursor moves to what i want.

    this is a duplicate of his other thread, the question has already been answered....
     
  13. Unread #7 - Jul 4, 2007 at 4:04 PM
  14. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    On click, cursor moves to what i want.

    it hasnt....u gave me a source but i cant open it :(
     
  15. Unread #8 - Jul 4, 2007 at 4:10 PM
  16. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    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
    
    
     
  17. Unread #9 - Jul 4, 2007 at 4:13 PM
  18. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    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
     
  19. Unread #10 - Jul 4, 2007 at 9:12 PM
  20. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site