Shao Posted November 27, 2005 Share Posted November 27, 2005 Hello, I'd like to block only functions keys of a keyboard so only characters are working. How to do that ? Thank you Link to comment Share on other sites More sharing options...
w0uter Posted November 27, 2005 Share Posted November 27, 2005 you could try HotKeySetting them. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Shao Posted November 27, 2005 Author Share Posted November 27, 2005 Thank you but I wanted blocking any hotkeys and let character keys work to let users of my programm write in a textfield without possibility of making appear "start menu" or "task bar". Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 28, 2005 Share Posted November 28, 2005 for blocking the win-button try hotkeyset("{lwin}", "a") func a() endfunc ok this is very basic and i don't know if this works for the win-button, but it should my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
peter1234 Posted November 28, 2005 Share Posted November 28, 2005 @Nuffilein805: Seems like Windows key can not be blocked. This does not work. #include <GUIConstants.au3> HotKeySet("{LWIN}", "a") func a() SoundPlay(@WindowsDir & "\media\Windows XP Ding.wav",1) MsgBox(4096,"","This is a message.") endfunc While 1 Sleep(100) WEnd Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 28, 2005 Share Posted November 28, 2005 ok, you're rightthose cannot be "blocked"Ctrl+Alt+Delete It is reserved by Windows F12 It is also reserved by Windows, according to its API. NumPad's Enter Key Instead, use {Enter} which captures both Enter keys on the keyboard. Win+B,D,E,F,L,M,R,U; and Win+Shift+M These are built-in Windows shortcuts. Note: Win+B and Win+L might only be reserved on Windows XP and above. Alt, Ctrl, Shift, Win These are the modifier keys themselves! Other Any global hotkeys a user has defined using third-party software, any combos of two or more "base keys" such as '{F1}{F2}', and any keys of the form '{LALT}' or '{ALTDOWN}'. my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Shao Posted November 28, 2005 Author Share Posted November 28, 2005 Thank your for answering. I knew that some keys are reserved by the OS but I just wanted that the start menu and the task bar can't appear above my programm [splashtexton configured to be above every other windows but it has no priority on future windows opening] Link to comment Share on other sites More sharing options...
LxP Posted November 28, 2005 Share Posted November 28, 2005 I'm not sure if this will help but perhaps you could run it as a separate script: Opt('WinWaitDelay', 0) Local Const $Title = 'Title of window to keep focussed' While WinExists($Title) WinActivate($Title) WinWaitNotActive($Title) WEnd Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 28, 2005 Share Posted November 28, 2005 you could try while 1 if winactive ("StartMenu", "") then winkill ("StartMenu") endif wend this kills the startmenu - maybe its spelled different, just got a german win-version my little chatmy little encryption toolmy little hidermy unsafe clickbot 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