Jump to content

hotkeyset ~


goldenix
 Share

Recommended Posts

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
Edited 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]
Link to comment
Share on other sites

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 by APPLEEATER
Link to comment
Share on other sites

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]
Link to comment
Share on other sites

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
If 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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ˇˇ

Edited 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]
Link to comment
Share on other sites

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

Link to comment
Share on other sites

ˇ 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]
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...