level20peon Posted September 1, 2007 Posted September 1, 2007 Hey guys,I've been working with AutoIT3 for a couple of months and now seem to be really stuck for the first time. I searched the forum for quite some time without being able to develop a working solution.Here is what I'm trying to do:Setting a hotkey on the right mouse-button by using _IsPressed with a script like#include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep (50) If _IsPressed("02", $dll) Then Send("{UP}") ExitLoop EndIf WEnd DllClose($dll)This configuration works like a charm but besides activating the UP-key the right mouse-button also is activated. I would like to send the hotkey only without sending the "original output" of the right mouse button. Is this possible at all ?kind regards-level20peon
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