goldenix Posted September 14, 2008 Posted September 14, 2008 (edited) Hiya.the button under ESC ~ How?By using this au3 file I found out thet the $MsgID = 3633http://www.filesend.net/download.php?f=05c...74b7d1347a34780I cant use the mousehook code to do it because if I press couple times this button this what happens: Any ideas?If $MsgID = 3633 then ConsoleWrite('Bingo' & @CRLF)RESULT:Bingo ˇˇBingo Bingo ˇˇBingo Edited September 14, 2008 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]
APPLEEATER Posted September 14, 2008 Posted September 14, 2008 (edited) Hiya. the button under ESC ~ How? By using this au3 file I found out thet the $MsgID = 3633 http://www.filesend.net/download.php?f=05c...74b7d1347a34780 I cant use the mousehook code to do it because if I press couple times this button this what happens: Any ideas? If $MsgID = 3633 then ConsoleWrite('Bingo' & @CRLF) RESULT: Bingo ˇˇBingo Bingo ˇˇBingo So does this work for you? Hotkeyset("{ASC 126}", "cwrite") While 1 Sleep(100) WEnd Func cwrite() ConsoleWrite('Bingo' & @CRLF) EndFunc I'm not really shure what key you want to use tho, ` or ~ use "{ASC 096}" for ` and "{ASC 126}" for ~ I didn't have time to test it :S Edited September 14, 2008 by APPLEEATER
goldenix Posted September 14, 2008 Author Posted September 14, 2008 I want to use ` key This does not work: ;~ HotKeySet("{ASC 126}", "test") HotKeySet("{ASC 096}", "test") Func test() ConsoleWrite('Bingo' & @CRLF) EndFunc While 1 Sleep(100) WEnd 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]
trancexx Posted September 14, 2008 Posted September 14, 2008 I want to use ` key This does not work: ;~ HotKeySet("{ASC 126}", "test") HotKeySet("{ASC 096}", "test") Func test() ConsoleWrite('Bingo' & @CRLF) EndFunc While 1 Sleep(100) WEndIf you are referring to grave accent then this could help: Hotkeyset(Chr(96), "cwrite") Position of that mark may not be where you describe it (that's US keyboard layout). ♡♡♡ . eMyvnE
Bowmore Posted September 14, 2008 Posted September 14, 2008 I want to use ` key This does not work: ;~ HotKeySet("{ASC 126}", "test") HotKeySet("{ASC 096}", "test") Func test() ConsoleWrite('Bingo' & @CRLF) EndFunc While 1 Sleep(100) WEndoÝ÷ Ûú®¢×+0¢¹,~æy«¢+Øíø!½Ñ-åMÐ ÅÕ½ÐíøÅÕ½Ðì°ÅÕ½ÐíÑÍÐÅÕ½Ðì¤)!½Ñ-åMÐ ÅÕ½ÐìäØìÅÕ½Ðì°ÅÕ½ÐíÑÍÐÅÕ½Ðì¤)Õ¹ÑÍÐ ¤( ½¹Í½±]É¥Ñ Ìäí ¥¹¼ÌäìµÀì I1¤)¹Õ¹()]¡¥±Ä(M±À ÄÀÀ¤)]¹ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook
goldenix Posted September 14, 2008 Author Posted September 14, 2008 (edited) HotKeySet("{ASC 096}", "test") HotKeySet(Chr(96), "test") HotKeySet("`", "test") HotKeySet("ˇ", "test") HotKeySet("ˇˇ", "test")None of this worksIf i press the button twice this is what it types ˇˇ Edited September 14, 2008 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]
trancexx Posted September 14, 2008 Posted September 14, 2008 HotKeySet("{ASC 096}", "test") HotKeySet(Chr(96), "test") HotKeySet("`", "test") HotKeySet("ˇ", "test") HotKeySet("ˇˇ", "test") None of this works If i press the button twice this is what it types ˇˇMain problem is that you don't know what is that character. Start With Chr(1) and then Chr(2)... and if you don't find it by the time you reach Chr(255) you will never find it. ♡♡♡ . eMyvnE
goldenix Posted September 14, 2008 Author Posted September 14, 2008 ˇ is not in the ascii table. is there any other way to identify keyboard buttons & make Hotkeys out of them?http://home.earthlink.net/~joseph-ja/table.html 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]
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