Jump to content

Recommended Posts

Posted (edited)

Hello Autoit Community

The mode parameter in the PixelChecksum doesn't work !

Here is the syntax that show the error:

PixelChecksum(100,100,500,500,1,"",1)       ;CRC32 Checksum
Edited by Goblin
Posted

Works for me

$Checksum = PixelChecksum(100,100,500,500,1,"",1)
MsgBox(0, "TEST Results", $Checksum)

If you read the Helpfile you will find several warnings about using "" for the hWnd parameter by the way.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Works for me

$Checksum = PixelChecksum(100,100,500,500,1,"",1)
MsgBox(0, "TEST Results", $Checksum)

If you read the Helpfile you will find several warnings about using "" for the hWnd parameter by the way.

Still doesn't work !

Posted

Still doesn't work !

What did the code I gave you return and what were you expecting it to return?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

What did the code I gave you return and what were you expecting it to return?

Error statement:

New AutoIt v3 Script.au3 (1) : ==> Incorrect number of parameters in function call.:
$Checksum = PixelChecksum(100,100,500,500,1,"",1)
$Checksum = ^ ERROR
>Exit code: 1   Time: 0.359
  • Moderators
Posted

You'd only get that error if you were trying to run production, you kind of have to make sure you're going to use a function from Beta, that you actually run it from that Beta (Alt+F7 if you compile, Alt+F5 if you're going to run it from SciTe). :D

The example works fine for me.

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
×
×
  • Create New...