Update README.md
This commit is contained in:
parent
3ffe99deba
commit
c926e20b2d
1 changed files with 4 additions and 4 deletions
|
|
@ -1586,8 +1586,8 @@ Start-Sleep -Seconds 1
|
||||||
} while ($true)
|
} while ($true)
|
||||||
|
|
||||||
### [Clicker]
|
### [Clicker]
|
||||||
|
```
|
||||||
```$cSource = @'
|
$cSource = @'
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
@ -1645,8 +1645,8 @@ public static void LeftClickAtPoint(int x, int y)
|
||||||
SendInput(3, input, Marshal.SizeOf(input[0]));
|
SendInput(3, input, Marshal.SizeOf(input[0]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'@```
|
'@
|
||||||
|
```
|
||||||
`Add-Type -TypeDefinition $cSource -ReferencedAssemblies System.Windows.Forms,System.Drawing` \
|
`Add-Type -TypeDefinition $cSource -ReferencedAssemblies System.Windows.Forms,System.Drawing` \
|
||||||
`[Clicker]::LeftClickAtPoint(1900,1070)`
|
`[Clicker]::LeftClickAtPoint(1900,1070)`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue