Advertisement
loic1112

Untitled

May 9th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Add-Type -MemberDefinition '[DllImport("user32.dll")] public static extern void mouse_event(int flags, int dx, int dy, int cButtons, int info);' -Name U32 -Namespace W;
  2. #left mouse click
  3. [W.U32]::mouse_event(0x0002,0,0,0,0);
  4. [W.U32]::mouse_event(0x0004,0,0,0,0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement