Travel the world

Climb the mountains

Post Page Advertisement [Top]

Click at certain coordinate on screen - C# Automation

Click at certain coordinate on screen - C# Automation

In order to do this, we have to use "Kautohelper.dll", which is shared by HowKteam.Com.
First of all, we initialize class AutoControl
Click at certain point:
public static void MouseClick(Point point, EMouseKey mouseKey = EMouseKey.LEFT);
public static void MouseClick(int x, int y, EMouseKey mouseKey = EMouseKey.LEFT);
Emun MouseKey:
 public enum EMouseKey
    {
        LEFT = 0,
        RIGHT = 1,
        DOUBLE_LEFT = 2,
        DOUBLE_RIGHT = 3
    }

 Bonous Mouse Move:
Cursor.Position = new Point(x,y);

Không có nhận xét nào:

Đăng nhận xét

Bottom Ad [Post Page]