Sign in to follow this  
Followers 0
tanh_alpha

PixelCheckSum in Excel

2 posts in this topic

I'm writing an Excel macro using AutoItX COM. However, I'm having trouble with a PixelCheckSum :

TEMP=oAutoIt.PixelCheckSum(275, 230, 500, 255)

(oAutoIt is the "AutoItX3.control" object that I declared earlier.)

Usually, TEMP picks up a positive value, but on some occasions, TEMP gets returned with a negative value.

I tried declaring TEMP to be a long datatype, but that doesn't help. I tried putting in a long sleep statement before and after the above statement, but that doesn't work either.

Could it be that PixelCheckSum is returning an error code (time-out or something)? Anyone with any hunch what's happening? Or maybe suggestions to troubleshoot further?

Thanks in advance!

Share this post


Link to post
Share on other sites



I'm writing an Excel macro using AutoItX COM. However, I'm having trouble with a PixelCheckSum :

TEMP=oAutoIt.PixelCheckSum(275, 230, 500, 255)

(oAutoIt is the "AutoItX3.control" object that I declared earlier.)

Usually, TEMP picks up a positive value, but on some occasions, TEMP gets returned with a negative value.

I tried declaring TEMP to be a long datatype, but that doesn't help. I tried putting in a long sleep statement before and after the above statement, but that doesn't work either.

Could it be that PixelCheckSum is returning an error code (time-out or something)? Anyone with any hunch what's happening? Or maybe suggestions to troubleshoot further?

Thanks in advance!

my first suggestion would be to post your code, then we could try to duplicate the issue and work from there.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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