Ema Posted January 19, 2009 Share Posted January 19, 2009 hi all, i'm a newbie of this great program, anyone can help me? need a program can do 2 job: 1) when ctrl is pressed, it holds pressed ctrl until new ctrl click (transofrm ctrl like "tab") 2) when mouse wheel go 1up send a letter "v" and when mouse wheel go1down send letter "c" i'm doin the program, but don't work and cant' assign ctrl in a hotkey, i don't know what is the problem. Link to comment Share on other sites More sharing options...
azure Posted January 19, 2009 Share Posted January 19, 2009 hi all,i'm a newbie of this great program, anyone can help me?need a program can do 2 job:1) when ctrl is pressed, it holds pressed ctrl until new ctrl click (transofrm ctrl like "tab")2) when mouse wheel go 1up send a letter "v" and when mouse wheel go1down send letter "c"i'm doin the program, but don't work and cant' assign ctrl in a hotkey, i don't know what is the problem.well.. the help file clearly says you can't use hotkeyset to CTRL. You can use _IsPressed with a loop.But _IsPressed doesn't track mouse wheel movement. You'd have to use WM_MOUSEWHEEL message. Not sure how to do that in Autoit.also, check out {CTRLDOWN} and {CTRLUP} Link to comment Share on other sites More sharing options...
Ema Posted January 19, 2009 Author Share Posted January 19, 2009 well.. the help file clearly says you can't use hotkeyset to CTRL. You can use _IsPressed with a loop.But _IsPressed doesn't track mouse wheel movement. You'd have to use WM_MOUSEWHEEL message. Not sure how to do that in Autoit.also, check out {CTRLDOWN} and {CTRLUP}yes, but if i use {CTRLDOWN} in a loop with _ifpressed can't work correctly Link to comment Share on other sites More sharing options...
NerdFencer Posted January 19, 2009 Share Posted January 19, 2009 Here is the solution to your mouse problem...http://www.autoitscript.com/forum/index.ph...mp;#entry482183 _________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell 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