Sign in to follow this  
Followers 0
phapdaica12

How to getpixel in the clipboard ?

6 posts in this topic

I want getpixel in the clipboard. How to getpixel in the clipboard ? Please ......... I know you can!

Share this post


Link to post
Share on other sites

I think AutoIT should have a command for getpixel in the clipboard:

Example:

--------------------------------------------------------------------------------------

HotKeySet("{F9}", "Get")

While 1

send("{PRINTSCREEN}")

WEnd

$1 = ClipGetImg

$2 = PixelGetColor($1, 10 , 100 )

Func Get ()

MsgBox(0, "X,Y =:", $2[0] & "," & $2[1])

EndFunc

--------------------------------------------------------------------------------------

Or:

--------------------------------------------------------------------------------------

HotKeySet("{F9}", "Get")

$1 = ClipPutImg

$2 = ClipGetImg

$3 = PixelGetColor($2, 10 , 100 )

Func Get ()

MsgBox(0, "X,Y =:", $3[0] & "," & $3[1])

EndFunc

--------------------------------------------------------------------------------------

Share this post


Link to post
Share on other sites
I want getpixel in the clipboard clipboard clipboard clipboard!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0