forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


New-B back again!! - Pixels and comparisons now

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
kc7aad
Contributor
Contributor


Joined: 09 Oct 2005
Posts: 53
Location: Spokane Washington

PostPosted: Thu Nov 03, 2005 1:09 am    Post subject: New-B back again!! - Pixels and comparisons now Reply with quote

Hello to the group again.. i am now trying to compare a known pixels BBGGRR (which happens to be A4CD5A) to what it actually is. Here is my comparison statement that doesn't work.. any ideas??

Code:
%%PIX = @UG(GETPIXEL,<PROGRAM>,815,718)
IF @EQUAL(A4CD5A,%%PIX)
rem Also tried above line as IF @EQUAL(A4CD5A,@UG(GETPIXEL,<PROGRAM>,815,718),  with no better luck!!
WARN OK
END
ELSE
WARN SOMETHING HAPPENED
END
DIALOG SET,STATUS1,%%PIX
GOTO EVLOOP


When this event gets done, it just goes back to the evloop, and runs it ever 4 seconds as I have it set.
Any ideas?? It's probably a syntax error on my part, but i have been malling this over for a few hours now, and have torn the rest of my hair out!!


Also.. I am running VDS5 (in WinXPPro)..

Thanks again!!
Rod
Back to top
View user's profile Send private message Yahoo Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Thu Nov 03, 2005 1:30 am    Post subject: Re: New-B back again!! - Pixels and comparisons now Reply with quote

Try this:

Code:
%%PIX = @UG(GETPIXEL,<PROGRAM>,815,718)
IF @EQUAL(A4CD5A,%%PIX)
rem Also tried above line as IF @EQUAL(A4CD5A,@UG(GETPIXEL,<PROGRAM>,815,718),  with no better luck!!
WARN OK
ELSE
WARN SOMETHING HAPPENED
END
DIALOG SET,STATUS1,%%PIX
GOTO EVLOOP

_________________
cheers

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group