Psychokinesis Posted October 10, 2006 Share Posted October 10, 2006 Right now, i'm trying to make my macro to do something if a certain pixel is NOT a certain color. The only problem I have trying to program this is that I can't figure out the not equal part. The AutoIt Help file doesn't help. This is not where you put NOT. Is it? If $var = 4849664 NOT Link to comment Share on other sites More sharing options...
Valuater Posted October 10, 2006 Share Posted October 10, 2006 If $var <> 4849664 8) Link to comment Share on other sites More sharing options...
Psychokinesis Posted October 10, 2006 Author Share Posted October 10, 2006 Oh thanks. I'll try that out. Right after I posted this this was what I did. while 0 = 0 If 0 = 1 NOT Then Beep WEnd I tested it, and it worked. Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 10, 2006 Share Posted October 10, 2006 Oh thanks. I'll try that out. Right after I posted this this was what I did. while 0 = 0 If 0 = 1 NOT Then Beep WEnd I tested it, and it worked. Hi, I don't think that will work. But,... $var = 0 $var1 =1 While 1 If Not $var Then Beep() Sleep(500) If $var <> $var1 Then Beep(450,100) WEnd will work. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now