Jump to content

[Help] Send Function not working


Recommended Posts

hi guys i've been trying to learn how to use pixels to my advantage but i've come across something that i do not understand.

Here is my script:

AutoItSetOption("PixelCoordMode", "2")
AutoItSetOption("MouseCoordMode", "2")

While 1
    $test = PixelGetColor(408, 453)
    $test1 = PixelGetColor(703, 264)
    If $test == 0x885544 Then
        sleep(3000)
        MouseClick("Left", 509, 298, 1)
    ElseIF $test1 == 0xFFCC11 Then
        Sleep(5000)
        Send("z")
        Sleep(2000)
        Send("{TAB}")
        Sleep(1000)
        Send("z")
        Sleep(1000)
        Send("{ENTER}")
    EndIf
WEnd

every works fine, the mouseclicks clicks where its intended BUT the Send Functions arent working...or shall i say only the send functions with "z" isn't working, the {TAB} and {ENTER} seems to be working fine. why?

Link to comment
Share on other sites

Oh, that's my favorite browser :)

Sending "z" to Firefox works fine for me.

Maybe you're using a particular website or some specific flash application? Give more specific details, maybe I can do some testing and better help you ;)

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