kiboost 1 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 Share this post Link to post Share on other sites
goldenix 1 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] Share this post Link to post Share on other sites
jvanegmond 306 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 Share this post Link to post Share on other sites
Exit 154 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() Share this post Link to post Share on other sites
kiboost 1 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 Share this post Link to post Share on other sites
dragan 33 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? ) Share this post Link to post Share on other sites