Jump to content

Recommended Posts

Posted

when useing PixelChecksum where do i get the 4 sets of numbers i need from like

$checksum = PixelChecksum(0,0, 50,50)

^ ^ ^ ^

where is it i can get them numbers from for the aera that i need to do the check on

thank you

  • Moderators
Posted

when useing PixelChecksum where do i get the 4 sets of numbers i need from like

$checksum = PixelChecksum(0,0, 50,50)

^ ^ ^ ^

where is it i can get them numbers from for the aera that i need to do the check on

thank you

Au3Info.exe located in the AutoIt Folder or in your Start menu.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

I modified the quote of your post to show the "^ ^ ^ ^" where you intended them based on how they appear in the edit mode.

when useing PixelChecksum where do i get the 4 sets of numbers i need from like

$checksum = PixelChecksum(0,0, 50,50)

..............................................^ ^ ^ ^

where is it i can get them numbers from for the aera that i need to do the check on

thank you

If you can stand to read all of this post http://www.autoitscript.com/forum/index.ph...showtopic=19722 you might find what you are looking for.

...but SmOke_N's concise answer was probably all you needed...

...I just thought that I would put you to sleep with my not so concise reference...

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted (edited)

I modified the quote of your post to show the "^ ^ ^ ^" where you intended them based on how they appear in the edit mode.If you can stand to read all of this post http://www.autoitscript.com/forum/index.ph...showtopic=19722 you might find what you are looking for.

...but SmOke_N's concise answer was probably all you needed...

...I just thought that I would put you to sleep with my not so concise reference...

I think he means he doesn't know how to get the coordinates

Well, I'll take SmOKe_N's Image :whistle:

http://www.autoitscript.com/forum/index.ph...st&id=10335

And the call is

PixelCheckSum(X1,Y1,X2,Y2)
Edited by Paulie
Posted

I think he means he doesn't know how to get the coordinates...

I like SmOke_N's image :-)

...but try the script in the post that I referenced. It will make a semi-transparent rectangle on your screen that you can move/resize over the area of interest - then when you end the script it writes the PixelSearch line of code to the Windows clipboard. You can modify that line for use with PixelCheckSum - the coords are the same.

Now having said that - there are much better tools that will do the same thing - I've seen some that allow you to reshape a rectangle via click/drag. The point is - having a tool that shows you the area to be searched via an overlay might be of some use to the OP. Also, once you understand the use of a splashscreen or GUI overlay, you could toggle that display on or off within your script to allow you to double check where the code is searching - in case things change in the window being searched.

...just a thought...

[size="1"][font="Arial"].[u].[/u][/font][/size]

  • Moderators
Posted

I think he means he doesn't know how to get the coordinates

Well, I'll take SmOKe_N's Image :P

http://www.autoitscript.com/forum/index.ph...st&id=10335

And the call is

PixelCheckSum(X1,Y1,X2,Y2)
;) Theif! :whistle:;)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...