orlanth Posted October 25, 2011 Share Posted October 25, 2011 Hi everybody, i have this problem since one year and i searched on several forum and no answers. i use an autoit script with many shortkey like if i push f5 i launch the shortkey alt and b. and i have shortkey with ctrl or shift too. and after several minutes i see crtl or alt or shift like push down (i see that on visual keyboard) and if it is a alt problem i must push alt to resolve. to make a shortkey i use hotsetkey and send("!{b}") my os is window seven Link to comment Share on other sites More sharing options...
DesireDenied Posted October 25, 2011 Share Posted October 25, 2011 I got same problem since long time ago, solution is to use _IsPressed() UDF if there is a need to mix alt, ctrl, or shift keys. If (_IsPressed("01") And _IsPressed("02")) Then ... Link to comment Share on other sites More sharing options...
orlanth Posted October 25, 2011 Author Share Posted October 25, 2011 ok thx i will convert my script change all send() with a alt, shift or crtl by _Ispressed therefore? Link to comment Share on other sites More sharing options...
DesireDenied Posted October 25, 2011 Share Posted October 25, 2011 ; use this form like you see below instead of Send("!{b}") Send("{ALT DOWN}b{ALT UP}") Link to comment Share on other sites More sharing options...
orlanth Posted October 25, 2011 Author Share Posted October 25, 2011 ah i will try that this evening and give my feed back Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 25, 2011 Share Posted October 25, 2011 Hi and Welcome to the forum! I believe you have the problem describe in the FAQ under Why does the Ctrl key get stuck down after I run my script?, you should look at that. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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