Jump to content

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

Link to comment
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

WEnd

I tested it, and it worked. :lmao:

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...