Sign in to follow this  
Followers 0
amatris1992

Vb 2010

3 posts in this topic

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



i have Tried

Public Class Main

Public 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 Integer

Public Declare Sub AU3_MouseUp Lib "AutoItX3.dll" (Optional ByVal szButton As String = "LEFT")

and this

AU3_MouseDown("RIGHT")

AU3_MouseUp("RIGHT")

but it does not send the mouse Click still?

Share this post


Link to post
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0