diff --git a/examples/bitmap/main.go b/examples/bitmap/main.go index 25396c9..9193ead 100644 --- a/examples/bitmap/main.go +++ b/examples/bitmap/main.go @@ -62,6 +62,7 @@ func main() { // open image bitmap openbit := robotgo.OpenBitmap("test.tif") fmt.Println("openBitmap...", openbit) + fx, fy = robotgo.FindBitmap(openbit) fmt.Println("FindBitmap------", fx, fy) } diff --git a/examples/main.go b/examples/main.go index 33f2616..5daf5aa 100644 --- a/examples/main.go +++ b/examples/main.go @@ -106,6 +106,9 @@ func screen() { // Read the screen //////////////////////////////////////////////////////////////////////////////// + abitMap := robotgo.CaptureScreen() + fmt.Println("abitMap...", abitMap) + gbitMap := robotgo.BCaptureScreen() fmt.Println("BCaptureScreen...", gbitMap.Width) // fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel) @@ -169,6 +172,7 @@ func bitmap() { // open image bitmap openbit := robotgo.OpenBitmap("test.tif") fmt.Println("openBitmap...", openbit) + fx, fy = robotgo.FindBitmap(openbit) fmt.Println("FindBitmap------", fx, fy) } diff --git a/examples/screen/main.go b/examples/screen/main.go index 8a4243f..4ce9026 100644 --- a/examples/screen/main.go +++ b/examples/screen/main.go @@ -22,6 +22,9 @@ func main() { // Read the screen //////////////////////////////////////////////////////////////////////////////// + abitMap := robotgo.CaptureScreen() + fmt.Println("abitMap...", abitMap) + gbitMap := robotgo.BCaptureScreen() fmt.Println("BCaptureScreen...", gbitMap.Width) // fmt.Println("...", gbitmap.Width, gbitmap.BytesPerPixel) diff --git a/robotgo.go b/robotgo.go index 3e60fbd..449bd7a 100644 --- a/robotgo.go +++ b/robotgo.go @@ -55,7 +55,7 @@ import ( ) const ( - version string = "v0.46.0.377, Pyrenees Mountains!" + version string = "v0.46.0.382, Pyrenees Mountains!" ) // GetVersion get version