A code that does so that it Left Clicks and writes a ceratin text?
Okay as I sade in the titel I need help figuring out how to make it so that it Left Clicks when I press a button and after that it Clicked I would need it to write something (I just need it to write I don't need it to create a msg box or something like that).
Any help is appreciated.
My current code:
Any help is appreciated.
My current code:
Code:
Public Class Form1
Public Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long) 'Long may have to change to type Int32 or DWORD
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Me.Cursor = New Cursor(Cursor.Current.Handle)
Cursor.Position = New Point(483, 857)
End Sub
End Class
