Jump to content
Sign in to follow this  

NOT equal to

Recommended Posts

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. :lmao:

This is not where you put NOT. Is it?

If $var = 4849664 NOT

Share this post

Link to post
Share on other sites

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


I tested it, and it worked. :lmao:


I don't think that will work. But,...

$var = 0
$var1 =1 
While 1
    If Not $var Then Beep()
    If $var <> $var1 Then Beep(450,100)

will work.

So long,


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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...