Jump to content

Musegetpos And Mouseclickdrag


Recommended Posts

This is my code and i can't get it to work.

 

 

 Global $Click

Global $pos

Func Pixel ()
$Click = PixelSearch(597, 55, 1073, 844, 0x79582A)
    if Not @error Then
      MouseMove($Click[0], $Click[1], 7)
   EndIf
   EndFunc

   Sleep(1000)
Func GetPos ()
   $pos = MouseGetPos()
      Sleep(2000)

   MouseClickDrag("Left", $pos[0], $pos[1], 660, 142)
   EndFunc
 

MapleLogs.au3

Link to comment
Share on other sites

  • Moderators

I figured as much. You apparently strolled right past the forum rules on your way in. Please read them now, especially the section on game automation, and you will see why this topic is now locked. You will get no assistance on this subject.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...