Lemonadez Posted October 7, 2006 Share Posted October 7, 2006 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. Link to comment Share on other sites More sharing options...
Jabberwock Posted October 7, 2006 Share Posted October 7, 2006 (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 October 7, 2006 by Jabberwock Link to comment Share on other sites More sharing options...
AzKay Posted October 7, 2006 Share Posted October 7, 2006 You dont need to DllOpen # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now