Jump to content

Recommended Posts

Posted

$click = MouseClick("left", 932, 471,1,5)               
    If @error Then
        MsgBox(0,"Error","Script error 1")
    EndIf
        $cord = PixelSearch( 0, 0, 20, 300, 0xEE301C, 10 )
            If @error Then
                MsgBox(0,"Error","Script error 2")
            EndIf

Where I have MouseClick, what is happening is the mouse is being moved to the proper location, but no clicking is happening. (Also, the error message is not being displayed, it is simply moving to the PixelSearch, and continuing the script)

If anyone has any ideas on how to fic this I would greatly appreciate it.

Coder's Helper >> Here[center][/center]

Posted

How do you know there's no click? are you using it on the desktop? try using the RIGHT button instead, so you'll see the context menu.

Posted

I'm using it inside of a game, and it is going to the write place. There would be an OBVIOUS reaction if the click was happening.

The right click did work once, just throwing that out there. Not what I need though.

Coder's Helper >> Here[center][/center]

Posted

I'm using it inside of a game, and it is going to the write place. There would be an OBVIOUS reaction if the click was happening.

The right click did work once, just throwing that out there. Not what I need though.

Maybe try two clicks? One to activate the window and one to actually click... I don't think that sounds right though....
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

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
×
×
  • Create New...