mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-06 08:43:56 +00:00
Merge 34c99df687
into 37fb9e6768
This commit is contained in:
commit
6becc7510c
@ -156,7 +156,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
x, y := robotgo.GetMousePos()
|
x, y := robotgo.GetMousePos()
|
||||||
fmt.Println("pos:", x, y)
|
fmt.Println("pos:", x, y)
|
||||||
color := robotgo.GetPixelColor(100, 200)
|
color := robotgo.GetPixelColor(x, y)
|
||||||
fmt.Println("color----", color)
|
fmt.Println("color----", color)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user