amatris1992 0 Posted April 3, 2012 hey guys so im Trying to make a macro, in vb2010, i can Send keys fine with AU3_Send(1, 0) or AU3_Send(a, 0) for example. but how do i send a mouse Click? thanks for the help. Share this post Link to post Share on other sites
amatris1992 0 Posted April 3, 2012 i have TriedPublic Class MainPublic Declare Sub AU3_MouseDown Lib "AutoItX3.dll" (Optional ByVal szButton As String = "LEFT")Public Declare Function AU3_MouseMove Lib "AutoItX3.dll" (ByVal nX As Integer, ByVal nY As Integer, ByVal nSpeed As Integer) As IntegerPublic Declare Sub AU3_MouseUp Lib "AutoItX3.dll" (Optional ByVal szButton As String = "LEFT") and thisAU3_MouseDown("RIGHT")AU3_MouseUp("RIGHT")but it does not send the mouse Click still? Share this post Link to post Share on other sites
Laymanball 2 Posted May 17, 2012 Add reference AutoItX3.dll. For Vb.net and Imports AutoItX3Lib. Write code.. Dim Au3 As New AutoItX3. My Sample Script Download: VistaDesktopIconsChangerForXp.au3 (Com,Doc and Bin only) http://www.4shared.com/rar/NMHYL5Igba/VistaDesktopIconsChangerForXp_.html VistaDesktopIconsChangerForXp.exe (Resources) http://www.4shared.com/rar/nzs7Mb1gba/VistaDesktopIconsChangerForXp_.html Share this post Link to post Share on other sites