Alexxander Posted September 14, 2013 Share Posted September 14, 2013 hi all im using _ispressed() but i can't find the hex of this button --> ' <-- any ideas ? Link to comment Share on other sites More sharing options...
BrewManNH Posted September 14, 2013 Share Posted September 14, 2013 Try "0xDE" If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Alexxander Posted September 14, 2013 Author Share Posted September 14, 2013 Try "0xDE" it didn't worked for me but thank's anyway Link to comment Share on other sites More sharing options...
EKY32 Posted September 14, 2013 Share Posted September 14, 2013 if you are using _IsPressed then why do you need hex? _IsPressed("C0") gives you the return you want. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
Alexxander Posted September 14, 2013 Author Share Posted September 14, 2013 if you are using _IsPressed then why do you need hex? _IsPressed("C0") gives you the return you want. i don't know what it is called they called it in the help file $sHexKey anyway "c0" is not the key im searching for "c0" is for ` im looking for ' Link to comment Share on other sites More sharing options...
EKY32 Posted September 14, 2013 Share Posted September 14, 2013 (edited) i don't know what it is called they called it in the help file $sHexKey anyway "c0" is not the key im searching for "c0" is for ` im looking for ' ولك يلعن اللي طَرَقك فضحتنا IT IS THE SAME ONE the list of sHexKey is included in the help file. Edited September 14, 2013 by EKY32 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
sahsanu Posted September 14, 2013 Share Posted September 14, 2013 (edited) Try one of the VK_OEM_X, it depends of your keyboard layout what is the right one. VK_OEM_1 0xBA VK_OEM_2 0xBF VK_OEM_3 0xC0 VK_OEM_4 0xDB VK_OEM_5 0xDC VK_OEM_6 0xDD VK_OEM_7 0xDE VK_OEM_8 0xDF In US standard keyboards 0xDE should be the right one... in my Spanish Keyboard it is 0xDB Cheers, sahsanu Edited September 14, 2013 by sahsanu Alexxander 1 Link to comment Share on other sites More sharing options...
Alexxander Posted September 14, 2013 Author Share Posted September 14, 2013 ولك يلعن اللي طَرَقك فضحتنا IT IS THE SAME ONE the list of sHexKey is included in the help file. انت ما بدك تحل عني لا بالفيس ولا هون ؟ no this character ' is not included in the help file Link to comment Share on other sites More sharing options...
Solution DW1 Posted September 15, 2013 Solution Share Posted September 15, 2013 (edited) _IsPressed("DE") EDIT: sahsanu beat me to it Edited September 15, 2013 by danwilli Alexxander 1 AutoIt3 Online Help Link to comment Share on other sites More sharing options...
EKY32 Posted September 15, 2013 Share Posted September 15, 2013 (edited) انت ما بدك تحل عني لا بالفيس ولا هون ؟ no this character ' is not included in the help file Ah yes you got the answer now, <snip> لا ترد على هذا البوست ويصير سياسي أحسن ما يقلعونا ثنيناتنا من المنتدى Edited September 15, 2013 by Melba23 Removed political statement Alexxander 1 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
sahsanu Posted September 15, 2013 Share Posted September 15, 2013 _IsPressed("DE") EDIT: sahsanu beat me to it In fact BrewManNH beat all of us one hour ago , seems Alexxander thought it should use 0xDE literally _IsPressed("0xDE") instead of _IsPressed("DE") Anyway, as I said, it depends of your keyboard layout, for my spanish keyboard 0xDB is the right one _IsPressed("DB") Virtual-Key Codes Cheers, sahsanu Alexxander 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