sumkid Posted December 17, 2007 Share Posted December 17, 2007 where can i find a list of Hex Keys for use of the _IsPressed function? -Thanks in advance Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 17, 2007 Moderators Share Posted December 17, 2007 http://msdn2.microsoft.com/en-us/library/ms645540.aspx Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
sumkid Posted December 17, 2007 Author Share Posted December 17, 2007 thanks! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 17, 2007 Moderators Share Posted December 17, 2007 thanks!Welcome... don't know why they aren't in there, haven't read up on it changing if it had, so there may be a reason:CODE 01 Left mouse button 02 Right mouse button 04 Middle mouse button (three-button mouse) 05 Windows 2000/XP: X1 mouse button 06 Windows 2000/XP: X2 mouse button 08 BACKSPACE key 09 TAB key 0C CLEAR key 0D ENTER key 10 SHIFT key 11 CTRL key 12 ALT key 13 PAUSE key 14 CAPS LOCK key 1B ESC key 20 SPACEBAR 21 PAGE UP key 22 PAGE DOWN key 23 END key 24 HOME key 25 LEFT ARROW key 26 UP ARROW key 27 RIGHT ARROW key 28 DOWN ARROW key 29 SELECT key 2A PRINT key 2B EXECUTE key 2C PRINT SCREEN key 2D INS key 2E DEL key 30 0 key 31 1 key 32 2 key 33 3 key 34 4 key 35 5 key 36 6 key 37 7 key 38 8 key 39 9 key 41 A key 42 B key 43 C key 44 D key 45 E key 46 F key 47 G key 48 H key 49 I key 4A J key 4B K key 4C L key 4D M key 4E N key 4F O key 50 P key 51 Q key 52 R key 53 S key 54 T key 55 U key 56 V key 57 W key 58 X key 59 Y key 5A Z key 5B Left Windows key 5C Right Windows key 60 Numeric keypad 0 key 61 Numeric keypad 1 key 62 Numeric keypad 2 key 63 Numeric keypad 3 key 64 Numeric keypad 4 key 65 Numeric keypad 5 key 66 Numeric keypad 6 key 67 Numeric keypad 7 key 68 Numeric keypad 8 key 69 Numeric keypad 9 key 6A Multiply key 6B Add key 6C Separator key 6D Subtract key 6E Decimal key 6F Divide key 70 F1 key 71 F2 key 72 F3 key 73 F4 key 74 F5 key 75 F6 key 76 F7 key 77 F8 key 78 F9 key 79 F10 key 7A F11 key 7B F12 key 7C-7F F13 key - F16 key 80H-87H F17 key - F24 key 90 NUM LOCK key 91 SCROLL LOCK key A0 Left SHIFT key A1 Right SHIFT key A2 Left CONTROL key A3 Right CONTROL key A4 Left MENU key A5 Right MENU keyMods/Devs feel free to remove if it was removed for a reason. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
smashly Posted December 17, 2007 Share Posted December 17, 2007 Hi, some more keys..BA; BB = BC , BD - BE . BF / C0 ` DB [ DC \ DD ] Link to comment Share on other sites More sharing options...
ptrex Posted December 17, 2007 Share Posted December 17, 2007 @all Last time I looked they where still in the HELP file. Open the Helpfile and go to APPENDIX -> ASCII Characters regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
GaryFrost Posted December 17, 2007 Share Posted December 17, 2007 http://www.autoitscript.com/forum/index.ph...mp;#entry443906 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
smashly Posted December 17, 2007 Share Posted December 17, 2007 @allLast time I looked they where still in the HELP file.Open the Helpfile and go to APPENDIX -> ASCII Characters regardsptrexLast time I tried using the hex values from APPENDIX -> ASCII Characters with _IsPressed the values didn't work..What was I doing wrong ? Link to comment Share on other sites More sharing options...
GaryFrost Posted December 17, 2007 Share Posted December 17, 2007 Last time I tried using the hex values from APPENDIX -> ASCII Characters with _IsPressed the values didn't work..What was I doing wrong ?ASCII characters and Virtual Keys are different. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
atomman Posted December 19, 2007 Share Posted December 19, 2007 (0D) (zero, dee) - ENTER key - returns a syntax error in console. Link to comment Share on other sites More sharing options...
Nevin Posted December 19, 2007 Share Posted December 19, 2007 Well that would be an error in your syntax look at mine: #include <misc.au3> while 1 if _Ispressed("0D") Then msgbox(0,"uhh","It works fine") EndIf WEnd Link to comment Share on other sites More sharing options...
atomman Posted December 19, 2007 Share Posted December 19, 2007 ah, sure is. some don't need quotes, others do. Link to comment Share on other sites More sharing options...
DarkKnight Posted December 21, 2007 Share Posted December 21, 2007 I need the code of "Mouse Wheel Up" and "Mouse Wheel Down" anyone have it Link to comment Share on other sites More sharing options...
ReaImDown Posted January 31, 2008 Share Posted January 31, 2008 CODE 5B Left Windows key 5C Right Windows key 60 Numeric keypad 0 key 61 Numeric keypad 1 key 62 Numeric keypad 2 key 63 Numeric keypad 3 key 64 Numeric keypad 4 key 65 Numeric keypad 5 key 66 Numeric keypad 6 key 67 Numeric keypad 7 key 68 Numeric keypad 8 key 69 Numeric keypad 9 key which should I follow? this or the helpfile? both give different descriptions Helpfile CODE 5B [ 5C \ 60 ' 61 a 62 b 63 c 64 d 65 e 66 f 67 g 68 h 69 i [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u] Link to comment Share on other sites More sharing options...
smashly Posted January 31, 2008 Share Posted January 31, 2008 The quoted SmOke_N keys are correct... Easy way to see what a key value is run this from scite and watch the console when pressing keys#include <Misc.au3> While 1 Sleep(50) For $i = 1 To 255 If _IsPressed(Hex($i, 2)) Then ConsoleWrite(Hex($i,2) & @LF) Next WEnd Fr33b0w 1 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