Jump to content

Recommended Posts

Posted

How can you implement the right click mouse with F1 and F2 button at the same time?

Like If I click right click mouse. It will also click F1 and F2 at the same time. *Right click must work tho* I can do it, but the right click doesnt work at all. It only press F1 and F2.

Example of game:

F1 | F2 | F3 | Left Click | Right Click|

I have skill on F1 and F2 and Right Click

Now when I press the right click, It only press the F1 and F2. so the right click skill doesnt work at all.

Posted (edited)

Use _IsPressed

ex.

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    If _IsPressed("01", $dll) Then
Send("{F1}")
    EndIf
WEnd
DllClose($dll)oÝ÷ Ù: zÛay»­¶çºfÞ­ú+ÊkzËv붬jëh×6#include <misc.au3>
While 1
    sleep(10)
    For $i = 0 to 255
        if (_IsPressed(Hex($i))) Then
            MsgBox(0, "", "You pressed the: " & ($i) & " Key!")
        EndIf
    Next
WEnd
Edited by Jabberwock

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