broodplank Posted October 8, 2006 Share Posted October 8, 2006 i need to block keys for my screensaver i already have this blocked HotKeySet("!{TAB}", "fix") Func fix() sleep(1) EndFunc; fix While 1 Opt("GUICloseOnESC", 0) ProcessClose("taskmgr.exe") wend afc this blocks alt+tab, escape and control+alt+delete, but i still need to block: control + esc and win key what i did and didn't worked: hotkeyset("^{esc}", "fix") & hotkeyset("#", "fix") pls help i only need to block that 2 keys Link to comment Share on other sites More sharing options...
Paulie Posted October 8, 2006 Share Posted October 8, 2006 (edited) i need to block keys for my screensaveri already have this blockedafc this blocks alt+tab, escape and control+alt+delete, but i still need to block: control + esc and win keywhat i did and didn't worked:pls help i only need to block that 2 keysWhy do you need to block Ctrl+Alt+Delete/alt+tab/escape/ctrl + esc/win for a screen saver? Edited October 8, 2006 by Paulie Link to comment Share on other sites More sharing options...
jvanegmond Posted October 8, 2006 Share Posted October 8, 2006 This is plain bs. The helpfile says: You cannot use the modifier keys as a hotkey, as they are modifiers. So you cannot block the hash key. It also gives you a list of hotkeys that windows doesn't allow to be hotkeyed. Like Ctrl + Esc, Ctrl+alt+del. And please, don't tell me you can block Ctrl+Alt+Del. Because I know I am going to win that discussion. github.com/jvanegmond Link to comment Share on other sites More sharing options...
broodplank Posted October 8, 2006 Author Share Posted October 8, 2006 (edited) i know you can't but ProcessClose("taskmgr.exe") does the job.. @paulie, cuz its a screensaver when you move the mouse you need to enter a password Edited October 8, 2006 by broodplank Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 8, 2006 Moderators Share Posted October 8, 2006 What if your task manager isn't 'taskmgr.exe'? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
jvanegmond Posted October 8, 2006 Share Posted October 8, 2006 I think that this might help you: http://www.autoitscript.com/forum/index.php?showtopic=34163I've managed to pretty much stop all attempts at getting passed my system. github.com/jvanegmond Link to comment Share on other sites More sharing options...
=sinister= Posted October 8, 2006 Share Posted October 8, 2006 This is plain bs. The helpfile says: You cannot use the modifier keys as a hotkey, as they are modifiers. So you cannot block the hash key. It also gives you a list of hotkeys that windows doesn't allow to be hotkeyed. Like Ctrl + Esc, Ctrl+alt+del.And please, don't tell me you can block Ctrl+Alt+Del. Because I know I am going to win that discussion.http://www.autoitscript.com/forum/index.ph...31&hl=block Link to comment Share on other sites More sharing options...
jvanegmond Posted October 8, 2006 Share Posted October 8, 2006 (edited) http://www.autoitscript.com/forum/index.ph...31&hl=blockAre you referring to my victory on the discussion of blocking Ctrl Alt Del?If not, read the topic before you copy paste links! Edited October 8, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
=sinister= Posted October 9, 2006 Share Posted October 9, 2006 lol, thats funny. I tried his script, and it worked. It worked so well, I had to restart my computer to get rid of the program, lol! Link to comment Share on other sites More sharing options...
lopolop Posted October 9, 2006 Share Posted October 9, 2006 lol me 2... I tried to stop it but ehh... Link to comment Share on other sites More sharing options...
cdm_Death Posted October 9, 2006 Share Posted October 9, 2006 assighn the keys u need to be blocked to some bs function hotkey... so if u do enter the keys... it will just sleep 100 also ctrl alt del cannot be blocked, ever, so dont do it... unless u manually go into bios and change them... but even then your just switching the keys... try removing them entirly? flathead scredriver... GFG Link to comment Share on other sites More sharing options...
jvanegmond Posted October 9, 2006 Share Posted October 9, 2006 assighn the keys u need to be blocked to some bs function hotkey...so if u do enter the keys... it will just sleep 100also ctrl alt del cannot be blocked, ever, so dont do it... unless u manually go into bios and change them... but even then your just switching the keys... try removing them entirly?flathead scredriver... GFGRead the topic posted above carefuly and you'll find that Ctrl + Alt + Del keys are hardcoded into your keyboard. So, where you think windows is receiving je Ctrl and the Alt and the Del key, it is actually just receiving a special C_A_D command. So going into the bios and removing those keys will not do you any good ^^. github.com/jvanegmond Link to comment Share on other sites More sharing options...
=sinister= Posted October 9, 2006 Share Posted October 9, 2006 Read the topic posted above carefuly and you'll find that Ctrl + Alt + Del keys are hardcoded into your keyboard. So, where you think windows is receiving je Ctrl and the Alt and the Del key, it is actually just receiving a special C_A_D command. So going into the bios and removing those keys will not do you any good ^^.And thats how virus's are made ^^ 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