kiboost Posted July 26, 2011 Share Posted July 26, 2011 (edited) Hi, Is there a way to use "<" key (the inferior key, on the left of space bar) with _ispressed function ? Can't find it in the list http://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm Even better would be using windows key (5B) but in a way that it doesn't open windows start menu if pressed with another button (middle mouse button). It would popup a gui, but not open start menu thks Edited July 26, 2011 by kiboost Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 Link to comment Share on other sites More sharing options...
goldenix Posted July 26, 2011 Share Posted July 26, 2011 (edited) just a thought, same thing as is pressed. make a hotkey "<" then make a function: hotkeyset('<','_myfunc') func _myfunc() send('<') ;do something hire endfunc Edited July 26, 2011 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
jvanegmond Posted July 26, 2011 Share Posted July 26, 2011 What do you type when you want to make a < character? I press SHIFT+, , is in the list as "BC ," ... Maybe combine BC with left shift ("A0") or maybe "BC" is enough. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Exit Posted July 26, 2011 Share Posted July 26, 2011 just a thought, same thing as is pressed. make a hotkey "<" then make a function: hotkeyset('<','_myfunc') func _myfunc() send('<') ;do something hire endfunc This would give a infinite loop. hotkeyset('<','_myfunc') func _myfunc() hotkeyset('<') send('<') ;do something here hotkeyset('<','_myfunc') endfunc would be better. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
kiboost Posted July 26, 2011 Author Share Posted July 26, 2011 I've found with another script that "<" is key 226. So If _IsPressed(Hex(226)) = 1 And _IsPressed('04') = 1 Then this works Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 Link to comment Share on other sites More sharing options...
dragan Posted July 26, 2011 Share Posted July 26, 2011 I've found with another script that "<" is key 226.So If _IsPressed(Hex(226)) = 1 And _IsPressed('04') = 1 Thenthis works might fail if different keyboard layout (right? ) 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