Adele Posted September 21, 2014 Share Posted September 21, 2014 (edited) Hello all. Non-English characters need for my developing program with AutoIt. I've looked everywhere and haven't found. For example: "İ" and "Ş" character. How can I find key code of these characters? Thank you in advance. For example, It writes English characters in here: msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx Edited September 22, 2014 by sanaldosya Link to comment Share on other sites More sharing options...
jchd Posted September 21, 2014 Share Posted September 21, 2014 charmap.exe in Unicode mode? Adele 1 This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Adele Posted September 21, 2014 Author Share Posted September 21, 2014 (edited) Yes, They seem associated but I haven't understood the relationship in between of these. For example, If I need use "İ" character's key code, what should I do? When I've tried that, "İ" character hasn't been sent. DllCall('user32.dll', 'int', 'keybd_event', 'int', 0x0130, 'int', 0, 'int', 0, 'ptr', 0) DllCall('user32.dll', 'int', 'keybd_event', 'int', 0x0130, 'int', 0, 'int', 2, 'ptr', 0) Edited September 21, 2014 by sanaldosya Link to comment Share on other sites More sharing options...
Exit Posted September 21, 2014 Share Posted September 21, 2014 Convert 0X0130 to decimal ==> 304 and then hold down LEFT ALT Key and enter 0304 on the numeric keypad. Then release the ALT key. What Keyboard are you using? App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
jchd Posted September 21, 2014 Share Posted September 21, 2014 What you want to do wasn't clear. Why not simply use Send or better yet, ControlSend? Send("İıŞş") This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Adele Posted September 21, 2014 Author Share Posted September 21, 2014 Convert 0X0130 to decimal ==> 304 and then hold down LEFT ALT Key and enter 0304 on the numeric keypad. Then release the ALT key. What Keyboard are you using? Turkish Q keyboard. What you want to do wasn't clear. Why not simply use Send or better yet, ControlSend? Send("İıŞş") I want to add Turkish characters to BlockInputEx UDF. '?do=embed' frameborder='0' data-embedContent>> This UDF runs with key codes. You can look to _KeyCodes.au3 file. Link to comment Share on other sites More sharing options...
Adele Posted September 22, 2014 Author Share Posted September 22, 2014 I still need help. Link to comment Share on other sites More sharing options...
jdelaney Posted September 22, 2014 Share Posted September 22, 2014 http://lmgtfy.com/?q=character+codes IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Adele Posted September 22, 2014 Author Share Posted September 22, 2014 (edited) http://lmgtfy.com/?q=character+codes I need key codes, not character codes. Please read the topic. Edited September 22, 2014 by sanaldosya Link to comment Share on other sites More sharing options...
jdelaney Posted September 22, 2014 Share Posted September 22, 2014 lol: http://lmgtfy.com/?q=key+codes IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
j0kky Posted September 22, 2014 Share Posted September 22, 2014 VkKeyScanEx is your function Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs Link to comment Share on other sites More sharing options...
Adele Posted September 22, 2014 Author Share Posted September 22, 2014 (edited) lol: http://lmgtfy.com/?q=key+codes I search key codes of Turkish characters. I couldn't find nowhere. Thank you but I know searching on Google. Please read the posts again. VkKeyScanEx is your function I'm sorry but I don't know C++. Edited September 22, 2014 by sanaldosya Link to comment Share on other sites More sharing options...
Scrappy53 Posted September 22, 2014 Share Posted September 22, 2014 I have this problem too. Link to comment Share on other sites More sharing options...
Gianni Posted September 22, 2014 Share Posted September 22, 2014 maybe >this link could interest you Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
j0kky Posted September 22, 2014 Share Posted September 22, 2014 (edited) I'm sorry but I don't know C++. Here it is: #include <WinAPISys.au3> #include <WinAPILocale.au3> $char = "8" Global Const $User32 = DllOpen("User32.dll") $dwhkl = _WinAPI_LoadKeyboardLayout(_WinAPI_GetSystemDefaultLCID()) $result = Hex(_User32_VkKeyScanEx(StringToBinary($char, 4), $dwhkl)) MsgBox(0,"KeyCode",$result) DllClose($User32) func _User32_VkKeyScanEx($ich, $idwhkl) local $vRetVal = DllCall($User32,"short","VkKeyScanExW","short",$ich,"hwnd",$idwhkl) return _WinAPI_LoWord($vRetVal[0]) EndFunc Edited September 23, 2014 by j0kky Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs 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